$npx skillfedfor your agent

Dijkstar

Dijkstra/A*

Worth itPyPI MathematicsReleased Mar 202176.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — Dijkstar-2.6.0-py3-none-any.whl
v2.6.0 · released 2021-03-30 · 1 runtime deps: six

Yes. Dijkstar is a mature, actively maintained implementation of a foundational algorithm with no known vulnerabilities, permissive licensing, and minimal dependencies. Install it if you need Dijkstra or A* pathfinding in a graph. The last release was 2021-03-30; verify that Python version support meets your requirements before adopting.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single lightweight dependency (six).
  • The package is actively maintained with recent commits and has been stable since its early releases.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

last release 2021-03-30 (1963 days) · last repo commit 2026-05-12 · 58 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,948 downloads/mo, #14,573 on PyPI

Verify before relying

from dijkstar import Graph, find_path

graph = Graph()
graph.add_edge(1, 2, 110)
graph.add_edge(2, 3, 125)
graph.add_edge(3, 4, 108)
result = find_path(graph, 1, 4)
print(result.total_cost)
  • Whether the package supports modern Python versions beyond 3.9 (classifiers list ends there; last release was 2021-03-30)
  • Performance characteristics or scalability limits for large graphs
  • Whether heuristic function API is documented for A* use cases
Same gist for agents: .md · .json

What it is and what it does

Dijkstar is a graph pathfinding library that implements Dijkstra's algorithm for finding shortest paths between nodes in a weighted graph. It can operate in single-destination mode (halting when a target is reached) or compute paths from a source to all reachable nodes. The library supports optional cost functions to compute edge weights dynamically during traversal and optional heuristic functions to convert the algorithm to A* search, steering it toward a destination rather than exploring uniformly.

The package provides a simple Graph class for building networks by adding weighted edges, and a find_path function that returns path information including the sequence of nodes, individual edge costs, and total cost. It also supports graph serialization via pickle for saving and loading. With only six as a runtime dependency and low install friction, it integrates easily into projects needing graph algorithms.

Use it for

  • Route planning in navigation systems or street networks with dynamic cost adjustments for street names or traffic conditions
  • Game pathfinding using A* heuristics to find efficient paths for NPCs or agents toward goals
  • Network routing or resource allocation problems where you need optimal paths between nodes with weighted connections
  • Analyzing connectivity in social networks or knowledge graphs to find shortest relationship chains
  • Robotics motion planning to compute efficient paths through obstacle-aware weighted environments

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Dijkstar is a mature, actively maintained implementation of a foundational algorithm with no known vulnerabilities, permissive licensing, and minimal dependencies. Install it if you need Dijkstra or A* pathfinding in a graph. The last release was 2021-03-30; verify that Python version support meets your requirements before adopting.

Install

dijkstar on PyPI

Before you install

Low friction install with a single lightweight dependency (six). The package is actively maintained with recent commits and has been stable since its early releases.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

Quickstart

from dijkstar import Graph, find_path

graph = Graph()
graph.add_edge(1, 2, 110)
graph.add_edge(2, 3, 125)
graph.add_edge(3, 4, 108)
result = find_path(graph, 1, 4)
print(result.total_cost)

Verify before relying

  • Whether the package supports modern Python versions beyond 3.9 (classifiers list ends there; last release was 2021-03-30)
  • Performance characteristics or scalability limits for large graphs
  • Whether heuristic function API is documented for A* use cases

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
six
MaintenanceActively maintained 1,963 days since the last release
Last repo commit
First released
Downloads76,948 / month, #14,573 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: Dijkstar-2.6.0-py3-none-any.whl

Tags

Capabilities
dijkstra shortest path algorithmA* pathfinding graphweighted graph traversalsingle-source shortest pathsgraph path findingdijkstra a-star implementation
Topics
graph-algorithmspathfinding
PyPI keywords
DijkstraA*algorithms

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “dijkstra shortest path algorithm”

  • DijkstarDijkstar implements Dijkstra's shortest-path algorithm and A* search,…
  • HeapDictHeapDict is a mutable mapping that acts as a priority queue,…
  • rustworkxA high-performance graph library for Python, written in Rust,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also minorminer · searoute · altgraph · toposort · objectgraph · munkres · grandalf · HeapDict · roundrobin