Async integration layer between Home Assistant and Dutch municipal visitor parking APIs.
Project description
pyCityVisitorParking
Async integration layer between Home Assistant and Dutch municipal visitor parking APIs.
Status
This package ships the core client, provider interface, and discovery tooling, plus the following providers:
- DVS Portal
- The Hague
list_providers() reads provider manifests under src/pycityvisitorparking/provider/.
Provider documentation:
- DVS Portal: src/pycityvisitorparking/provider/dvsportal/README.md
- The Hague: src/pycityvisitorparking/provider/the_hague/README.md
Installation
pip install pycityvisitorparking
Usage
import asyncio
from pycityvisitorparking import Client
async def main() -> None:
async with Client() as client:
providers = await client.list_providers()
print(providers)
asyncio.run(main())
Provider framework
Providers are discovered via manifest.json files without importing provider
modules. To add a provider later, create:
src/pycityvisitorparking/provider/<provider_id>/
manifest.json
__init__.py
api.py
const.py
README.md
CHANGELOG.md
Only files under src/pycityvisitorparking/provider/<provider_id>/ should change
in a provider PR.
Normalization rules
- All public timestamps must be UTC ISO 8601 with
Zand no microseconds. - License plates are normalized to uppercase
A-Z0-9without spaces/symbols. zone_validitymust include only chargeable windows.
Development
Run checks with Hatch:
hatch run lint:check
hatch run lint:format-check
hatch run test:run
Build artifacts:
hatch build
python -m twine check dist/*
Project details
Release history Release notifications | RSS feed
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 pycityvisitorparking-0.2.1.tar.gz.
File metadata
- Download URL: pycityvisitorparking-0.2.1.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c0fd4ac6a66fc9fe4f233ef1a8d0f2ad891208f389b29b32168e6b350536e2f
|
|
| MD5 |
aaffd6b4302986d448d2fa73e05edd7c
|
|
| BLAKE2b-256 |
1f5e0c30b7d0245ddba4035f38aead2869486d3d57054217735358f786ce2985
|
Provenance
The following attestation bundles were made for pycityvisitorparking-0.2.1.tar.gz:
Publisher:
release.yml on sir-Unknown/pyCityVisitorParking
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycityvisitorparking-0.2.1.tar.gz -
Subject digest:
0c0fd4ac6a66fc9fe4f233ef1a8d0f2ad891208f389b29b32168e6b350536e2f - Sigstore transparency entry: 780630715
- Sigstore integration time:
-
Permalink:
sir-Unknown/pyCityVisitorParking@0bef2bc2ea62df3fc84457fa3163d9b21b160135 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/sir-Unknown
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0bef2bc2ea62df3fc84457fa3163d9b21b160135 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pycityvisitorparking-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pycityvisitorparking-0.2.1-py3-none-any.whl
- Upload date:
- Size: 32.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a05059e1dd137f4bea0c71d2bb5cf78e9446201d10b5f157bb8b3f63c8432c51
|
|
| MD5 |
f9c271885d17e2eb43d913bd08ae564a
|
|
| BLAKE2b-256 |
41ca25e1b43618fe2315e90849e96f57dc408b1fd6e198ee666db6a85a03fcee
|
Provenance
The following attestation bundles were made for pycityvisitorparking-0.2.1-py3-none-any.whl:
Publisher:
release.yml on sir-Unknown/pyCityVisitorParking
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycityvisitorparking-0.2.1-py3-none-any.whl -
Subject digest:
a05059e1dd137f4bea0c71d2bb5cf78e9446201d10b5f157bb8b3f63c8432c51 - Sigstore transparency entry: 780630716
- Sigstore integration time:
-
Permalink:
sir-Unknown/pyCityVisitorParking@0bef2bc2ea62df3fc84457fa3163d9b21b160135 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/sir-Unknown
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0bef2bc2ea62df3fc84457fa3163d9b21b160135 -
Trigger Event:
push
-
Statement type: