Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A library to interact with the ov-chip card service

Project Description

A library to interact with the ov-chip card service.

It utilizes the webapi of the mobile apps to get the information. Very loosely based on https://github.com/OVChip/ovchipapi-python for the authentication part.

Be aware that the ov-chip card system used in the Netherlands for public transport was not designed to be real time. So expect a hefty time drift before the actual checkin/out action and information showing up on the api and by extension on the transactions list.

Also the sequence of transactions is not guaranteed. It is absolutelly certain that if there are a lot of checkins/outs closely together they will appear out of order on the web api. Apparently there is a serverside job that sorts them once a day.

The library handles that by sorting the list of transactions always. So on any action it would return a properly ordered list of events but in case of monitoring through the card.get_latest_transactions() method it is absolutelly guaranteed that transaction will appear out of order and with a delay ranging between 2 and 15 minutes according to some simple benchmarks.

Features

  • Can get cards bound with the account and lists of transactions for the cards.

History

0.1 (14-04-2017)

  • First release on pypi
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ovchipcardlib-0.1.0-py2.7.egg (19.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Apr 14, 2017
ovchipcardlib-0.1.0.tar.gz (14.6 kB) Copy SHA256 Checksum SHA256 Source Apr 14, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting