Skip to main content

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.

Files for pyvrt, version 1.7.1
Filename, size File type Python version Upload date Hashes
Filename, size pyvrt-1.7.1-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyvrt-1.7.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page