Show HN: US Routing – Python library for fast local routing in the United States
a year ago
- #Python
- #US
- #Routing
- US Routing is a Python library for fast local routing in the United States.
- It bootstraps from the North American Roads dataset.
- Install via pip: `pip install us-routing` or via Poetry by cloning the repository.
- Example usage includes routing between cities, zip codes, or coordinates.
- Provides detailed route information like distance, duration, and steps.
- Includes functionality to download and process the North American Roads dataset.
- Development setup involves cloning the repo and installing dependencies with Poetry.
- Offers a BaseRouter class for custom routing graphs from shapefiles.
- Contributions are welcome via Pull Requests.