Skip to content

Commit

Permalink
Merge branch 'release/4.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
araichev committed Dec 19, 2024
2 parents 16a0f3f + 7574432 commit c73e0f1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
15 changes: 12 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ Contributors

Installation
=============
To use as a library in your own project, install as a dependency with UV, say, via ``uv add make_gtfs``.
Here are instructions if you're using UV for Python dependency management.
To use as a library in your own project, install as a dependency via ``uv add make_gtfs``.
To develop the ``make_gtfs`` repo, Git clone it, then run ``uv add make_gtfs``.

If you're using Poetry or another dependency management program then change the UV commands above accordingly.

Usage
=====
Use as a library, or use from the command line by typing ``make_gtfs --help`` and following the instructions.
Use as a library, or use from the command line by typing ``uv run make_gtfs --help`` and following the instructions.
If you're using Poetry or another dependency management program then change the UV command above accordingly.

Make GTFS uses the following files to build a GTFS feed.

Expand Down Expand Up @@ -121,7 +125,7 @@ Basically,
Assign stops to each trip as follows.
Collect all stops in the built file ``stops.txt`` that are within a fixed distance of the traffic side (e.g. the right hand side for USA agency timezones and the left hand side for New Zealand agency timezones) of the trip shape.
If the trip has no nearby stops, then do not make stop times for that trip.
- Once validated, write these files to disk by running command ``feed.write("gtfsfile.zip")``.
- Once validated, write these files to disk by running command ``feed.write("gtfsfile.zip")``.


Examples
Expand All @@ -145,6 +149,11 @@ Notes
Changes
========

4.1.1, 2024-12-20
-----------------
- Added the missing Click dependency.
- Improved the usage installation and usage instructions.

4.1.0, 2024-12-19
-----------------
- Switched from Poetry to UV for project management.
Expand Down
2 changes: 1 addition & 1 deletion make_gtfs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from .hashables import *
from .main import *

__version__ = "4.1.0"
__version__ = "4.1.1"
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ authors = [
{ name = "Alexander Raichev", email = "[email protected]" },
]
dependencies = [
"click>=8.1.7",
"gtfs-kit>=8",
"pandera>=0.11.0",
]
Expand All @@ -34,7 +35,7 @@ dev-dependencies = [
"nbstripout>=0.6.1",
]

[tool.pytest.pytest.ini_options]
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"serial",
Expand Down
2 changes: 2 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c73e0f1

Please sign in to comment.