Code Monkey home page Code Monkey logo

knesset-data-python's Introduction

knesset-data python module

Build Status

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

Installation

  • $ pip install knesset-data

Usage Example

  • $ python
  • from knesset_data.dataservice.committees import Committee

  • committees = list(Committee.get_all_active_committees())

  • len(committees)

  • 19
  • print(committees[0].name)

  • ועדת הכנסת

Known issues / FAQ / Common problems

Contributing

See the contribution guide

Project Administration

Travis publishes to pypi automatically on every published release (or tag)

Publishing a release

Updating dependant projects

After publishing a release you probably want to update the dependency in dependant projects

In Open Knesset repository -

More details regarding travis publishing to pypi

The .travis.yml file contains encrypted variables, you add them using the travis cli client:

$ git config --local travis.slug hasadna/knesset-data-python
$ travis encrypt TRAVIS_PYPI_USER=(YOUR_PYPI_USER) TRAVIS_PYPI_PASS=(YOUR_PYPI_PASSWORD) --add
$ history -c

add the secure env var to .travis.yml

Check out .travis/after_success.sh to see how the publishing to pypi works

knesset-data-python's People

Contributors

alonisser avatar davi17g avatar gilwo avatar orenshp avatar orihoch avatar ravivbarzilay avatar tomraz avatar

Watchers

 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.