gtfs_kit 5.2.1__tar.gz → 5.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/PKG-INFO +15 -7
- gtfs_kit-5.2.2/README.rst +46 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/__init__.py +1 -1
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/stops.py +2 -4
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/validators.py +1 -1
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/pyproject.toml +1 -1
- gtfs_kit-5.2.2/setup.py +38 -0
- gtfs_kit-5.2.1/README.rst +0 -38
- gtfs_kit-5.2.1/setup.py +0 -38
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/LICENSE.txt +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/calendar.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/cleaners.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/constants.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/feed.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/helpers.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/miscellany.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/routes.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/shapes.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/stop_times.py +0 -0
- {gtfs_kit-5.2.1 → gtfs_kit-5.2.2}/gtfs_kit/trips.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gtfs-kit
|
|
3
|
-
Version: 5.2.
|
|
3
|
+
Version: 5.2.2
|
|
4
4
|
Summary: A Python 3.8+ library for analyzing GTFS feeds.
|
|
5
5
|
Home-page: https://github.com/mrcagney/gtfs_kit
|
|
6
6
|
License: MIT
|
|
@@ -48,19 +48,27 @@ You can find examples in the Jupyter notebook ``notebooks/examples.ipynb``.
|
|
|
48
48
|
|
|
49
49
|
Authors
|
|
50
50
|
=========
|
|
51
|
-
- Alex Raichev
|
|
51
|
+
- Alex Raichev (2019-09), maintainer
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
Documentation
|
|
55
55
|
=============
|
|
56
|
-
Documentation is built via Sphinx from the source code in the
|
|
56
|
+
Documentation is built via Sphinx from the source code in the ``docs`` directory then published to Github Pages at `mrcagney.github.io/gtfs_kit_docs <https://mrcagney.github.io/gtfs_kit_docs>`_.
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
Notes
|
|
60
60
|
=====
|
|
61
|
-
-
|
|
61
|
+
- This project's development status is Alpha.
|
|
62
|
+
I use GTFS Kit for work and change it breakingly to suit my needs.
|
|
62
63
|
- This project uses semantic versioning.
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
- I aim for GTFS Kit to handle `the current GTFS <https://developers.google.com/transit/gtfs/reference>`_.
|
|
65
|
+
In particular, i avoid handling `GTFS extensions <https://developers.google.com/transit/gtfs/reference/gtfs-extensions>`_.
|
|
66
|
+
That is the most reasonable scope boundary i can draw at present, given this project's tiny budget.
|
|
67
|
+
If you would like to fund me to expand that scope, feel free to email me.
|
|
68
|
+
- Thanks to `MRCagney <http://www.mrcagney.com/>`_ for periodically donating to this project.
|
|
69
|
+
- Constructive feedback and contributions are welcome.
|
|
70
|
+
Please issue pull requests from a feature branch into the ``develop`` branch and include tests.
|
|
71
|
+
- GTFS time is measured relative noon minus 12 hours, which can mess things up when crossing into daylight savings time.
|
|
72
|
+
I don't think this issue causes any bugs in GTFS Kit, but you and i have been warned.
|
|
73
|
+
Thanks to user derhuerst for bringing this to my attention in `closed Issue 8 <https://github.com/mrcagney/gtfs_kit/issues/8#issue-1063633457>`_.
|
|
66
74
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
GTFS Kit
|
|
2
|
+
********
|
|
3
|
+
.. image:: https://travis-ci.com/mrcagney/gtfs_kit.svg?branch=master
|
|
4
|
+
:target: https://travis-ci.come/mrcagney/gtfs_kit
|
|
5
|
+
|
|
6
|
+
GTFS Kit is a Python 3.8+ library for analyzing `General Transit Feed Specification (GTFS) <https://en.wikipedia.org/wiki/GTFS>`_ data in memory without a database.
|
|
7
|
+
It uses Pandas and Shapely to do the heavy lifting.
|
|
8
|
+
|
|
9
|
+
This project supersedes `GTFSTK <https://github.com/mrcagney/gtfstk>`_.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Installation
|
|
13
|
+
=============
|
|
14
|
+
``poetry add gtfs_kit``.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Examples
|
|
18
|
+
========
|
|
19
|
+
You can find examples in the Jupyter notebook ``notebooks/examples.ipynb``.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
Authors
|
|
23
|
+
=========
|
|
24
|
+
- Alex Raichev (2019-09), maintainer
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Documentation
|
|
28
|
+
=============
|
|
29
|
+
Documentation is built via Sphinx from the source code in the ``docs`` directory then published to Github Pages at `mrcagney.github.io/gtfs_kit_docs <https://mrcagney.github.io/gtfs_kit_docs>`_.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
Notes
|
|
33
|
+
=====
|
|
34
|
+
- This project's development status is Alpha.
|
|
35
|
+
I use GTFS Kit for work and change it breakingly to suit my needs.
|
|
36
|
+
- This project uses semantic versioning.
|
|
37
|
+
- I aim for GTFS Kit to handle `the current GTFS <https://developers.google.com/transit/gtfs/reference>`_.
|
|
38
|
+
In particular, i avoid handling `GTFS extensions <https://developers.google.com/transit/gtfs/reference/gtfs-extensions>`_.
|
|
39
|
+
That is the most reasonable scope boundary i can draw at present, given this project's tiny budget.
|
|
40
|
+
If you would like to fund me to expand that scope, feel free to email me.
|
|
41
|
+
- Thanks to `MRCagney <http://www.mrcagney.com/>`_ for periodically donating to this project.
|
|
42
|
+
- Constructive feedback and contributions are welcome.
|
|
43
|
+
Please issue pull requests from a feature branch into the ``develop`` branch and include tests.
|
|
44
|
+
- GTFS time is measured relative noon minus 12 hours, which can mess things up when crossing into daylight savings time.
|
|
45
|
+
I don't think this issue causes any bugs in GTFS Kit, but you and i have been warned.
|
|
46
|
+
Thanks to user derhuerst for bringing this to my attention in `closed Issue 8 <https://github.com/mrcagney/gtfs_kit/issues/8#issue-1063633457>`_.
|
|
@@ -584,11 +584,9 @@ def geometrize_stops_0(
|
|
|
584
584
|
``'stop_lat'``.
|
|
585
585
|
"""
|
|
586
586
|
g = (
|
|
587
|
-
stops.assign(
|
|
588
|
-
geometry=lambda x: [sg.Point(p) for p in x[["stop_lon", "stop_lat"]].values]
|
|
589
|
-
)
|
|
587
|
+
stops.assign(geometry=gp.points_from_xy(x=stops.stop_lon, y=stops.stop_lat))
|
|
590
588
|
.drop(["stop_lon", "stop_lat"], axis=1)
|
|
591
|
-
.pipe(
|
|
589
|
+
.pipe(gp.GeoDataFrame, crs=cs.WGS84)
|
|
592
590
|
)
|
|
593
591
|
|
|
594
592
|
if use_utm:
|
|
@@ -1477,7 +1477,7 @@ def check_transfers(
|
|
|
1477
1477
|
)
|
|
1478
1478
|
|
|
1479
1479
|
# Check transfer_type
|
|
1480
|
-
v = lambda x: pd.isna(x) or x in range(
|
|
1480
|
+
v = lambda x: pd.isna(x) or x in range(4)
|
|
1481
1481
|
problems = check_column(
|
|
1482
1482
|
problems, table, f, "transfer_type", v, column_required=False
|
|
1483
1483
|
)
|
gtfs_kit-5.2.2/setup.py
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from setuptools import setup
|
|
3
|
+
|
|
4
|
+
packages = \
|
|
5
|
+
['gtfs_kit']
|
|
6
|
+
|
|
7
|
+
package_data = \
|
|
8
|
+
{'': ['*']}
|
|
9
|
+
|
|
10
|
+
install_requires = \
|
|
11
|
+
['folium>=0',
|
|
12
|
+
'geopandas>=0',
|
|
13
|
+
'json2html>=1',
|
|
14
|
+
'pandas>=1',
|
|
15
|
+
'pycountry>=19',
|
|
16
|
+
'requests>=2',
|
|
17
|
+
'rtree>=0',
|
|
18
|
+
'shapely>=1',
|
|
19
|
+
'utm>=0']
|
|
20
|
+
|
|
21
|
+
setup_kwargs = {
|
|
22
|
+
'name': 'gtfs-kit',
|
|
23
|
+
'version': '5.2.2',
|
|
24
|
+
'description': 'A Python 3.8+ library for analyzing GTFS feeds.',
|
|
25
|
+
'long_description': "GTFS Kit\n********\n.. image:: https://travis-ci.com/mrcagney/gtfs_kit.svg?branch=master\n :target: https://travis-ci.come/mrcagney/gtfs_kit\n\nGTFS Kit is a Python 3.8+ library for analyzing `General Transit Feed Specification (GTFS) <https://en.wikipedia.org/wiki/GTFS>`_ data in memory without a database.\nIt uses Pandas and Shapely to do the heavy lifting.\n\nThis project supersedes `GTFSTK <https://github.com/mrcagney/gtfstk>`_.\n\n\nInstallation\n=============\n``poetry add gtfs_kit``.\n\n\nExamples\n========\nYou can find examples in the Jupyter notebook ``notebooks/examples.ipynb``.\n\n\nAuthors\n=========\n- Alex Raichev (2019-09), maintainer\n\n\nDocumentation\n=============\nDocumentation is built via Sphinx from the source code in the ``docs`` directory then published to Github Pages at `mrcagney.github.io/gtfs_kit_docs <https://mrcagney.github.io/gtfs_kit_docs>`_.\n\n\nNotes\n=====\n- This project's development status is Alpha.\n I use GTFS Kit for work and change it breakingly to suit my needs.\n- This project uses semantic versioning.\n- I aim for GTFS Kit to handle `the current GTFS <https://developers.google.com/transit/gtfs/reference>`_.\n In particular, i avoid handling `GTFS extensions <https://developers.google.com/transit/gtfs/reference/gtfs-extensions>`_.\n That is the most reasonable scope boundary i can draw at present, given this project's tiny budget.\n If you would like to fund me to expand that scope, feel free to email me.\n- Thanks to `MRCagney <http://www.mrcagney.com/>`_ for periodically donating to this project.\n- Constructive feedback and contributions are welcome.\n Please issue pull requests from a feature branch into the ``develop`` branch and include tests.\n- GTFS time is measured relative noon minus 12 hours, which can mess things up when crossing into daylight savings time.\n I don't think this issue causes any bugs in GTFS Kit, but you and i have been warned.\n Thanks to user derhuerst for bringing this to my attention in `closed Issue 8 <https://github.com/mrcagney/gtfs_kit/issues/8#issue-1063633457>`_.\n",
|
|
26
|
+
'author': 'Alex Raichev',
|
|
27
|
+
'author_email': 'araichev@mrcagney.com',
|
|
28
|
+
'maintainer': None,
|
|
29
|
+
'maintainer_email': None,
|
|
30
|
+
'url': 'https://github.com/mrcagney/gtfs_kit',
|
|
31
|
+
'packages': packages,
|
|
32
|
+
'package_data': package_data,
|
|
33
|
+
'install_requires': install_requires,
|
|
34
|
+
'python_requires': '>=3.8,<4',
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
setup(**setup_kwargs)
|
gtfs_kit-5.2.1/README.rst
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
GTFS Kit
|
|
2
|
-
********
|
|
3
|
-
.. image:: https://travis-ci.com/mrcagney/gtfs_kit.svg?branch=master
|
|
4
|
-
:target: https://travis-ci.come/mrcagney/gtfs_kit
|
|
5
|
-
|
|
6
|
-
GTFS Kit is a Python 3.8+ library for analyzing `General Transit Feed Specification (GTFS) <https://en.wikipedia.org/wiki/GTFS>`_ data in memory without a database.
|
|
7
|
-
It uses Pandas and Shapely to do the heavy lifting.
|
|
8
|
-
|
|
9
|
-
This project supersedes `GTFSTK <https://github.com/mrcagney/gtfstk>`_.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Installation
|
|
13
|
-
=============
|
|
14
|
-
``poetry add gtfs_kit``.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Examples
|
|
18
|
-
========
|
|
19
|
-
You can find examples in the Jupyter notebook ``notebooks/examples.ipynb``.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Authors
|
|
23
|
-
=========
|
|
24
|
-
- Alex Raichev, 2019-09
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Documentation
|
|
28
|
-
=============
|
|
29
|
-
Documentation is built via Sphinx from the source code in the `docs` directory then published to Github Pages at `mrcagney.github.io/gtfs_kit_docs <https://mrcagney.github.io/gtfs_kit_docs>`_.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Notes
|
|
33
|
-
=====
|
|
34
|
-
- Development status is Alpha. I use this project for work and change it breakingly to suit my needs.
|
|
35
|
-
- This project uses semantic versioning.
|
|
36
|
-
- Thanks to `MRCagney <http://www.mrcagney.com/>`_ for donating to this project.
|
|
37
|
-
- Constructive feedback and contributions are welcome. Please issue pull requests from a feature branch into the ``develop`` branch and include tests.
|
|
38
|
-
- GTFS time is measured relative noon minus 12 hours, which can mess things up when crossing into daylight savings time. I don't think this issue causes any bugs in GTFS Kit, but you and i have been warned. Thanks to derhuerst for bringing this to my attention in `closed Issue 8 <https://github.com/mrcagney/gtfs_kit/issues/8#issue-1063633457>`_.
|
gtfs_kit-5.2.1/setup.py
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
from setuptools import setup
|
|
3
|
-
|
|
4
|
-
packages = \
|
|
5
|
-
['gtfs_kit']
|
|
6
|
-
|
|
7
|
-
package_data = \
|
|
8
|
-
{'': ['*']}
|
|
9
|
-
|
|
10
|
-
install_requires = \
|
|
11
|
-
['folium>=0',
|
|
12
|
-
'geopandas>=0',
|
|
13
|
-
'json2html>=1',
|
|
14
|
-
'pandas>=1',
|
|
15
|
-
'pycountry>=19',
|
|
16
|
-
'requests>=2',
|
|
17
|
-
'rtree>=0',
|
|
18
|
-
'shapely>=1',
|
|
19
|
-
'utm>=0']
|
|
20
|
-
|
|
21
|
-
setup_kwargs = {
|
|
22
|
-
'name': 'gtfs-kit',
|
|
23
|
-
'version': '5.2.1',
|
|
24
|
-
'description': 'A Python 3.8+ library for analyzing GTFS feeds.',
|
|
25
|
-
'long_description': "GTFS Kit\n********\n.. image:: https://travis-ci.com/mrcagney/gtfs_kit.svg?branch=master\n :target: https://travis-ci.come/mrcagney/gtfs_kit\n\nGTFS Kit is a Python 3.8+ library for analyzing `General Transit Feed Specification (GTFS) <https://en.wikipedia.org/wiki/GTFS>`_ data in memory without a database.\nIt uses Pandas and Shapely to do the heavy lifting.\n\nThis project supersedes `GTFSTK <https://github.com/mrcagney/gtfstk>`_.\n\n\nInstallation\n=============\n``poetry add gtfs_kit``.\n\n\nExamples\n========\nYou can find examples in the Jupyter notebook ``notebooks/examples.ipynb``.\n\n\nAuthors\n=========\n- Alex Raichev, 2019-09\n\n\nDocumentation\n=============\nDocumentation is built via Sphinx from the source code in the `docs` directory then published to Github Pages at `mrcagney.github.io/gtfs_kit_docs <https://mrcagney.github.io/gtfs_kit_docs>`_.\n\n\nNotes\n=====\n- Development status is Alpha. I use this project for work and change it breakingly to suit my needs.\n- This project uses semantic versioning.\n- Thanks to `MRCagney <http://www.mrcagney.com/>`_ for donating to this project.\n- Constructive feedback and contributions are welcome. Please issue pull requests from a feature branch into the ``develop`` branch and include tests.\n- GTFS time is measured relative noon minus 12 hours, which can mess things up when crossing into daylight savings time. I don't think this issue causes any bugs in GTFS Kit, but you and i have been warned. Thanks to derhuerst for bringing this to my attention in `closed Issue 8 <https://github.com/mrcagney/gtfs_kit/issues/8#issue-1063633457>`_.\n",
|
|
26
|
-
'author': 'Alex Raichev',
|
|
27
|
-
'author_email': 'araichev@mrcagney.com',
|
|
28
|
-
'maintainer': None,
|
|
29
|
-
'maintainer_email': None,
|
|
30
|
-
'url': 'https://github.com/mrcagney/gtfs_kit',
|
|
31
|
-
'packages': packages,
|
|
32
|
-
'package_data': package_data,
|
|
33
|
-
'install_requires': install_requires,
|
|
34
|
-
'python_requires': '>=3.8,<4',
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
setup(**setup_kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|