# gtfs-marey
Generate a Marey Chart for the given GTFS route, inspired by [this explanation](http://www.stagniweb.it/cadenz01.htm) (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`
![](docs/example/google_transit_extraurbano_tte-R35-monday.png)
## 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`](https://github.com/BlinkTagInc/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.
Raw data
{
"_id": null,
"home_page": "https://github.com/MobilityStuff/gtfs-marey",
"name": "gtfs-marey",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<4.0",
"maintainer_email": "",
"keywords": "gtfs,marey,chart",
"author": "alegotta",
"author_email": "alegotta@github.com",
"download_url": "https://files.pythonhosted.org/packages/c3/db/91ed36fed67fac6102e08c278740e7a33d14b2ec666e49971d4c0c69a617/gtfs_marey-0.1.1.tar.gz",
"platform": null,
"description": "# gtfs-marey\n\nGenerate a Marey Chart for the given GTFS route, inspired by [this explanation](http://www.stagniweb.it/cadenz01.htm) (in italian). Beware that the program is not bullet proof and was developed just out of curiosity.\n\n## Install\n\n`pip install gtfs-marey`\n\n## Usage\n\n```\nusage: gtfs-marey [-h] --feed FEED --route_names ROUTE_NAMES [ROUTE_NAMES ...] --outputs\n {html,svg,png} [{html,svg,png} ...] --days DAYS [DAYS ...] [--verbose]\n\nGenerate a Marey Chart for the given GTFS route\n\noptions:\n -h, --help show this help message and exit\n --feed FEED feed path or url\n --route_names ROUTE_NAMES [ROUTE_NAMES ...]\n route name referencing 'route_short_name' value in GTFS\n --outputs {html,svg,png} [{html,svg,png} ...]\n output type\n --days DAYS [DAYS ...]\n day of the week to consider in the chart creation\n --verbose Turn on verbose mode\n```\n\n## Example\n\n`gtfs-marey --feed https://www.trentinotrasporti.it/opendata/google_transit_extraurbano_tte.zip --route_names R35 --output html,png --day monday`\n\n![](docs/example/google_transit_extraurbano_tte-R35-monday.png)\n\n## Things to improve\n\n- Better handling of the calendar schedule\n- Position stops based on their distance\n- Size of the generated picture\n- More meaningful color schema\n\n## Similar tools\n\n[`gtfs-to-chart`](https://github.com/BlinkTagInc/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. ",
"bugtrack_url": null,
"license": "MIT",
"summary": "Generate a Marey Chart for the given GTFS route",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/MobilityStuff/gtfs-marey",
"Repository": "https://github.com/MobilityStuff/gtfs-marey"
},
"split_keywords": [
"gtfs",
"marey",
"chart"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6c87b411904553c1ca3e48d95498f3dbfae506119fd07bd583f48c06afb6b6b7",
"md5": "07a1e09519a4d803b9bbd0401744e20e",
"sha256": "6fb3e80a91f79fcf45c5c0d27ba6d795134e4a8f2c1e328f1370d736b69e7d09"
},
"downloads": -1,
"filename": "gtfs_marey-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "07a1e09519a4d803b9bbd0401744e20e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<4.0",
"size": 7477,
"upload_time": "2023-10-10T10:25:10",
"upload_time_iso_8601": "2023-10-10T10:25:10.678082Z",
"url": "https://files.pythonhosted.org/packages/6c/87/b411904553c1ca3e48d95498f3dbfae506119fd07bd583f48c06afb6b6b7/gtfs_marey-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c3db91ed36fed67fac6102e08c278740e7a33d14b2ec666e49971d4c0c69a617",
"md5": "95a07ea92ee4005ff6b069ef8c1a9b93",
"sha256": "4ff712cfb26f5dc3ee7a6d6181f8010950441391be2a292bc599bf6f06ecddbd"
},
"downloads": -1,
"filename": "gtfs_marey-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "95a07ea92ee4005ff6b069ef8c1a9b93",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<4.0",
"size": 6042,
"upload_time": "2023-10-10T10:25:12",
"upload_time_iso_8601": "2023-10-10T10:25:12.216599Z",
"url": "https://files.pythonhosted.org/packages/c3/db/91ed36fed67fac6102e08c278740e7a33d14b2ec666e49971d4c0c69a617/gtfs_marey-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-10 10:25:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MobilityStuff",
"github_project": "gtfs-marey",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "gtfs-marey"
}