Skip to main content

A Django-based implementation of the Popolo data specifications.

Project description

https://travis-ci.org/openpolis/django-popolo.svg?branch=master https://coveralls.io/repos/github/openpolis/django-popolo/badge.svg?branch=master

Welcome to the documentation for django-popolo!

django-popolo is a django-based implementation of the Popolo’s open government data specifications.

It is developed as a django application to be deployed directly within django projects.

It will allow web developers using it to manage and store data according to Popolo’s specifications.

The standard sql-oriented django ORM will be used.

Project is under way and any help is welcome.

Installation

To install django-popolo as a third party app within a django project, you need to add it to the django project’s requirements.txt. You can do this from GitHub in the usual way, or using the django-popolo package on PyPI.

Compatibility

Running the Tests

Set up the test environment with:

pip install -r tests_requirements.txt
python setup.py install

You can run the tests with:

python setup.py test

or:

python runtests.py

Notes on mysociety’s fork

mysociety/django-popolo is a fork of this project where integer IDs are used instead of slugs.

Our packages, since version 1.1 also uses numerical ids as primary keys for all entities. Slugs are available as non-primary fields, for the 4 main classes (Person, Organization, Post, Membership). Slugs are used through the Permalinkable behavior, that adds the slug field to the class, populating it according to rules defined in each class.

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

django-popolo-1.1.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

django_popolo-1.1.0-py2.py3-none-any.whl (37.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-popolo-1.1.0.tar.gz.

File metadata

File hashes

Hashes for django-popolo-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b866e94bf62dfa33418e0439cbfe8ad90e18145d84d87b0b74714ee99436017f
MD5 f49545285edd221b9fd3fc2b086f5276
BLAKE2b-256 b6595d23959fd9419dc8f2368db68fa89c0b1874a92c3e7774bf34152d56999e

See more details on using hashes here.

Provenance

File details

Details for the file django_popolo-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_popolo-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ec00d801837e2e6ef502a7b1e4b6a57891e05894cfa15e0d25d34f15914b569
MD5 319756f492d6212f9aeae6bfc6344cb1
BLAKE2b-256 3bc54af9fb6407a96573b199f94df5709ff31b2ac697b5299c11bc24f37fbf34

See more details on using hashes here.

Provenance

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