Skip to main content

ovchipcardlib

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

0.1.1 (07-07-2021)

  • Updated template, bumped dependencies and implemented a pipeline.

Metadata

Release files for ovchipcardlib 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovchipcardlib 0.1.1
File Size Uploaded Provenance
ovchipcardlib-0.1.1.tar.gz 48.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ovchipcardlib 0.1.1
File Interpreter ABI Platform
ovchipcardlib-0.1.1-py3.7.egg Legacy Egg format - - Details

Total release size: 78.0 kB

Release files / ovchipcardlib-0.1.1.tar.gz

Download URL ovchipcardlib-0.1.1.tar.gz
Size 48.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7ae763215eafa261bd9255b9dfe5e1f486c8249245dbf91a6caaa304339b5a10
BLAKE2b-256 checksum
How to use checksums
ed571091177c95bc3655a1a3b0010c8f239038bf3f6d80c273b71cb3de6eec97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.10

Release files / ovchipcardlib-0.1.1-py3.7.egg

Download URL ovchipcardlib-0.1.1-py3.7.egg
Size 29.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
fb341c8d4e01c8b20efb9afad2ac65e0879cc4c173a665cfd5b976ab0ad79aa3
BLAKE2b-256 checksum
How to use checksums
64144f47119bea6a164c5bdaa0a07da0b2510073ff2a0d56f4e94212321a169c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.10

Security for ovchipcardlib 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

0.1.0

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