bvg-grabber
Showing BVG Departures In Your Office
Installation
Requires Python 3!
To use bvg-grabber go and install it as you do with every Python package:
$ pip install bvg-grabber
or:
$ pip install --user bvg-grabber
Usage
bvg-grabber comes with a simple command line tool bvg-grabber.py:
$ bvg-grabber.py --help
usage: bvg-grabber.py [-h]
[--vehicle [{S,U,TRAM,BUS,FERRY,RB,IC} [{S,U,TRAM,BUS,FERRY,RB,IC} ...]]]
[--limit LIMIT]
station file
Query the BVG-website for departures
positional arguments:
station The station to query
file Path to file. Use - for stdout
optional arguments:
-h, --help show this help message and exit
--vehicle [{S,U,TRAM,BUS,FERRY,RB,IC} [{S,U,TRAM,BUS,FERRY,RB,IC} ...]]
Vehicles which shall be queried, if non given
actualdepartue (bus) will be used
--limit LIMIT Max departures to query. Default: 9
Example:
$ bvg-grabber.py "U Ernst-Reuter-Platz (Berlin)" - --vehicle U --limit 2 | json_pp
[
[
"U Ernst-Reuter-Platz (Berlin)",
[
{
"line" : "U2",
"end" : "U Ruhleben (Berlin)",
"remaining" : 12180,
"start" : "U Ernst-Reuter-Platz (Berlin)"
},
{
"line" : "U2",
"start" : "U Ernst-Reuter-Platz (Berlin)",
"remaining" : 12600,
"end" : "S+U Pankow (Berlin)"
}
]
]
]
Metadata
Release files for bvg-grabber 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bvg-grabber-0.2.1.tar.gz | 9.1 kB | Without provenance | Details for bvg-grabber-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bvg_grabber-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for bvg_grabber-0.2.1-py2.py3-none-any.whl |
Total release size: 20.5 kB
Release files / bvg-grabber-0.2.1.tar.gz
| Download URL | bvg-grabber-0.2.1.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c655ddb2ecf7e439ed80e146c44878e61e1d2348d4f1b0d4ddf48a4d0516b92
|
|
BLAKE2b-256 checksum How to use checksums |
0a9ab0bc171969bcdd50e7ca3fe7e3ad6a74a7959b155228b28ddac935b136b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / bvg_grabber-0.2.1-py2.py3-none-any.whl
| Download URL | bvg_grabber-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
167ab48b653e44c274c03098e55ffb5cb89971ecea33542b76ff6fb8985271e5
|
|
BLAKE2b-256 checksum How to use checksums |
8b7adce3842f69ded7dbc89a0d4ef36a7187ec251b9b8ab71e03c01d14998ab4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for bvg-grabber 0.2.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.