Skip to main content

A lightweight Python backend framework with decorators, DI, middlewares, guards, and auto Swagger docs — all in pure Python.

Project description

Pure Framework

Pure Python backend framework inspired by NestJS & FastAPI.

  • No external dependencies
  • Decorator-based routing
  • Nested controllers
  • Middleware & Guards
  • Swagger documentation

Installation

pip install pure-framework

Quick Start

from pure_framework import App, Request, Response, route

app = App()

@route("/hello")
def hello(req: Request, res: Response):
    res.json({"message": "Hello World"})

app.listen(host="127.0.0.1", port=8000)

Navigate to http://127.0.0.1:8000/docs to see Swagger docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pure_framework-0.0.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pure_framework-0.0.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pure_framework-0.0.2.tar.gz.

File metadata

  • Download URL: pure_framework-0.0.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pure_framework-0.0.2.tar.gz
Algorithm Hash digest
SHA256 25f3513544bb3e60855250ac72aca5a3211da485f521df4085bb63d89fd79ef3
MD5 be9631d2114d6547f1beaa94a723710e
BLAKE2b-256 65334e7c798f5e1f9d7683cf45604be2e7a6ac3b7c5080fcce0d45060a0db038

See more details on using hashes here.

File details

Details for the file pure_framework-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pure_framework-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pure_framework-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d31ab14b224e3ad52239afafbd2c6506215dd913e3fb0d6ba990cecab03fea6
MD5 0e7c93ae5c787cdeb43479a7622fc3d4
BLAKE2b-256 484830bd7e23abf784b3ad841c9c87b6f3428cfdbe42f561bef394fd54c01389

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page