Skip to main content

django-popolo

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 reusable app 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.

From release 1.2.0, django-popolo includes classes that extend the model, although compatibility with the standard is kept.

Release 2.0.0 introduces a change in how Sources and Links are referred to, that breaks compatibility with the popit importer.

Release 3.0.0 main focuses have been to keep up with latest Django versions and to "modernize" the code base, adopting latest Python features (like type hinting), and doing some serious housekeeping. Python 2 is no longer supported. This release also implements a lot of new models which are not part of the Popolo specification (mildly out of scope), but we needed them in some projects which make use this package. Those new models can be safely ignored, and they could also be removed in the future, as we are considering the option of entirely decoupling them from django-popolo.

See the CHANGELOG.md file for more details.

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.

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.

Metadata

Release files for django-popolo 3.0.10

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-popolo 3.0.10
File Size Uploaded Provenance
django-popolo-3.0.10.tar.gz 34.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-popolo 3.0.10
File Interpreter ABI Platform
django_popolo-3.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 72.3 kB

Release files / django-popolo-3.0.10.tar.gz

Download URL django-popolo-3.0.10.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b6a9c3f45e89da7097e2cbaa01f06e41e83247010b8abfa8560c85cd339ad45f
BLAKE2b-256 checksum
How to use checksums
862f6d719819deae3b687f5c744ee4b5360bd85ff4c751731b114d7512088f24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.17

Release files / django_popolo-3.0.10-py3-none-any.whl

Download URL django_popolo-3.0.10-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
073071f6bf355e2d6d24de59f2471a67050f4732936d494fe788c0ce2a29f5e6
BLAKE2b-256 checksum
How to use checksums
6996ac84c7669e35dc1ca1ec29e5f0b930d92105fd21de9c33e8d82ab8dc63df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.17

Security for django-popolo 3.0.10

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.

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