PyNest
PythonNest/PyNest · Public GitHub repository
PyNest is a Python framework built on top of FastAPI that follows the modular architecture of NestJS
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
PyNest is designed to help structure your APIs in an intuitive, easy to understand, and enjoyable way.
With PyNest, you can build scalable and maintainable APIs with ease. The framework supports dependency injection, type annotations, decorators, and code generation, making it easy to write clean and testable code.
This framework is not a direct port of NestJS to Python but rather a re-imagining of the framework specifically for Python developers, including backend engineers and ML engineers. It aims to assist them in building better and faster APIs for their data applications.
- PyNest follows the modular architecture of NestJS, which allows for easy separation of concerns and code organization. Each module contains a collection of related controllers, services, and providers.
- PyNest supports dependency injection, which makes it easy to manage dependencies and write testable code. You can easily inject services and providers into your controllers using decorators.
- PyNest supports native FastAPI WebSocket gateways for real-time APIs. Gateways are registered as providers, participate in dependency injection, and can use event handlers, lifecycle hooks, guards, rooms, and token…
- PyNest makes extensive use of decorators to define routes, middleware, and other application components. This helps keep the code concise and easy to read.
- PyNest leverages Python's type annotations to provide better tooling and help prevent errors. You can annotate your controllers, services, and providers with types to make your code more robust.
Requirements and intended audience
PyNest is designed to help structure your APIs in an intuitive, easy to understand, and enjoyable way.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-11-05. Source: https://github.com/PythonNest/PyNest/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-10-17. Saved release: v0.6.2 · 2026-05-28. These dates do not guarantee ongoing maintenance.
- Technologies
- Python
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-20. This does not test every feature.
Browse related categories
More projects to explore
awesome-selfhosted
awesome-selfhosted/awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
awesome-go
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
NextChat
ChatGPTNextWeb/NextChat
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
vue-element-admin
PanJiaChen/vue-element-admin
A magical vue admin https://panjiachen.github.io/vue-element-admin