Skip to main content

gridijkstra

Python package wrapping scipy's dijkstra with a grid-based interface

>>> import gridijkstra
>>> import numpy as np
>>> costs = np.ones((50, 60))
>>> costs[10:15, :20] = 1e30  # np.inf also works, but is less convenient for plotting
>>> costs[20:25, 25:55] = 1e30
>>> costs[30:40, 30:40] = 1e30
>>> start = (2, 2)
>>> target = (48, 58)
>>> total_cost, path = gridijkstra.plan(costs, start, target, return_path=True)
>>> print(f'Full path length: {total_cost}')
'Full path length: 102.0'

Three use cases are shown below. See scripts/examples.ipynb for a notebook with examples

Metadata

Release files for gridijkstra 0.1

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

Source distribution (sdist)

Source distribution for gridijkstra 0.1
File Size Uploaded Provenance Actions
gridijkstra-0.1.tar.gz 4.7 kB Without provenance Details for gridijkstra-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gridijkstra 0.1
File Interpreter ABI Platform Actions
gridijkstra-0.1-py3-none-any.whl Python 3 none any Details for gridijkstra-0.1-py3-none-any.whl

Total release size: 9.8 kB

Release files / gridijkstra-0.1.tar.gz

Download URL gridijkstra-0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
800ab2f655cce3e08657b650e42f3825aef1793945c42e0ca0c9e6404bcead59
BLAKE2b-256 checksum
How to use checksums
79d1e3259d906ec2e283834e4833d1a97c86dfbf4de70344b297a7076fb64699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Release files / gridijkstra-0.1-py3-none-any.whl

Download URL gridijkstra-0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82b6dfd6473e674999ddd68e87966f6ff789c527de029a696b1a90ab8d5a0c7e
BLAKE2b-256 checksum
How to use checksums
100e3c8892e5b04cb3a4df5e4c98a86cec92961d24d600cb0163ece8fc743efa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Security for gridijkstra 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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