Skip to main content

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)

Source distribution for aStarEngine-package 1.0.0
File Size Uploaded
astarengine_package-1.0.0.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aStarEngine-package 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page