Skip to main content

A small example package

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.1.tar.gz (6.6 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.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pure_framework-0.0.1.tar.gz
  • Upload date:
  • Size: 6.6 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.1.tar.gz
Algorithm Hash digest
SHA256 ae16ff41ea1fe05c3c73881840af108b59ced54c9dfd707eb797e6e61b115ac5
MD5 36568520d91a23eea5a2018534b6c1bc
BLAKE2b-256 a1871c4f7acfb4288f0e21a09931ba4a23f3124afb3d22cde5021b1ff6c8370e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pure_framework-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0d666aa063c35e89dcf6691593bbd09d7ddad16edcfe6f238e46109be877072
MD5 d81383f8538756f7472eb78384b7282e
BLAKE2b-256 0ac584248ff81205e3378b8bc2002e23a24399f035e39de171d951a25cae184a

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