Skip to main content

W9-Pathfinding

W9-Pathfinding is a versatile pathfinding library written in C++ with a Python interface provided by Cython. It offers a variety of pathfinding algorithms for navigating different types of maps, including grids, graphs, and 3D spaces. The library includes both classic pathfinding algorithms and multi-agent pathfinding algorithms.

Full documentation is available at: https://w9-pathfinding.readthedocs.io/stable

Apache-2.0 license PyPI

Key Features:

  • Supports multiple environments: graphs, 2D/3D grids, and hexagonal grids
  • Works with both weighted and unweighted environments
  • Includes classical pathfinding algorithms (BFS, Dijkstra, A*, etc.)
  • Includes multi-agent pathfinding algorithms (CBS, ICTS, WHCA*, and more)
  • Supports pathfinding with dynamic obstacles
  • Built-in visualization tools for debugging and demonstrations

Quick start:

from w9_pathfinding.envs import Grid
from w9_pathfinding.pf import Dijkstra

grid = Grid(width=4, height=3)
grid.add_obstacle((1, 1))

finder = Dijkstra(grid)
path = finder.find_path((0, 0), (3, 2))
print(path)

See more examples in the Usage Guide.

Installation:

pip install w9-pathfinding

Metadata

Release files for w9-pathfinding 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for w9-pathfinding 0.1.3
File Size Uploaded Provenance Actions
w9_pathfinding-0.1.3.tar.gz 76.2 kB Without provenance Details for w9_pathfinding-0.1.3.tar.gz

Release files / w9_pathfinding-0.1.3.tar.gz

Download URL w9_pathfinding-0.1.3.tar.gz
Size 76.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0281b6778b7bbe8a53c512a3a02b52ad098d663ead49d86814c29dfca2db9632
BLAKE2b-256 checksum
How to use checksums
dd62cc43a6a9436a027214688cbbd5b528b9077d8b12eb31e5d16d6bcf5fb2eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Security for w9-pathfinding 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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