moveq-cli
Command-line interface for moveq.
Use this package when you want the equity metrics, a composite accessibility score, or a catalogue completeness check from a terminal — a CSV of areas, or a JSON config — without writing Python.
pip install moveq-cli installs the moveq console script and pulls in
moveq (and therefore moveq-core and moveq-catalogue). The
algorithms are the same functions as the Python API; this package is
only the argparse front-end.
What the commands do
moveq gini and moveq palma read a CSV and treat one column as
the service value (trips, departures, coverage) and another as the
population weight. By default they print a single number:
- Gini — overall inequality of that service across people (
0= equal) - Palma — mean service of the best-served 10% of population over the
worst-served 40%, with boundary areas split proportionally (
1= equal, including all-zero service;infif the bottom 40% have no service and the top 10% do not)
moveq ci is the Wagstaff Concentration Index. It needs a rank
column and --rank-direction (higher-is-advantaged or
higher-is-disadvantaged). Positive values are advantage-concentrated;
negative values are disadvantage-concentrated. A zero or cancelled mean
exits with code 3.
moveq score builds a 0–100 weighted composite. Terms live in
[0, 1]; JSON null means “this term was not collected.” Missing terms
are dropped and remaining weights are renormalised — they are never
treated as zero. You can pass terms and weights on the command line or
in a JSON file (--json).
moveq catalogue validate checks a country catalogue JSON against
the same / replace / omit rules: every base section must have an
explicit decision, replacements need a title, omissions need a note.
moveq gini, moveq palma, and moveq ci accept --json to print the
full EquityResult (metric, value, method, n_areas, warnings).
The default line is unchanged.
Column names are whatever your CSV actually uses; you point at them with
--value, --weight, and --rank.
Installation
Requires Python 3.10+.
pip install moveq-cli
Examples
Inequality from a CSV (headers trips, population, deprivation_rank):
moveq gini data.csv --value trips --weight population
moveq palma data.csv --value trips --weight population
moveq ci data.csv --value trips --rank deprivation_rank --weight population --rank-direction higher-is-advantaged
Composite score, inline or from a file:
moveq score \
--terms '{"coverage": 0.8, "evening": 0.5, "frequency": null}' \
--weights '{"coverage": 0.5, "evening": 0.3, "frequency": 0.2}'
moveq score score_config.json --json
Catalogue file:
moveq catalogue validate country_catalogue.json
Documentation
License
Metadata
Release files for moveq-cli 0.2.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 | |
|---|---|---|---|
| moveq_cli-0.2.0.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moveq_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.8 kB
Release files / moveq_cli-0.2.0.tar.gz
| Download URL | moveq_cli-0.2.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30b1e4dc0683b0c71cf7bad95fcd409cdc12493c4053ea3d34114af237ed8c47
|
|
BLAKE2b-256 checksum How to use checksums |
9c333694ddd2934aa22e1792dba06a5561a113120502436fac8a0f9a52371a58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logRelease files / moveq_cli-0.2.0-py3-none-any.whl
| Download URL | moveq_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53d961b4f1594152f92535b8fcb11bfb71af8cbc5b9706ff30b408b07daee31a
|
|
BLAKE2b-256 checksum How to use checksums |
f805aceba9880cc92bd856e023313c4cefb268316ab84c48e733358b87b816d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency log