Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to create an ASGI server for python FastAPI[ASGI] ? #1156

Open
boludoz opened this issue Oct 24, 2024 · 2 comments
Open

Is it possible to create an ASGI server for python FastAPI[ASGI] ? #1156

boludoz opened this issue Oct 24, 2024 · 2 comments

Comments

@boludoz
Copy link

boludoz commented Oct 24, 2024

Would it be possible to call this server through an SO/DLL interface?

@fakeshadow
Copy link
Collaborator

fakeshadow commented Oct 24, 2024

You can compile the project as dynamic linked library but there is no effort into testing what the library is capable of when doing so.
You can reference docs on this matter

@fakeshadow
Copy link
Collaborator

As an alternative you can look into pyo3. You can wrap xitca-web with it into a new crate and compile it to a dynamic library where python can import and use it easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants