Name: knesset-data-python
Owner: The Public Knowledge Workshop
Description: python module that provides api to access Israeli Parliament (Knesset) data
Created: 2017-02-06 19:17:07.0
Updated: 2018-02-07 13:45:27.0
Pushed: 2018-02-24 14:10:47.0
Homepage: https://github.com/hasadna/knesset-data
Size: 1230
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A python module that provides api to available Israeli Parliament (Knesset) data
This module provides low-level APIs to support other higher-level modules from the Knesset data project
from knesset_data.dataservice.committees import Committee
committees = list(Committee.get_all_active_committees())
len(committees)
print(committees[0].name)
See the contribution guide
Travis publishes to pypi automatically on every published release (or tag)
After publishing a release you probably want to update the dependency in dependant projects
In Open Knesset repository -
knesset-data==1.2.0
The .travis.yml file contains encrypted variables, you add them using the travis cli client:
t config --local travis.slug hasadna/knesset-data-python
avis encrypt TRAVIS_PYPI_USER=(YOUR_PYPI_USER) TRAVIS_PYPI_PASS=(YOUR_PYPI_PASSWORD) --add
story -c
add the secure env var to .travis.yml
Check out .travis/after_success.sh to see how the publishing to pypi works