map_engine
map_engine is a Python package designed to calculate the shortest route between a start and end location, with support for up to 5 additional stops. It leverages the A* algorithm for efficient pathfinding and is ideal for applications requiring custom routing logic over a road network.
Features
Single-destination routing: Quickly calculate the shortest path between two locations. Multi-stop routing: Add up to 5 additional stops to your route. Flexible inputs: Provide locations as an ordered list of addresses or coordinates. Modular design: Well-structured modules for algorithms, utilities, and visualizations. Integration-ready: Easily integrate with frontend applications, providing optimized routes.
Use following code to start using the pkg
from aStarEngine_package.algorithms.aStar_multi import astar_pathfind_multi_stop
from aStarEngine_package.utils.routing import Routing
# Load the road network
graph_path = "data/LA_road_network.graphml"
router = Routing(graph_path)
# Multi-stop route
locations = ["Venice Beach", "Staples Center", "Griffith Observatory"]
route = router.get_route(locations)
print("Multi-stop path:", route)
Metadata
Release files for aStarEngine-package 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| astarengine_package-1.0.0.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aStarEngine_package-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / astarengine_package-1.0.0.tar.gz
| Download URL | astarengine_package-1.0.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6902b49c55ee40415b4b9d3da2f8d28a3a2ed5c61416e7ba822f55a4e08c9f64
|
|
BLAKE2b-256 checksum How to use checksums |
506cb933df3aaedc0d5a8786a0f8761c338df1b7878cf67bdd24de1024c6e8e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / aStarEngine_package-1.0.0-py3-none-any.whl
| Download URL | aStarEngine_package-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
496ec6452a052870b1c6f7f57d6b18d4a73011658d7c87fa65c586d2f665bf4f
|
|
BLAKE2b-256 checksum How to use checksums |
b4a1b0d9e2873ac716b2c05a73a9d5c88c9a4a5a763b0535c397aee177638942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|