Skip to main content

Implementation of Moore's shortest path algorithm in Python

Project description

moore_algorithm

A Python implementation of Moore's shortest path algorithm.

Installation

pip install moore_algorithm
Usage
from moore import moore_shortest_path

graph = {
    'A': ['B', 'C'],
    'B': ['A', 'D', 'E'],
    'C': ['A', 'F'],
    'D': ['B'],
    'E': ['B', 'F'],
    'F': ['C', 'E']
}

print(moore_shortest_path(graph, 'A'))
License

3. Save the file.
4. Bump the version in `setup.py` (e.g. `version="1.0.6"`).
5. Rebuild and upload again:
   ```powershell
   Remove-Item -Recurse -Force dist
   python setup.py sdist bdist_wheel
   twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moore_shortest_path-1.0.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moore_shortest_path-1.0.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file moore_shortest_path-1.0.0.tar.gz.

File metadata

  • Download URL: moore_shortest_path-1.0.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for moore_shortest_path-1.0.0.tar.gz
Algorithm Hash digest
SHA256 67791f405cb7271ac42527e77c9246197bae798c9300d01baa7f01f400fde66f
MD5 5764672c03424ddfab80caefdf77d755
BLAKE2b-256 03ef0164b927c1b9c900cbb407b010e15e5b22094f632e335b2c80425383fb99

See more details on using hashes here.

File details

Details for the file moore_shortest_path-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for moore_shortest_path-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15f3cb58deccfa393aef9b7908da6f9f8ac5bace3d5498aad2660c4b7ab2f3b6
MD5 34124fe0ff80a869f162c190df45b985
BLAKE2b-256 c68628b514c350423b7b16143497d258c78d7c9265d470fde7809ad1b9d663d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page