Skip to main content

Requirements

Python 3.6+

Djanticapi stands on the shoulders of giants:

Installation

$ pip install djanticapi

---> 100%

Example

Create it

  • Create a file api.py with:
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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djanticapi-0.0.6.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djanticapi-0.0.6-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file djanticapi-0.0.6.tar.gz.

File metadata

  • Download URL: djanticapi-0.0.6.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.24.0

File hashes

Hashes for djanticapi-0.0.6.tar.gz
Algorithm Hash digest
SHA256 92c94cb3078694f05ef0c2d746368824f28d32f6eca3565a9c65deef540dbadb
MD5 233cfef89f0fdac6ba6147a40ccb0191
BLAKE2b-256 1dfa227e37a746d6acd76f8a0eeef2d3c03c72c820d4a242791ec389877b8c86

See more details on using hashes here.

File details

Details for the file djanticapi-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: djanticapi-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.24.0

File hashes

Hashes for djanticapi-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 20eac2cbcc624d69427eb0e21f475d05d14cf7bbb4b151317a63dc34fdb2cbf6
MD5 36ce4c414c6400d433e211e52d24b31f
BLAKE2b-256 dd8109921baca2119aae70b2c7a157c0f1a831d70b2043dee423444acbf13d3d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page