Generate a Marey Chart for the given GTFS route
Project description
gtfs-marey
Generate a Marey Chart for the given GTFS route, inspired by this explanation (in italian). Beware that the program is not bullet proof and was developed just out of curiosity.
Install
pip install gtfs-marey
Usage
usage: gtfs-marey [-h] --feed FEED --route_names ROUTE_NAMES [ROUTE_NAMES ...] --outputs
{html,svg,png} [{html,svg,png} ...] --days DAYS [DAYS ...] [--verbose]
Generate a Marey Chart for the given GTFS route
options:
-h, --help show this help message and exit
--feed FEED feed path or url
--route_names ROUTE_NAMES [ROUTE_NAMES ...]
route name referencing 'route_short_name' value in GTFS
--outputs {html,svg,png} [{html,svg,png} ...]
output type
--days DAYS [DAYS ...]
day of the week to consider in the chart creation
--verbose Turn on verbose mode
Example
gtfs-marey --feed https://www.trentinotrasporti.it/opendata/google_transit_extraurbano_tte.zip --route_names R35 --output html,png --day monday
Things to improve
- Better handling of the calendar schedule
- Position stops based on their distance
- Size of the generated picture
- More meaningful color schema
Similar tools
gtfs-to-chart
has a similar scope and is much more production-ready. The major difference is that our tool shows stops on the opposite axis, and also allows to directly generate a picture out of the elaboration.
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
gtfs_marey-0.1.1.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for gtfs_marey-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb3e80a91f79fcf45c5c0d27ba6d795134e4a8f2c1e328f1370d736b69e7d09 |
|
MD5 | 07a1e09519a4d803b9bbd0401744e20e |
|
BLAKE2b-256 | 6c87b411904553c1ca3e48d95498f3dbfae506119fd07bd583f48c06afb6b6b7 |