moveq-catalogue
Registry for the same / replace / omit pattern used to extend one country's section questionnaire to another country without silent omissions.
- same — the question carries over; only the local data source changes
- replace — the question does not transfer; a locally meaningful replacement is required
- omit — no small-area variable exists; the section is dropped with a note
Most applications should install the umbrella package instead:
pip install moveq
Installation
Requires Python 3.10+.
pip install moveq-catalogue
Usage
from moveq_catalogue import Catalogue, SectionAction
base_sections = ["coverage_pct", "service_deserts", "policy_scenarios"]
ie = Catalogue(base_sections, country="ireland")
ie.register("coverage_pct", SectionAction.SAME, note="TFI x CSO Small Area")
ie.register("service_deserts", SectionAction.SAME)
ie.register(
"policy_scenarios",
SectionAction.REPLACE,
replacement_title="Connecting Ireland / Local Link / BusConnects",
)
assert ie.validate() == [] # every base section has been decided
print(ie.summary()) # {'same': 2, 'replace': 1, 'omit': 0}
validate() is the whole point of this package: it fails if a new country
silently forgets to decide what happens to a base section.
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_catalogue-0.1.0.tar.gz.
File metadata
- Download URL: moveq_catalogue-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bf1565b29145ffb99c4ab92d2432608104dc99313ea12426bf5a4f06504be6e
|
|
| MD5 |
2d91282048e59eb887cc4c89dfb96617
|
|
| BLAKE2b-256 |
846b43df557535fa7bb4047972d57ded773ef80e0164daac7560bc0e6b2cf7e3
|
Provenance
The following attestation bundles were made for moveq_catalogue-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_catalogue-0.1.0.tar.gz -
Subject digest:
8bf1565b29145ffb99c4ab92d2432608104dc99313ea12426bf5a4f06504be6e - Sigstore transparency entry: 2583088019
- 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_catalogue-0.1.0-py3-none-any.whl.
File metadata
- Download URL: moveq_catalogue-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 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 |
5d52c2dbd34c6d1b80a0fc6a9330278d4f1d1beaa56861f7824f3c85e6b7ee28
|
|
| MD5 |
75a9feaa8c35152a0da2400bb60dc70b
|
|
| BLAKE2b-256 |
5ab2e21a50afcdbdb31512e363260e453d098b0eda3f4e58bf4f4109b035a4db
|
Provenance
The following attestation bundles were made for moveq_catalogue-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_catalogue-0.1.0-py3-none-any.whl -
Subject digest:
5d52c2dbd34c6d1b80a0fc6a9330278d4f1d1beaa56861f7824f3c85e6b7ee28 - Sigstore transparency entry: 2583088030
- 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: