Async Python client for the UK DVLA Vehicle Enquiry Service
Project description
aio-dvla-vehicle-enquiry
Async Python client for the UK DVLA Vehicle Enquiry Service.
This package handles the DVLA Vehicle Enquiry Service transport, request construction, response parsing, and protocol-level errors. It is intended to be used by integrations such as Home Assistant while keeping application code as a thin wrapper.
Installation
pip install aio-dvla-vehicle-enquiry
Usage
from aiohttp import ClientSession
from aio_dvla_vehicle_enquiry import DVLAClient, DVLAError
async with ClientSession() as session:
client = DVLAClient(session, "your-api-key")
try:
vehicle = await client.async_get_vehicle("AB12CDE")
except DVLAError as err:
print(f"DVLA lookup failed: {err}")
else:
print(vehicle)
Notes
This package does not include an API key. Consumers must provide their own DVLA Vehicle Enquiry Service API key.
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 aio_dvla_vehicle_enquiry-0.1.1.tar.gz.
File metadata
- Download URL: aio_dvla_vehicle_enquiry-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3cb0b4875a26e0f087c1cc3b9cdee1828c7bcefcd967e214121c94a4c70f50a
|
|
| MD5 |
9c090c35eb57605d61c49859db584622
|
|
| BLAKE2b-256 |
926cf745af67b989927db9f452c4b2c915ca20ee27ec3ef505023afbadc3f249
|
Provenance
The following attestation bundles were made for aio_dvla_vehicle_enquiry-0.1.1.tar.gz:
Publisher:
publish.yml on jampez77/aio-dvla-vehicle-enquiry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aio_dvla_vehicle_enquiry-0.1.1.tar.gz -
Subject digest:
d3cb0b4875a26e0f087c1cc3b9cdee1828c7bcefcd967e214121c94a4c70f50a - Sigstore transparency entry: 2145751754
- Sigstore integration time:
-
Permalink:
jampez77/aio-dvla-vehicle-enquiry@7935b4897087ceb46b3cd4cdd769d20742ad06f6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/jampez77
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7935b4897087ceb46b3cd4cdd769d20742ad06f6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aio_dvla_vehicle_enquiry-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aio_dvla_vehicle_enquiry-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51c3ef7ec60dfdb44515f280518014a39720f1b5d37224649246435a4f3eafdb
|
|
| MD5 |
d0948d225ea2a84d944afa85b0f961cc
|
|
| BLAKE2b-256 |
3d50c48ea418be34cfe27d2e51a7e3cfdd578653299f19e4c49b56089ad8d0ce
|
Provenance
The following attestation bundles were made for aio_dvla_vehicle_enquiry-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on jampez77/aio-dvla-vehicle-enquiry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aio_dvla_vehicle_enquiry-0.1.1-py3-none-any.whl -
Subject digest:
51c3ef7ec60dfdb44515f280518014a39720f1b5d37224649246435a4f3eafdb - Sigstore transparency entry: 2145751797
- Sigstore integration time:
-
Permalink:
jampez77/aio-dvla-vehicle-enquiry@7935b4897087ceb46b3cd4cdd769d20742ad06f6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/jampez77
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7935b4897087ceb46b3cd4cdd769d20742ad06f6 -
Trigger Event:
push
-
Statement type: