well-routing
Calculate well routing based on IOC rate distribution models "8002 - Rate distribution", flowline models "8110 - FLOWLINE RATE" and manifold models "8200 - MANIFOLD RATE". Also queries a list of known wells, pipes and separators.
Creates a set of Nodes and Edges and converts them to a directed graph structure for pathfinding and optimization.
Example Usage
The populate.py script demonstrates how to use these classes:
from classes import Graph
start_time = "01-Dec-2025"
stop_time = "05-Dec-2025"
chosen_time = "01-Dec-2025 12:00"
g = Graph.get_asset_graph(
stid_code=asset, start_time=start_time, stop_time=stop_time
)
G = g.convert_to_networkx(timestamp=pd.to_datetime(chosen_time))
Installation
Install for use
Install from pypi using pip install well-routing.
Development
Clone repository git clone https://github.com/equinor/well-routing and install dependencies using uv uv sync.
Install with pygraphviz
Mac
Typically pygraph application is installed using brew on mac. brew install pygraph.
uv sync --all-extras \
--config-settings=--global-option=build_ext \
--config-settings=--global-option="-I$(brew --prefix graphviz)/include" \
--config-settings=--global-option="-L$(brew --prefix graphviz)/lib"
Windows
See install documentation at https://pygraphviz.github.io/documentation/stable/install.html#manual-download.
Metadata
Release files for well-routing 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| well_routing-0.3.0.tar.gz | 11.8 kB | Without provenance | Details for well_routing-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| well_routing-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for well_routing-0.3.0-py3-none-any.whl |
Total release size: 24.3 kB
Release files / well_routing-0.3.0.tar.gz
| Download URL | well_routing-0.3.0.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de42db8f4c8200a9c7236982df2d0ab556b32b0b377d437ce6961def810f9b81
|
|
BLAKE2b-256 checksum How to use checksums |
9a8531549cbb52671b952d004ce463008d4ab1850349e3451018c7be19512bc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.7 Darwin/25.6.0
|
Release files / well_routing-0.3.0-py3-none-any.whl
| Download URL | well_routing-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96d200862f20871046ffbfc07734e4833f406424fa69dd33bb775eb338968cdc
|
|
BLAKE2b-256 checksum How to use checksums |
f663f3af6775a1a20193e102240f4a6883ed608995ced75d5f3090ccefc79d5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.7 Darwin/25.6.0
|
Security for well-routing 0.3.0
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.