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.0.tar.gz (5.0 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.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file aio_dvla_vehicle_enquiry-0.1.0.tar.gz.

File metadata

  • Download URL: aio_dvla_vehicle_enquiry-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 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.0.tar.gz
Algorithm Hash digest
SHA256 810cdc994f8040b9bd671798ab17b1f94a6b84a875862086331a75653a6c2c44
MD5 f1ec295676d0b2ffa7a413fe98dbf5a8
BLAKE2b-256 f58c9ff71bcdec5f43a4227bd390def147773ea34ade857041e2501499a0683d

See more details on using hashes here.

Provenance

The following attestation bundles were made for aio_dvla_vehicle_enquiry-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aio_dvla_vehicle_enquiry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 946ecf345d70964afd7cff65b68d2d787d86ce1459a2346fab6664dd8141434f
MD5 57e0dda8972fe626f95d8c76ef667845
BLAKE2b-256 519cd1153efdc2e4365e5d615ce5da1e4c6bff8a2105c640e155bf6743b402d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for aio_dvla_vehicle_enquiry-0.1.0-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