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
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 | |
|---|---|---|---|
| djanticapi-0.0.6.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djanticapi-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
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
|