A package containing a functionality of readint the data from the https://api.um.warszawa.pl, analyzing it and displaying results of the analyzis.
Project description
Bus data reader
This package represents the functionality of reading and analyzing data from https://api.um.warszawa.pl/#.
Instalation:
This package can be installed by calling:
pip install warsawbuspy
Contents:
This package contains four subpackages:
1. readers:
This subpackage contains a data_readers module, in which DataReader class is stored, that contains the functionality of reading a various data from the API as well as writing it into the .csv files. This class requires an API key to access data from the API. You can get it by making an account here: https://api.um.warszawa.pl/#.
2. analyzers:
This subpackage contains two modules:
- data_analyzer: this module contains the DataAnalyzer class that contains the functionality of retrieving data fetched by the DataReader class from the .csv files as well as functionality of analyzing it. This class also contains the functionality of storing results of the analysis into the .csv files.
- data_visualizer: this module contains the DataVisualizer class, that contains the functionality of representing the results of the analysis as charts and maps.
3. holders:
This subpackage contains the module data_holders, in which are stored all classes used to store data throughout the project.
4. utility:
This subpackage contains two modules:
- data_utility: this module contains utility functions used throughout the project.
- exceptions: this module contains custom exceptions raised in this project.
APIs:
This project utilizes two APIs:
- https://api.um.warszawa.pl: from here, all the data related to the city communication is fetched (bus locations, schedules etc.)
- https://services.gugik.gov.pl: from here, the data about the street name for the given coordinates is fetched.
Others:
This project utilizes maps from https://github.com/ppatrzyk/polska-geojson.
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
Built Distribution
Hashes for warsawbuspy-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ff948e7dacf2689296d5fc1060a8960b128fca3c0ef9a47b125950fd7fa1a30 |
|
MD5 | 46d3e302e6c67495fbae162b766e608b |
|
BLAKE2b-256 | cc80442aea4249c800c9b78f72af8e648a385c84a7f232c2ddd2b964d7b12d93 |