moveq
Transport-equity analysis for Python.
moveq is the umbrella package for the moveq stack. It re-exports
moveq-core (Gini, Palma, Concentration
Index, composite scoring) and
moveq-catalogue (cross-country
same / replace / omit registry) behind a single import.
Install this package unless you specifically want a slimmer dependency tree.
Installation
Requires Python 3.10+.
pip install moveq
Pandas DataFrame helpers (vulnerability indexing):
pip install "moveq[frames]"
Command-line interface:
pip install moveq-cli
Quickstart
import numpy as np
from moveq import (
compute_gini,
compute_palma_ratio,
compute_concentration_index,
compute_score,
Catalogue,
SectionAction,
)
service = np.array([10.0, 20.0, 5.0, 50.0, 8.0])
population = np.array([1000, 800, 1200, 300, 900])
deprivation_rank = np.array([1, 3, 2, 5, 4]) # 1 = most deprived
gini = compute_gini(service, population)
palma = compute_palma_ratio(service, population)
ci = compute_concentration_index(service, deprivation_rank, population)
result = compute_score(
terms={"coverage": 0.7, "evening": 0.5, "frequency": None, "gap": 0.9},
weights={"coverage": 0.40, "evening": 0.25, "frequency": 0.20, "gap": 0.15},
)
print(result.score, result.note)
moveq computes what the data shows. It does not decide policy.
Related packages
| Package | Role |
|---|---|
moveq |
Umbrella import (this package) |
moveq-core |
Pure NumPy algorithms |
moveq-catalogue |
Harmonization registry |
moveq-cli |
moveq command-line tool |
Documentation
Source, issues, and the full guides live on GitHub:
License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moveq-0.1.0.tar.gz.
File metadata
- Download URL: moveq-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b22ed5ae1532a6bc2a916b8d6c1c4db127ef30f8ad3d6f32b7097db8564bc2d
|
|
| MD5 |
1ee73ccce9eb4a5e5b1a3e0e8719fb5c
|
|
| BLAKE2b-256 |
7f07e0b8fd90e67ebbe45ee6ee29727f08b17852ab2d3701ce6fcd1dfc89da7c
|
Provenance
The following attestation bundles were made for moveq-0.1.0.tar.gz:
Publisher:
publish.yml on SVamseekar/moveq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moveq-0.1.0.tar.gz -
Subject digest:
2b22ed5ae1532a6bc2a916b8d6c1c4db127ef30f8ad3d6f32b7097db8564bc2d - Sigstore transparency entry: 2583088002
- Sigstore integration time:
-
Permalink:
SVamseekar/moveq@157e30394ff78d522786f36e0912c96becabe18c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/SVamseekar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@157e30394ff78d522786f36e0912c96becabe18c -
Trigger Event:
push
-
Statement type:
File details
Details for the file moveq-0.1.0-py3-none-any.whl.
File metadata
- Download URL: moveq-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e71da34b2a5ccaa895e6518cf5614ad7ae83b2c77ff9be41972ea789cf7c3145
|
|
| MD5 |
acef83ae517a8dcbab5521c7d5e68549
|
|
| BLAKE2b-256 |
0f7e7213ffb936d4532cc520370e55f2969b0fdd3d3d9e6e2d5e536c87a0c30a
|
Provenance
The following attestation bundles were made for moveq-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on SVamseekar/moveq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moveq-0.1.0-py3-none-any.whl -
Subject digest:
e71da34b2a5ccaa895e6518cf5614ad7ae83b2c77ff9be41972ea789cf7c3145 - Sigstore transparency entry: 2583088004
- Sigstore integration time:
-
Permalink:
SVamseekar/moveq@157e30394ff78d522786f36e0912c96becabe18c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/SVamseekar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@157e30394ff78d522786f36e0912c96becabe18c -
Trigger Event:
push
-
Statement type: