Skip to main content

Django APIRouter (in progress)

Django API router component.

Inspired by FastAPI and Django Rest Framework.

tests codecov Documentation Status Code style: black version license


Documentation: https://django-apirouter.readthedocs.io/


Installing

Install using pip:

pip install django-apirouter

Quick Example

project/urls.py

from apirouter import APIRouter, Response, Request

router = APIRouter()


@router.route("/")
def index(request: Request):
    return Response("Hello, Django APIRouter!")


urlpatterns = router.urls

TODO:

  • Documentation
  • OpenAPI support (Swagger, ReDoc)
  • Pydantic support
  • Async views support (with Django 3.1)
  • etc.

Metadata

Release files for django-apirouter 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-apirouter 0.2.1
File Size Uploaded Provenance Actions
django-apirouter-0.2.1.tar.gz 8.0 kB Without provenance Details for django-apirouter-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-apirouter 0.2.1
File Interpreter ABI Platform Actions
django_apirouter-0.2.1-py3-none-any.whl Python 3 none any Details for django_apirouter-0.2.1-py3-none-any.whl

Total release size: 17.4 kB

Release files / django-apirouter-0.2.1.tar.gz

Download URL django-apirouter-0.2.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
be630f19a35faf7f7f6f52a0af24de48dbd3fe88567fda1aaa9138afed6724c9
BLAKE2b-256 checksum
How to use checksums
adcf5973628cee56a7d7a5a2aba72a675a0165caca86893468c2d4f0ce312752
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Darwin/17.7.0

Release files / django_apirouter-0.2.1-py3-none-any.whl

Download URL django_apirouter-0.2.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81b40bbb1c036756e87581b8d1d09b6aa98088b48e808d189e9410dd78ee58b3
BLAKE2b-256 checksum
How to use checksums
6278cca5ac008dd384b6be71fbf553e3c68c4ecd8cdc3ce1b7107dad01893c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Darwin/17.7.0

Security for django-apirouter 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page