PyNest

screenshot of PyNest

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

Overview

PyNest is an API framework for Python developers, providing an intuitive and enjoyable way to structure APIs. It offers features like dependency injection, decorators, and code generation to help developers write scalable and maintainable code. It is not a direct port of NestJS but a re-imagining of the framework tailored for Python developers, including backend and ML engineers.

Features

  • Modular Architecture: Follows NestJS's modular architecture for easy code organization.
  • Dependency Injection: Supports dependency injection for managing dependencies and writing testable code.
  • Type Annotations: Allows the use of type annotations for enhancing code readability.
  • Decorators: Provides decorators for defining routes and other application components.
  • Code Generation: Enables the generation of boilerplate code for new modules.
  • CLI Tool: Offers a Command Line Interface for various project and resource management tasks.