Skip to main content

Amsterdam Datapunt code and style for Django REST Framework.

Project description

Extenstions to Django REST Framework by Amsterdam Datapunt. Amsterdam Datapunt provides access to municipal data through, at times public, APIs. This project drf_amsterdam provides some basic classes and instructions to set the behavior of Django REST Framework API to the standards of Amsterdam Datapunt.

Installlation instructions

Given that you have a Django project that generates a REST API using Django REST Framework:

` pip install drf_amsterdam `

To use the API page styling provided by this package you must add it to the Django settings file in INSTALLED_APPS, ahead of ‘rest_framework’ so that the templates and static files included in drf_amsterdam override those included with Django REST Framework.

Running tests

Run the tests in a virtualenv and run the script runtests.py from project root.

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

drf_amsterdam-0.1.7.linux-x86_64.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

drf_amsterdam-0.1.7-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file drf_amsterdam-0.1.7.linux-x86_64.tar.gz.

File metadata

  • Download URL: drf_amsterdam-0.1.7.linux-x86_64.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0b3

File hashes

Hashes for drf_amsterdam-0.1.7.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 800d56537f6ffeb13d75f87fffde2ac78081b671fce689e7b03c1f134952dc37
MD5 09aa4a40d37a0a124a9bdbf2715633c3
BLAKE2b-256 4db57a515b34824d5c22a3911b6770536c71498261371bb5b328968e6f73daed

See more details on using hashes here.

File details

Details for the file drf_amsterdam-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: drf_amsterdam-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0b3

File hashes

Hashes for drf_amsterdam-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e74ed38fdcb196a3ecbe35f6c67876f69cb80bc10d1395b59515e664e149a4
MD5 2df033c58af38df94a01c886e8ef4849
BLAKE2b-256 22bb52a8f4537595a3004e43360aff6039511588b3251ba0b723c32aaec11d1a

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