django-jsonis
Helper library that can be used in combination with Django Class-Based views to return JSON responses.
Warning: this is a work in progress, pending code refactoring and documentation
Features
JSONApiResponseMixin providing render_api_response and render_api_error_response methods
Accept JSON request payload
JSONApiFormView that can be used for simple JSON APIs using django.forms
JSON Web token validation (custom django middleware&auth backend)
JSONTestClient providing utilities that can be used to test created APIs
Default JSONEncoder handling Decimal numbers
Simple jsonify template filter (add ‘jsonis’ to your application list in settings)
License
This software is licensed under MIT.
TODO
Examples!
Documentation
Code Cleanup
Tests
Metadata
Release files for django-jsonis 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-jsonis-0.1.12.tar.gz | 6.7 kB | Without provenance | Details for django-jsonis-0.1.12.tar.gz |
Release files / django-jsonis-0.1.12.tar.gz
| Download URL | django-jsonis-0.1.12.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3a52b4494b8cd27bf37bdc47fe677ada750a76722a427509f375d49054e1984
|
|
BLAKE2b-256 checksum How to use checksums |
15130a48ed6035ae6527622ee570ba5f83118f42a7007992d43014f889e3bc4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-jsonis 0.1.12
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.