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 sync
$ uv run ctypesgen -lvxlapi64 --strip-build-path="C:\\pyvxlapi\\assets\\" -o src/pyvxlapi/__init__.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.2.tar.gz (58.1 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.2-py3-none-any.whl (58.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyvxlapi-0.1.2.tar.gz
  • Upload date:
  • Size: 58.1 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.2.tar.gz
Algorithm Hash digest
SHA256 b7f6cb1354ecc5fe3db1b2c93a569599274ac48f17f40b432be667cbb3efd870
MD5 15fe3443ff15c1e8827d1f53b2dc1389
BLAKE2b-256 b58b07ca3a5a798065fcd3ee33ecbc7a5f2037a1edd895be1cf76b95b3216352

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvxlapi-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: pyvxlapi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 58.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b826fa7d427c8437f19afbe4116b07b60e6eff8145dc8e448f45091e677d95c0
MD5 1418dfd8418a591cf265dd98542ee289
BLAKE2b-256 482ddb968c1d586fbb6a436eb34a4a8747b0d525a869a7a135e91e68fa57342b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvxlapi-0.1.2-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