Skip to main content

django-uniapi

Django General/Universal API

Installation

pip install django-uniapi

Urls.py

urlpatterns = [
    url(r'^uniapi/', include('django_uniapi.urls', namespace='django_uniapi')),
]

or

from django.conf.urls import include, url
from django_uniapi import views as uni_views

urlpatterns = [
    url(r'^status$', uni_views.server_status, name='server_status'),
    url(r'^time$', uni_views.server_time, name='server_time'),
    url(r'^error$', uni_views.raise_error, name='raise_error'),
]

urlpatterns += [
    url(r'^set_cookie$', uni_views.set_cookie, name='set_cookie'),
    url(r'^del_cookie$', uni_views.del_cookie, name='del_cookie'),
    url(r'^del_cookie2$', uni_views.del_cookie2, name='del_cookie2'),
]

Settings.py

INSTALLED_APPS = (
    ...
    'django_uniapi',
    ...
)

Metadata

Release files for django-uniapi 1.0.11

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

Source distribution (sdist)

Source distribution for django-uniapi 1.0.11
File Size Uploaded Provenance Actions
django-uniapi-1.0.11.tar.gz 2.9 kB Without provenance Details for django-uniapi-1.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-uniapi 1.0.11
File Interpreter ABI Platform Actions
django_uniapi-1.0.11-py2.py3-none-any.whl Python 3, Python 2 none any Details for django_uniapi-1.0.11-py2.py3-none-any.whl

Total release size: 6.6 kB

Release files / django-uniapi-1.0.11.tar.gz

Download URL django-uniapi-1.0.11.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
376b49d452b33b7ed6a414b05cd05c083e5b2f90f2edd452fde7d795612852be
BLAKE2b-256 checksum
How to use checksums
6466ff57f051f9ae9cf1bb0e0f8439b9a4074cb538b56a070846d08fcf26e7a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / django_uniapi-1.0.11-py2.py3-none-any.whl

Download URL django_uniapi-1.0.11-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
79fbd5e9920266ccd87175cd54f199551674b188d3d73e8ef8d8df8c67616fee
BLAKE2b-256 checksum
How to use checksums
7bc288ba064fb266cda57a05d59e8b0bc98855b84a28d4657fb1132934920c0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for django-uniapi 1.0.11

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.

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