Python library to interact with VRT public APIs
Project description
pyvrt
🐍 Python library to interact with VRT public APIs (weather, traffic…)
Usage
import pyvrt.traffic as traffic
import pyvrt.weather as weather
weather.summary()
weather.forecast(region='BE', zone='kust')
traffic.traffic_jam(km=True)
Development
$ make install
$ make build
To debug, create an index.py file with some code and run through Python runtime:
# pyvrt/media/index.py
from . import stubru
print(stubru.current())
$ python -m pyvrt.media.index
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyvrt-1.7.1.tar.gz
(3.3 kB
view details)
Built Distribution
pyvrt-1.7.1-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file pyvrt-1.7.1.tar.gz
.
File metadata
- Download URL: pyvrt-1.7.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e60d6cf859fd8de60ded1dc2b27182d9f9f12569401303855f70824c816e619 |
|
MD5 | f08867a4b3dce3ef76096648b25604c6 |
|
BLAKE2b-256 | c6f183cf2b4a41ba8212bf1f723fb3cd4355f72bea852c8282b81f94c916b09a |
File details
Details for the file pyvrt-1.7.1-py3-none-any.whl
.
File metadata
- Download URL: pyvrt-1.7.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d9b71eb0902977b89113e39f6c93aa8b0916ef1f8d3f72082ab0db701aec611 |
|
MD5 | d5a12e33bb737dc6b817e6547a91d4f2 |
|
BLAKE2b-256 | df7bebe1b10ada6ff044598db362cb9db9e081ec7dadcb50042e4f63c1b98baa |