moveq-cli 0.1.0__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,128 @@
1
+ Metadata-Version: 2.4
2
+ Name: moveq-cli
3
+ Version: 0.1.2
4
+ Summary: Command-line tool for moveq: Gini, Palma, Concentration Index, composite scores, and catalogue validation from CSV or JSON.
5
+ Author-email: Soura <martisoura@gmail.com>
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: Homepage, https://github.com/SVamseekar/moveq
8
+ Project-URL: Documentation, https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md
9
+ Project-URL: Repository, https://github.com/SVamseekar/moveq
10
+ Project-URL: Issues, https://github.com/SVamseekar/moveq/issues
11
+ Project-URL: Changelog, https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md
12
+ Keywords: transport,equity,accessibility,cli,gini,palma
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Topic :: Scientific/Engineering
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Requires-Dist: moveq>=0.1.0
30
+ Provides-Extra: frames
31
+ Requires-Dist: moveq[frames]; extra == "frames"
32
+ Provides-Extra: test
33
+ Requires-Dist: pytest>=7; extra == "test"
34
+ Dynamic: license-file
35
+
36
+ # moveq-cli
37
+
38
+ **Command-line interface for [moveq](https://pypi.org/project/moveq/).**
39
+
40
+ [![PyPI](https://img.shields.io/pypi/v/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
41
+ [![Python versions](https://img.shields.io/pypi/pyversions/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
42
+ [![License](https://img.shields.io/pypi/l/moveq-cli.svg)](https://github.com/SVamseekar/moveq/blob/main/LICENSE)
43
+
44
+ Use this package when you want the equity metrics, a composite
45
+ accessibility score, or a catalogue completeness check **from a
46
+ terminal** — a CSV of areas, or a JSON config — without writing Python.
47
+
48
+ `pip install moveq-cli` installs the `moveq` console script and pulls in
49
+ `moveq` (and therefore `moveq-core` and `moveq-catalogue`). The
50
+ algorithms are the same functions as the Python API; this package is
51
+ only the argparse front-end.
52
+
53
+ ## What the commands do
54
+
55
+ **`moveq gini`** and **`moveq palma`** read a CSV and treat one column as
56
+ the service value (trips, departures, coverage) and another as the
57
+ population weight. They print a single number:
58
+
59
+ - Gini — overall inequality of that service across people (`0` = equal)
60
+ - Palma — mean service of the best-served 10% of population over the
61
+ worst-served 40%, with boundary areas split proportionally (`1` =
62
+ equal, including all-zero service; `inf` if the bottom 40% have no
63
+ service and the top 10% do not)
64
+
65
+ **`moveq ci`** is the Wagstaff Concentration Index. It needs a third
66
+ column: socioeconomic rank (`1` = most deprived in this library).
67
+ Positive values mean service is concentrated in less-deprived areas;
68
+ negative values mean the opposite.
69
+
70
+ **`moveq score`** builds a 0–100 weighted composite. Terms live in
71
+ `[0, 1]`; JSON `null` means “this term was not collected.” Missing terms
72
+ are dropped and remaining weights are renormalised — they are never
73
+ treated as zero. You can pass terms and weights on the command line or
74
+ in a JSON file (`--json`).
75
+
76
+ **`moveq catalogue validate`** checks a country catalogue JSON against
77
+ the same / replace / omit rules: every base section must have an
78
+ explicit decision, replacements need a title, omissions need a note.
79
+
80
+ Column names are whatever your CSV actually uses; you point at them with
81
+ `--value`, `--weight`, and `--rank`.
82
+
83
+ ## Installation
84
+
85
+ Requires Python 3.10+.
86
+
87
+ ```bash
88
+ pip install moveq-cli
89
+ ```
90
+
91
+ ## Examples
92
+
93
+ Inequality from a CSV (headers `trips`, `population`, `deprivation_rank`):
94
+
95
+ ```bash
96
+ moveq gini data.csv --value trips --weight population
97
+ moveq palma data.csv --value trips --weight population
98
+ moveq ci data.csv --value trips --rank deprivation_rank --weight population
99
+ ```
100
+
101
+ Composite score, inline or from a file:
102
+
103
+ ```bash
104
+ moveq score \
105
+ --terms '{"coverage": 0.8, "evening": 0.5, "frequency": null}' \
106
+ --weights '{"coverage": 0.5, "evening": 0.3, "frequency": 0.2}'
107
+
108
+ moveq score score_config.json --json
109
+ ```
110
+
111
+ Catalogue file:
112
+
113
+ ```bash
114
+ moveq catalogue validate country_catalogue.json
115
+ ```
116
+
117
+ ## Documentation
118
+
119
+ - [Getting started and CLI guide](https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md)
120
+ - [Methodology](https://github.com/SVamseekar/moveq/blob/main/docs/methodology.md)
121
+ - [API reference](https://github.com/SVamseekar/moveq/blob/main/docs/api_reference.md)
122
+ - [Umbrella package](https://pypi.org/project/moveq/)
123
+ - [Source](https://github.com/SVamseekar/moveq)
124
+ - [Changelog](https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md)
125
+
126
+ ## License
127
+
128
+ [BSD 3-Clause](https://github.com/SVamseekar/moveq/blob/main/LICENSE).
@@ -0,0 +1,93 @@
1
+ # moveq-cli
2
+
3
+ **Command-line interface for [moveq](https://pypi.org/project/moveq/).**
4
+
5
+ [![PyPI](https://img.shields.io/pypi/v/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
6
+ [![Python versions](https://img.shields.io/pypi/pyversions/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
7
+ [![License](https://img.shields.io/pypi/l/moveq-cli.svg)](https://github.com/SVamseekar/moveq/blob/main/LICENSE)
8
+
9
+ Use this package when you want the equity metrics, a composite
10
+ accessibility score, or a catalogue completeness check **from a
11
+ terminal** — a CSV of areas, or a JSON config — without writing Python.
12
+
13
+ `pip install moveq-cli` installs the `moveq` console script and pulls in
14
+ `moveq` (and therefore `moveq-core` and `moveq-catalogue`). The
15
+ algorithms are the same functions as the Python API; this package is
16
+ only the argparse front-end.
17
+
18
+ ## What the commands do
19
+
20
+ **`moveq gini`** and **`moveq palma`** read a CSV and treat one column as
21
+ the service value (trips, departures, coverage) and another as the
22
+ population weight. They print a single number:
23
+
24
+ - Gini — overall inequality of that service across people (`0` = equal)
25
+ - Palma — mean service of the best-served 10% of population over the
26
+ worst-served 40%, with boundary areas split proportionally (`1` =
27
+ equal, including all-zero service; `inf` if the bottom 40% have no
28
+ service and the top 10% do not)
29
+
30
+ **`moveq ci`** is the Wagstaff Concentration Index. It needs a third
31
+ column: socioeconomic rank (`1` = most deprived in this library).
32
+ Positive values mean service is concentrated in less-deprived areas;
33
+ negative values mean the opposite.
34
+
35
+ **`moveq score`** builds a 0–100 weighted composite. Terms live in
36
+ `[0, 1]`; JSON `null` means “this term was not collected.” Missing terms
37
+ are dropped and remaining weights are renormalised — they are never
38
+ treated as zero. You can pass terms and weights on the command line or
39
+ in a JSON file (`--json`).
40
+
41
+ **`moveq catalogue validate`** checks a country catalogue JSON against
42
+ the same / replace / omit rules: every base section must have an
43
+ explicit decision, replacements need a title, omissions need a note.
44
+
45
+ Column names are whatever your CSV actually uses; you point at them with
46
+ `--value`, `--weight`, and `--rank`.
47
+
48
+ ## Installation
49
+
50
+ Requires Python 3.10+.
51
+
52
+ ```bash
53
+ pip install moveq-cli
54
+ ```
55
+
56
+ ## Examples
57
+
58
+ Inequality from a CSV (headers `trips`, `population`, `deprivation_rank`):
59
+
60
+ ```bash
61
+ moveq gini data.csv --value trips --weight population
62
+ moveq palma data.csv --value trips --weight population
63
+ moveq ci data.csv --value trips --rank deprivation_rank --weight population
64
+ ```
65
+
66
+ Composite score, inline or from a file:
67
+
68
+ ```bash
69
+ moveq score \
70
+ --terms '{"coverage": 0.8, "evening": 0.5, "frequency": null}' \
71
+ --weights '{"coverage": 0.5, "evening": 0.3, "frequency": 0.2}'
72
+
73
+ moveq score score_config.json --json
74
+ ```
75
+
76
+ Catalogue file:
77
+
78
+ ```bash
79
+ moveq catalogue validate country_catalogue.json
80
+ ```
81
+
82
+ ## Documentation
83
+
84
+ - [Getting started and CLI guide](https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md)
85
+ - [Methodology](https://github.com/SVamseekar/moveq/blob/main/docs/methodology.md)
86
+ - [API reference](https://github.com/SVamseekar/moveq/blob/main/docs/api_reference.md)
87
+ - [Umbrella package](https://pypi.org/project/moveq/)
88
+ - [Source](https://github.com/SVamseekar/moveq)
89
+ - [Changelog](https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md)
90
+
91
+ ## License
92
+
93
+ [BSD 3-Clause](https://github.com/SVamseekar/moveq/blob/main/LICENSE).
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "moveq-cli"
7
- version = "0.1.0"
8
- description = "Command-line tool for moveq — compute equity metrics from CSV or JSON without writing Python."
7
+ version = "0.1.2"
8
+ description = "Command-line tool for moveq: Gini, Palma, Concentration Index, composite scores, and catalogue validation from CSV or JSON."
9
9
  readme = "README.md"
10
10
  license = "BSD-3-Clause"
11
11
  license-files = ["LICENSE"]
@@ -1,3 +1,3 @@
1
1
  """moveq-cli — command-line tool for moveq."""
2
2
 
3
- __version__ = "0.1.0"
3
+ __version__ = "0.1.2"
@@ -0,0 +1,128 @@
1
+ Metadata-Version: 2.4
2
+ Name: moveq-cli
3
+ Version: 0.1.2
4
+ Summary: Command-line tool for moveq: Gini, Palma, Concentration Index, composite scores, and catalogue validation from CSV or JSON.
5
+ Author-email: Soura <martisoura@gmail.com>
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: Homepage, https://github.com/SVamseekar/moveq
8
+ Project-URL: Documentation, https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md
9
+ Project-URL: Repository, https://github.com/SVamseekar/moveq
10
+ Project-URL: Issues, https://github.com/SVamseekar/moveq/issues
11
+ Project-URL: Changelog, https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md
12
+ Keywords: transport,equity,accessibility,cli,gini,palma
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Topic :: Scientific/Engineering
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Requires-Dist: moveq>=0.1.0
30
+ Provides-Extra: frames
31
+ Requires-Dist: moveq[frames]; extra == "frames"
32
+ Provides-Extra: test
33
+ Requires-Dist: pytest>=7; extra == "test"
34
+ Dynamic: license-file
35
+
36
+ # moveq-cli
37
+
38
+ **Command-line interface for [moveq](https://pypi.org/project/moveq/).**
39
+
40
+ [![PyPI](https://img.shields.io/pypi/v/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
41
+ [![Python versions](https://img.shields.io/pypi/pyversions/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
42
+ [![License](https://img.shields.io/pypi/l/moveq-cli.svg)](https://github.com/SVamseekar/moveq/blob/main/LICENSE)
43
+
44
+ Use this package when you want the equity metrics, a composite
45
+ accessibility score, or a catalogue completeness check **from a
46
+ terminal** — a CSV of areas, or a JSON config — without writing Python.
47
+
48
+ `pip install moveq-cli` installs the `moveq` console script and pulls in
49
+ `moveq` (and therefore `moveq-core` and `moveq-catalogue`). The
50
+ algorithms are the same functions as the Python API; this package is
51
+ only the argparse front-end.
52
+
53
+ ## What the commands do
54
+
55
+ **`moveq gini`** and **`moveq palma`** read a CSV and treat one column as
56
+ the service value (trips, departures, coverage) and another as the
57
+ population weight. They print a single number:
58
+
59
+ - Gini — overall inequality of that service across people (`0` = equal)
60
+ - Palma — mean service of the best-served 10% of population over the
61
+ worst-served 40%, with boundary areas split proportionally (`1` =
62
+ equal, including all-zero service; `inf` if the bottom 40% have no
63
+ service and the top 10% do not)
64
+
65
+ **`moveq ci`** is the Wagstaff Concentration Index. It needs a third
66
+ column: socioeconomic rank (`1` = most deprived in this library).
67
+ Positive values mean service is concentrated in less-deprived areas;
68
+ negative values mean the opposite.
69
+
70
+ **`moveq score`** builds a 0–100 weighted composite. Terms live in
71
+ `[0, 1]`; JSON `null` means “this term was not collected.” Missing terms
72
+ are dropped and remaining weights are renormalised — they are never
73
+ treated as zero. You can pass terms and weights on the command line or
74
+ in a JSON file (`--json`).
75
+
76
+ **`moveq catalogue validate`** checks a country catalogue JSON against
77
+ the same / replace / omit rules: every base section must have an
78
+ explicit decision, replacements need a title, omissions need a note.
79
+
80
+ Column names are whatever your CSV actually uses; you point at them with
81
+ `--value`, `--weight`, and `--rank`.
82
+
83
+ ## Installation
84
+
85
+ Requires Python 3.10+.
86
+
87
+ ```bash
88
+ pip install moveq-cli
89
+ ```
90
+
91
+ ## Examples
92
+
93
+ Inequality from a CSV (headers `trips`, `population`, `deprivation_rank`):
94
+
95
+ ```bash
96
+ moveq gini data.csv --value trips --weight population
97
+ moveq palma data.csv --value trips --weight population
98
+ moveq ci data.csv --value trips --rank deprivation_rank --weight population
99
+ ```
100
+
101
+ Composite score, inline or from a file:
102
+
103
+ ```bash
104
+ moveq score \
105
+ --terms '{"coverage": 0.8, "evening": 0.5, "frequency": null}' \
106
+ --weights '{"coverage": 0.5, "evening": 0.3, "frequency": 0.2}'
107
+
108
+ moveq score score_config.json --json
109
+ ```
110
+
111
+ Catalogue file:
112
+
113
+ ```bash
114
+ moveq catalogue validate country_catalogue.json
115
+ ```
116
+
117
+ ## Documentation
118
+
119
+ - [Getting started and CLI guide](https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md)
120
+ - [Methodology](https://github.com/SVamseekar/moveq/blob/main/docs/methodology.md)
121
+ - [API reference](https://github.com/SVamseekar/moveq/blob/main/docs/api_reference.md)
122
+ - [Umbrella package](https://pypi.org/project/moveq/)
123
+ - [Source](https://github.com/SVamseekar/moveq)
124
+ - [Changelog](https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md)
125
+
126
+ ## License
127
+
128
+ [BSD 3-Clause](https://github.com/SVamseekar/moveq/blob/main/LICENSE).
moveq_cli-0.1.0/PKG-INFO DELETED
@@ -1,91 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: moveq-cli
3
- Version: 0.1.0
4
- Summary: Command-line tool for moveq — compute equity metrics from CSV or JSON without writing Python.
5
- Author-email: Soura <martisoura@gmail.com>
6
- License-Expression: BSD-3-Clause
7
- Project-URL: Homepage, https://github.com/SVamseekar/moveq
8
- Project-URL: Documentation, https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md
9
- Project-URL: Repository, https://github.com/SVamseekar/moveq
10
- Project-URL: Issues, https://github.com/SVamseekar/moveq/issues
11
- Project-URL: Changelog, https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md
12
- Keywords: transport,equity,accessibility,cli,gini,palma
13
- Classifier: Development Status :: 3 - Alpha
14
- Classifier: Environment :: Console
15
- Classifier: Intended Audience :: Science/Research
16
- Classifier: Intended Audience :: Developers
17
- Classifier: Operating System :: OS Independent
18
- Classifier: Programming Language :: Python
19
- Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Programming Language :: Python :: 3.11
23
- Classifier: Programming Language :: Python :: 3.12
24
- Classifier: Programming Language :: Python :: 3.13
25
- Classifier: Topic :: Scientific/Engineering
26
- Requires-Python: >=3.10
27
- Description-Content-Type: text/markdown
28
- License-File: LICENSE
29
- Requires-Dist: moveq>=0.1.0
30
- Provides-Extra: frames
31
- Requires-Dist: moveq[frames]; extra == "frames"
32
- Provides-Extra: test
33
- Requires-Dist: pytest>=7; extra == "test"
34
- Dynamic: license-file
35
-
36
- # moveq-cli
37
-
38
- Command-line interface for [`moveq`](https://pypi.org/project/moveq/): compute
39
- equity metrics, composite accessibility scores, and validate country
40
- harmonization catalogues from CSV or JSON without writing Python.
41
-
42
- [![PyPI](https://img.shields.io/pypi/v/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
43
- [![Python versions](https://img.shields.io/pypi/pyversions/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
44
- [![License](https://img.shields.io/pypi/l/moveq-cli.svg)](https://github.com/SVamseekar/moveq/blob/main/LICENSE)
45
-
46
- ## Installation
47
-
48
- Requires Python 3.10+.
49
-
50
- ```bash
51
- pip install moveq-cli
52
- ```
53
-
54
- This installs the `moveq` console script and pulls in `moveq` (and therefore
55
- `moveq-core` and `moveq-catalogue`).
56
-
57
- ## Commands
58
-
59
- ### Inequality metrics from CSV
60
-
61
- ```bash
62
- moveq gini data.csv --value trips --weight population
63
- moveq palma data.csv --value trips --weight population
64
- moveq ci data.csv --value trips --rank deprivation_rank --weight population
65
- ```
66
-
67
- ### Composite scoring
68
-
69
- ```bash
70
- moveq score --terms '{"coverage": 0.8, "evening": 0.5, "frequency": null}' \
71
- --weights '{"coverage": 0.5, "evening": 0.3, "frequency": 0.2}'
72
-
73
- moveq score score_config.json --json
74
- ```
75
-
76
- ### Catalogue validation
77
-
78
- ```bash
79
- moveq catalogue validate country_catalogue.json
80
- ```
81
-
82
- ## Documentation
83
-
84
- - [Getting started & CLI guide](https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md)
85
- - [API reference](https://github.com/SVamseekar/moveq/blob/main/docs/api_reference.md)
86
- - [Source repository](https://github.com/SVamseekar/moveq)
87
- - [Changelog](https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md)
88
-
89
- ## License
90
-
91
- [BSD 3-Clause](https://github.com/SVamseekar/moveq/blob/main/LICENSE).
moveq_cli-0.1.0/README.md DELETED
@@ -1,56 +0,0 @@
1
- # moveq-cli
2
-
3
- Command-line interface for [`moveq`](https://pypi.org/project/moveq/): compute
4
- equity metrics, composite accessibility scores, and validate country
5
- harmonization catalogues from CSV or JSON without writing Python.
6
-
7
- [![PyPI](https://img.shields.io/pypi/v/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
8
- [![Python versions](https://img.shields.io/pypi/pyversions/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
9
- [![License](https://img.shields.io/pypi/l/moveq-cli.svg)](https://github.com/SVamseekar/moveq/blob/main/LICENSE)
10
-
11
- ## Installation
12
-
13
- Requires Python 3.10+.
14
-
15
- ```bash
16
- pip install moveq-cli
17
- ```
18
-
19
- This installs the `moveq` console script and pulls in `moveq` (and therefore
20
- `moveq-core` and `moveq-catalogue`).
21
-
22
- ## Commands
23
-
24
- ### Inequality metrics from CSV
25
-
26
- ```bash
27
- moveq gini data.csv --value trips --weight population
28
- moveq palma data.csv --value trips --weight population
29
- moveq ci data.csv --value trips --rank deprivation_rank --weight population
30
- ```
31
-
32
- ### Composite scoring
33
-
34
- ```bash
35
- moveq score --terms '{"coverage": 0.8, "evening": 0.5, "frequency": null}' \
36
- --weights '{"coverage": 0.5, "evening": 0.3, "frequency": 0.2}'
37
-
38
- moveq score score_config.json --json
39
- ```
40
-
41
- ### Catalogue validation
42
-
43
- ```bash
44
- moveq catalogue validate country_catalogue.json
45
- ```
46
-
47
- ## Documentation
48
-
49
- - [Getting started & CLI guide](https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md)
50
- - [API reference](https://github.com/SVamseekar/moveq/blob/main/docs/api_reference.md)
51
- - [Source repository](https://github.com/SVamseekar/moveq)
52
- - [Changelog](https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md)
53
-
54
- ## License
55
-
56
- [BSD 3-Clause](https://github.com/SVamseekar/moveq/blob/main/LICENSE).
@@ -1,91 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: moveq-cli
3
- Version: 0.1.0
4
- Summary: Command-line tool for moveq — compute equity metrics from CSV or JSON without writing Python.
5
- Author-email: Soura <martisoura@gmail.com>
6
- License-Expression: BSD-3-Clause
7
- Project-URL: Homepage, https://github.com/SVamseekar/moveq
8
- Project-URL: Documentation, https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md
9
- Project-URL: Repository, https://github.com/SVamseekar/moveq
10
- Project-URL: Issues, https://github.com/SVamseekar/moveq/issues
11
- Project-URL: Changelog, https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md
12
- Keywords: transport,equity,accessibility,cli,gini,palma
13
- Classifier: Development Status :: 3 - Alpha
14
- Classifier: Environment :: Console
15
- Classifier: Intended Audience :: Science/Research
16
- Classifier: Intended Audience :: Developers
17
- Classifier: Operating System :: OS Independent
18
- Classifier: Programming Language :: Python
19
- Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Programming Language :: Python :: 3.11
23
- Classifier: Programming Language :: Python :: 3.12
24
- Classifier: Programming Language :: Python :: 3.13
25
- Classifier: Topic :: Scientific/Engineering
26
- Requires-Python: >=3.10
27
- Description-Content-Type: text/markdown
28
- License-File: LICENSE
29
- Requires-Dist: moveq>=0.1.0
30
- Provides-Extra: frames
31
- Requires-Dist: moveq[frames]; extra == "frames"
32
- Provides-Extra: test
33
- Requires-Dist: pytest>=7; extra == "test"
34
- Dynamic: license-file
35
-
36
- # moveq-cli
37
-
38
- Command-line interface for [`moveq`](https://pypi.org/project/moveq/): compute
39
- equity metrics, composite accessibility scores, and validate country
40
- harmonization catalogues from CSV or JSON without writing Python.
41
-
42
- [![PyPI](https://img.shields.io/pypi/v/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
43
- [![Python versions](https://img.shields.io/pypi/pyversions/moveq-cli.svg)](https://pypi.org/project/moveq-cli/)
44
- [![License](https://img.shields.io/pypi/l/moveq-cli.svg)](https://github.com/SVamseekar/moveq/blob/main/LICENSE)
45
-
46
- ## Installation
47
-
48
- Requires Python 3.10+.
49
-
50
- ```bash
51
- pip install moveq-cli
52
- ```
53
-
54
- This installs the `moveq` console script and pulls in `moveq` (and therefore
55
- `moveq-core` and `moveq-catalogue`).
56
-
57
- ## Commands
58
-
59
- ### Inequality metrics from CSV
60
-
61
- ```bash
62
- moveq gini data.csv --value trips --weight population
63
- moveq palma data.csv --value trips --weight population
64
- moveq ci data.csv --value trips --rank deprivation_rank --weight population
65
- ```
66
-
67
- ### Composite scoring
68
-
69
- ```bash
70
- moveq score --terms '{"coverage": 0.8, "evening": 0.5, "frequency": null}' \
71
- --weights '{"coverage": 0.5, "evening": 0.3, "frequency": 0.2}'
72
-
73
- moveq score score_config.json --json
74
- ```
75
-
76
- ### Catalogue validation
77
-
78
- ```bash
79
- moveq catalogue validate country_catalogue.json
80
- ```
81
-
82
- ## Documentation
83
-
84
- - [Getting started & CLI guide](https://github.com/SVamseekar/moveq/blob/main/docs/getting_started.md)
85
- - [API reference](https://github.com/SVamseekar/moveq/blob/main/docs/api_reference.md)
86
- - [Source repository](https://github.com/SVamseekar/moveq)
87
- - [Changelog](https://github.com/SVamseekar/moveq/blob/main/CHANGELOG.md)
88
-
89
- ## License
90
-
91
- [BSD 3-Clause](https://github.com/SVamseekar/moveq/blob/main/LICENSE).
File without changes
File without changes
File without changes