# PyNest

PyNest is a Python framework built on top of FastAPI that follows the modular architecture of NestJS

Canonical page: https://www.reposhelf.co.uk/projects/github/pythonnest/pynest.html

- Project ID: PythonNest/PyNest
- Source: GitHub
- Original project: https://github.com/PythonNest/PyNest
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Python
- Licence: MIT
- Repository availability checked: 2026-11-05T00:06:21.237Z
- Demo page loaded: 2026-11-20T19:31:20.231Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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.

## Author-documented requirements and 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.

Source: https://github.com/PythonNest/PyNest/blob/main/README.md

Extraction checked: 2026-11-05T00:06:21.386Z

Last recorded source update: 2026-10-17T06:02:25.000Z

Saved release: v0.6.2 — 2026-05-28T08:23:15.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=PythonNest%2FPyNest). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
