A Python wrapper for TTSS API.
Project description
TTSS
A simple Python wrapper for TTSS (Traffic Tram Supervision System) API.
Requirements
- Python 3.8+
Installation
pip install ttss
Usage
For MPK Kraków trams:
from ttss import TTSS
ttss = TTSS(base_url='http://www.ttss.krakow.pl')
For MPK Kraków buses:
ttss = TTSS(base_url='http://ttss.mpk.krakow.pl')
Note: the base URL must not contain
/internetservice
and must not end with/
.
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
ttss-0.8.0.tar.gz
(10.9 kB
view details)
Built Distribution
ttss-0.8.0-py3-none-any.whl
(9.7 kB
view details)
File details
Details for the file ttss-0.8.0.tar.gz
.
File metadata
- Download URL: ttss-0.8.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc0766a7e9c88bff8a1cdb552b8a62cdd564e04cd8e8bbff9c0d2fc0aa0bf4e |
|
MD5 | 989eb2460c72c1a5820ce4e213b46e31 |
|
BLAKE2b-256 | 24fc21ae7845b1b28b684d4fbb9a98440917fe61cbde97e2af8fcde8de076c6c |
File details
Details for the file ttss-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: ttss-0.8.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0b22093fd0e183a0cb18cb5992cb56b89a96f2eca7c1add14d4c9755e96e472 |
|
MD5 | af57e79562eb1e493f92a7bcc69c17ff |
|
BLAKE2b-256 | cc99f066e009344413732f1283c1731794216816795fcc1866091ad9d59b699a |