Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aio_dvla_vehicle_enquiry-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aio_dvla_vehicle_enquiry-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for aio_dvla_vehicle_enquiry-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d3cb0b4875a26e0f087c1cc3b9cdee1828c7bcefcd967e214121c94a4c70f50a
MD5 9c090c35eb57605d61c49859db584622
BLAKE2b-256 926cf745af67b989927db9f452c4b2c915ca20ee27ec3ef505023afbadc3f249

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aio_dvla_vehicle_enquiry-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aio_dvla_vehicle_enquiry-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51c3ef7ec60dfdb44515f280518014a39720f1b5d37224649246435a4f3eafdb
MD5 d0948d225ea2a84d944afa85b0f961cc
BLAKE2b-256 3d50c48ea418be34cfe27d2e51a7e3cfdd578653299f19e4c49b56089ad8d0ce

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page