Skip to main content

Pure-Rust GenICam stack for Python: discover, control, and stream GigE Vision / USB3 Vision cameras

Project description

viva-genicam (Python)

Pure-Rust GenICam stack with Python bindings. Discover, control, and stream GigE Vision and USB3 Vision cameras from Python — no aravis, no C toolchain, just a wheel.

pip install viva-genicam
import viva_genicam as vg

cams = vg.discover(timeout_ms=500)
cam = vg.connect_gige(cams[0])

print(cam.get("DeviceModelName"))
cam.set_exposure_time_us(10_000.0)

with cam.stream() as frames:
    for frame in frames:
        arr = frame.to_numpy()          # NumPy (H, W) or (H, W, 3) uint8
        print(frame.width, frame.height, frame.pixel_format)
        break

See the documentation for the full API.

Build from source

uv venv .venv
uv pip install --python .venv/bin/python maturin numpy pytest
uv run --python .venv/bin/python maturin develop -m crates/viva-pygenicam/Cargo.toml

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

viva_genicam-0.2.5.tar.gz (205.5 kB view details)

Uploaded Source

Built Distributions

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

viva_genicam-0.2.5-cp39-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.9+Windows x86-64

viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ x86-64

viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file viva_genicam-0.2.5.tar.gz.

File metadata

  • Download URL: viva_genicam-0.2.5.tar.gz
  • Upload date:
  • Size: 205.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for viva_genicam-0.2.5.tar.gz
Algorithm Hash digest
SHA256 5557dc8ecb028582477b94a99d6b1b274ce4b2d71b476fe5222d086cfea02870
MD5 79045da16a98f543651f201953b107c6
BLAKE2b-256 6ee6b03e06561c848dc49bb827f0512344755f920e5a47e2ba5d3a294aeaf557

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.2.5.tar.gz:

Publisher: python.yml on VitalyVorobyev/viva-genicam

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

File details

Details for the file viva_genicam-0.2.5-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: viva_genicam-0.2.5-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for viva_genicam-0.2.5-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 09ca692a77f8b3dd555a1b29fb2117103dd361c7efa788a6403705670eea09da
MD5 9922fbd80da7ffb94343a0c82e616fef
BLAKE2b-256 bf7fed7b2ed94d4231a73636b97dc4aa339c5e9bcc3b26701c247df77663af0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.2.5-cp39-abi3-win_amd64.whl:

Publisher: python.yml on VitalyVorobyev/viva-genicam

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

File details

Details for the file viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 033f28e293704e7fef0e759dc05f5d61cba72ad0739b71f7daaa8062a54d0b72
MD5 95166d2545030a129d6c23ce0bf87e6c
BLAKE2b-256 40e9d95fcf40c3b8ea9a5b602b2dc19647fbf0931e826a700fe0ae975bee097a

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl:

Publisher: python.yml on VitalyVorobyev/viva-genicam

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

File details

Details for the file viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c8b935eafcfdd8c80ee5d744f9ffff65928e2bb3f09366938879aad2e7a24ee1
MD5 4ac28b74dcb4052acd75230c1685f208
BLAKE2b-256 65adc5f8875f60c800ee082c1b9cf75983959cab07fbec947ed03b4dd4884d20

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: python.yml on VitalyVorobyev/viva-genicam

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