Skip to main content

Lots of helper functions and useful widgets for the django REST Framework.

Project description

Overview:

This package contains various useful helper functions for the django REST framework.

ATTENTION: This package is deprecated. All functionality will live on in the ai-django-core package. Please install it with the drf-extension enabled. More details in the changelog.

Installation:

  • Add a requirement to your requirements.txt:

    ai-drf-core

  • Add module to INSTALLED_APPS:

    ai-drf

  • Run migrations

Contribute

  • Clone the project locally

  • Create a new branch for your feature

  • Change the dependency in your requirements.txt to a local (editable) one that points to your local file system:

    -e /Users/myuser/workspace/ai-drf-core
    
  • Ensure the code passes the tests

  • Run:

    python setup.py develop

  • Create a pull request

Publish to PyPI

  • Run:

    python setup.py sdist upload

If you run into trouble, please create a file in your home directory: ~/.pypirc

[distutils]
index-servers =
    pypi

[pypi]
repository: https://upload.pypi.org/legacy/
username:
password:

Tests

  • Check coverage

    pytest --cov=ai-drf-core

  • Run tests

    pytest

Project details


Download files

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

Source Distribution

ai-drf-core-1.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

ai_drf_core-1.0.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file ai-drf-core-1.0.2.tar.gz.

File metadata

  • Download URL: ai-drf-core-1.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.8

File hashes

Hashes for ai-drf-core-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fa84371af6b4b05a70f5bebeb99d038b78acaf0c1e7d4ed22ec6bb5c5898aa62
MD5 93cc5c915df2bb573ac3c09855a2f87d
BLAKE2b-256 17434f2106891084894c4e9dda7e960972fbe345757975fe00d29c41b0c0bdaf

See more details on using hashes here.

File details

Details for the file ai_drf_core-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: ai_drf_core-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.8

File hashes

Hashes for ai_drf_core-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0b4eb89d007510ff8a30e9eefa5cb642f57fedf46e250f21c8a4a821fc84d27
MD5 256bfe45425f9c7b0ff99d29a2cac9ee
BLAKE2b-256 77b323a6ca6f3470ffe30e1bcc564e189246a5288d9720f8bd20d2980cb68242

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page