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. 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% (
1= equal;infif the bottom 40% have no service)
moveq ci is the Wagstaff Concentration Index. It needs a third
column: socioeconomic rank (1 = most deprived in this library).
Positive values mean service is concentrated in less-deprived areas;
negative values mean the opposite.
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.
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
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
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_cli-0.1.1.tar.gz.
File metadata
- Download URL: moveq_cli-0.1.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bc9dd7ff6172904497dcf6af01c7bbbfb693bfc5c0a628c54f5bd4907b7c6ff
|
|
| MD5 |
18a8d2c8d819c3b7997b3e290f5f6980
|
|
| BLAKE2b-256 |
fe3a43a833647b28576ec2df308f94905412d6e348b977aa4b7c6b2801916ef6
|
Provenance
The following attestation bundles were made for moveq_cli-0.1.1.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_cli-0.1.1.tar.gz -
Subject digest:
1bc9dd7ff6172904497dcf6af01c7bbbfb693bfc5c0a628c54f5bd4907b7c6ff - Sigstore transparency entry: 2583107035
- Sigstore integration time:
-
Permalink:
SVamseekar/moveq@064f07346e0c48580e898a05fc75d05d6fc78ded -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SVamseekar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@064f07346e0c48580e898a05fc75d05d6fc78ded -
Trigger Event:
push
-
Statement type:
File details
Details for the file moveq_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: moveq_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.2 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 |
5b9a7d95feb5b81fe33520a1c8d6f9b1a61ae88d74bbdc890bddda3d5b8d41f3
|
|
| MD5 |
9d72e182c88200d68a3ef59c3fb438ae
|
|
| BLAKE2b-256 |
606c2ff43566715d9c11e883de62a1e50818b2c0c00fa1f171e16c9d5dbdc115
|
Provenance
The following attestation bundles were made for moveq_cli-0.1.1-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_cli-0.1.1-py3-none-any.whl -
Subject digest:
5b9a7d95feb5b81fe33520a1c8d6f9b1a61ae88d74bbdc890bddda3d5b8d41f3 - Sigstore transparency entry: 2583107055
- Sigstore integration time:
-
Permalink:
SVamseekar/moveq@064f07346e0c48580e898a05fc75d05d6fc78ded -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SVamseekar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@064f07346e0c48580e898a05fc75d05d6fc78ded -
Trigger Event:
push
-
Statement type: