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.1.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file pkpass-0.1.1.tar.gz
.
File metadata
- Download URL: pkpass-0.1.1.tar.gz
- Upload date:
- Size: 1.8 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 | 16f2d7b42b05eb0aca53f47cd87761580825f86b3ee2a57c138c9707e87078fb |
|
MD5 | ec7e56575b459867112cb9513f0ce1cd |
|
BLAKE2b-256 | d3d2a3327d3df4f0b745b975855c628294437faa50eeaaa4c11166259694c0a6 |
File details
Details for the file pkpass-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pkpass-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.1 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 | 04ea803b00f3c4204d6caa29a2c18e5fc30def65cd12a48ea245722c50637b81 |
|
MD5 | e72df5359a85ddbfb0986f4f14d4f8a3 |
|
BLAKE2b-256 | bf31945a123f56ee8b0cb5a36f8de8c6bdb5e118280d66267a927b44c4ba4b88 |