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.

requirements: spatialite, sqllite extension

or user the docker-compose [TODO]

Make Release

use bumpversion [major, minor, patch] to tag the branch.

make dist make release. passwords are in the passwords safes.

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.4.0.linux-x86_64.tar.gz (62.7 kB view details)

Uploaded Source

Built Distribution

drf_amsterdam-0.4.0-py3-none-any.whl (59.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf_amsterdam-0.4.0.linux-x86_64.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for drf_amsterdam-0.4.0.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 6dd444ead71e6fd63150c2492b073d605446304d0e84408c40f3548b2f00ec80
MD5 e30b7698711df53b0cb8f6525390a807
BLAKE2b-256 4fe69d8b0154b8bcbbd3544c6afcc4b3b9aa6f2071b2adfa4b9b3dc0a2d1e97d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_amsterdam-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 59.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for drf_amsterdam-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d8fc98942cc76467f7fc7ee36b1b60306eaeba3c2043eeec62de628f6c6094
MD5 5099c8288b873c990abc74d14bb31e89
BLAKE2b-256 528a229b17b168dc9c9fd45ac0b6193760bfee541c14a023be2d7d3316f8a52e

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