Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

Metadata

Release files for ai-drf-core 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-drf-core 1.0.2
File Size Uploaded
ai-drf-core-1.0.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-drf-core 1.0.2
File Interpreter ABI Platform
ai_drf_core-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / ai-drf-core-1.0.2.tar.gz

Download URL ai-drf-core-1.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fa84371af6b4b05a70f5bebeb99d038b78acaf0c1e7d4ed22ec6bb5c5898aa62
BLAKE2b-256 checksum
How to use checksums
17434f2106891084894c4e9dda7e960972fbe345757975fe00d29c41b0c0bdaf
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ai_drf_core-1.0.2-py3-none-any.whl

Download URL ai_drf_core-1.0.2-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0b4eb89d007510ff8a30e9eefa5cb642f57fedf46e250f21c8a4a821fc84d27
BLAKE2b-256 checksum
How to use checksums
77b323a6ca6f3470ffe30e1bcc564e189246a5288d9720f8bd20d2980cb68242
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page