General-purpose .pkpass file reader, includes airline and train specific parsers
Project description
Pkpass parser
Python library for parsing pkpass files
Supports parsing speficic metadata from some airlines (Tested with AirEuropa, Iberia) and trains (Renfe)
Usage:
read()
: returns JSON dataprint()
: prints prettified dataisValid()
: checks if file given is valid
See examples/*
for more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pkpass-0.1.0.tar.gz
(1.1 kB
view details)
Built Distribution
File details
Details for the file pkpass-0.1.0.tar.gz
.
File metadata
- Download URL: pkpass-0.1.0.tar.gz
- Upload date:
- Size: 1.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.14.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5934c403385b3b84c6912d99d65883003f28a873da457e4c8fab0352bb6f9d0d |
|
MD5 | 0d2490123a3a16abd3cd51ca1191f97b |
|
BLAKE2b-256 | f5a191861cac7277fcabd2311a1204ae61cf7ae581cf4e3bd698928cca633ae6 |
File details
Details for the file pkpass-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pkpass-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.14.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6466a98826d521eeefa87d8a6fdb645abe846ec3b5a159e8279aa32da624d56 |
|
MD5 | d61af5bbda5eeb86bb0658e76834bb8f |
|
BLAKE2b-256 | 4ea574a2b43d5f36d883aaca067f93281377d8d60d7e7c4b8a25e81d13df8d13 |