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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf_amsterdam-0.4.1.linux-x86_64.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for drf_amsterdam-0.4.1.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 705afa1743933ee535e1742efdf6297923614196a22d6f368366831ad4803c08
MD5 46a0dc5001a4d18e6d608a5b71782a9e
BLAKE2b-256 870d056288b47c554a40105f35dea03516335cd1a4bccb298dd990454aa2d35f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_amsterdam-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 59.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for drf_amsterdam-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f906266c0bd00a27aa9f3b81c616d462bfe44aba8de0db845d65f07a5d71a801
MD5 2d53cfcee8ae54815ee243903aadd237
BLAKE2b-256 8a4c7335763a01ad3c2d1a88ee7076cb6e9253e58ed6f760a9cb0a9c97284cdd

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