GithubHelp home page GithubHelp logo

openpolis / django-popolo Goto Github PK

View Code? Open in Web Editor NEW
24.0 16.0 20.0 911 KB

A Django-based implementation of the OpenGovernment context, compliant with the Popolo data specifications.

Home Page: https://gitlab.depp.it/openpolis/django-popolo

License: Other

Python 99.51% HTML 0.03% Makefile 0.46%
django-application python open-government

django-popolo's Introduction

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.

django-popolo's People

Contributors

dracos avatar felixonmars avatar gabrielelucci avatar guglielmo avatar joke2k avatar legostormtroopr avatar mhl avatar riku23 avatar struan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.