Skip to main content

Python Wrapper for Vector XL Driver Library

Project description

pyvxlapi

Python Wrapper for Vector XL Driver Library

The pyvxlapi.py is convert from vxlapi.h by ctypesgen

Installation

$ uv venv
$ uv pip install pyvxlapi

Development

$ uv venv
$ uv add --dev ctypesgen
$ uv run ctypesgen -lvxlapi64 -o src/pyvxlapi/pyvxlapi.py assets/vxlapi.h

Example

from pyvxlapi import (
    XLdriverConfig,
    xlGetDriverConfig,
)

driver_config = XLdriverConfig()
status = xlGetDriverConfig(driver_config)
print(status)

for i in range(driver_config.channelCount):
    channel_config = driver_config.channel[i]
    print(f"{i} {channel_config.name} {channel_config.channelMask}")

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

pyvxlapi-0.1.1.tar.gz (59.3 kB view details)

Uploaded Source

Built Distribution

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

pyvxlapi-0.1.1-py3-none-any.whl (60.2 kB view details)

Uploaded Python 3

File details

Details for the file pyvxlapi-0.1.1.tar.gz.

File metadata

  • Download URL: pyvxlapi-0.1.1.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvxlapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 993c437a7e6ba364377ecb385e5941582ad870abb53070615f04ee78717b8417
MD5 c61500cce47ff64a35dcc782c81fea60
BLAKE2b-256 773449a7c4041a47e29d6da46079ec0340dcffe753a9bd58515989a305a313cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvxlapi-0.1.1.tar.gz:

Publisher: python-publish.yml on mikisama/pyvxlapi

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

File details

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

File metadata

  • Download URL: pyvxlapi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 60.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvxlapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca933daaa9da3f0e12b8162351f55a79110f6408e71e5a91c46c443bb0d23b03
MD5 03b222eb4a0ec01c6d715b1ff99d7ed9
BLAKE2b-256 7e746f43e85e94d79721bffe21cae272ee38051682cddefcc1594b3ea883c2c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvxlapi-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on mikisama/pyvxlapi

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