Requirements
Python 3.6+
Djanticapi stands on the shoulders of giants:
Installation
$ pip install djanticapi
---> 100%
Example
Create it
- Create a file
api.pywith:
from django.http import HttpRequest
from djanticapi import BaseFormModel, BaseAPIView
class TestForm(BaseFormModel):
name: str
class TestView(BaseAPIView):
def post(self, request: HttpRequest):
form_data = TestForm.from_request(request=request)
return form_data
Metadata
Release files for djanticapi 0.0.6
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 |
|---|---|---|---|---|
| djanticapi-0.0.6.tar.gz | 10.4 kB | Without provenance | Details for djanticapi-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djanticapi-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for djanticapi-0.0.6-py3-none-any.whl |
Total release size: 24.6 kB
Release files / djanticapi-0.0.6.tar.gz
| Download URL | djanticapi-0.0.6.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92c94cb3078694f05ef0c2d746368824f28d32f6eca3565a9c65deef540dbadb
|
|
BLAKE2b-256 checksum How to use checksums |
1dfa227e37a746d6acd76f8a0eeef2d3c03c72c820d4a242791ec389877b8c86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Release files / djanticapi-0.0.6-py3-none-any.whl
| Download URL | djanticapi-0.0.6-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20eac2cbcc624d69427eb0e21f475d05d14cf7bbb4b151317a63dc34fdb2cbf6
|
|
BLAKE2b-256 checksum How to use checksums |
dd8109921baca2119aae70b2c7a157c0f1a831d70b2043dee423444acbf13d3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Security for djanticapi 0.0.6
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.