Skip to main content

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

The install also provides viva-camctl, the diagnostic CLI, so viva-camctl report --ip <CAMERA-IP> --out viva-report.txt works without a Rust toolchain. It is the right thing to attach to a bug report.

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

Licensing

The viva-genicam code is MIT-licensed. The binary wheel additionally statically links libusb (LGPL-2.1-or-later) for USB3 Vision support, so the package license is MIT AND LGPL-2.1-or-later. See THIRD-PARTY-NOTICES.md (shipped in the wheel and sdist) for details, including how to rebuild the native module against a modified or system libusb per LGPL §6.

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.4.1.tar.gz (352.2 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.4.1-cp39-abi3-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9+Windows x86-64

viva_genicam-0.4.1-cp39-abi3-manylinux_2_28_x86_64.whl (2.5 MB view details)

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

viva_genicam-0.4.1-cp39-abi3-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: viva_genicam-0.4.1.tar.gz
  • Upload date:
  • Size: 352.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for viva_genicam-0.4.1.tar.gz
Algorithm Hash digest
SHA256 77297deec59e8b09e25fead362669aec86b190a642f7a5cfcf864e1a427f7fdb
MD5 8c79923e3501875ccb1bd6eaf22eadd8
BLAKE2b-256 111f3e07c073238220b99c7539595cf0f8c8559a12884823152061ccf2effffe

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.4.1.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.4.1-cp39-abi3-win_amd64.whl.

File metadata

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

File hashes

Hashes for viva_genicam-0.4.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 645c0abdac42f675474221325cc3e053b8d09787399323c1f2c1fde836820d9a
MD5 f8930d8c607233dcf5e1bbc8e678c410
BLAKE2b-256 8bea93d9971b0f62da99c6bb87889a4b7b63c0f27c07290d0a3cd26e4813c155

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.4.1-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.4.1-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for viva_genicam-0.4.1-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b8585724a0afaf9d66aee3acb7d5e0c623e106699c736a67ffa3ef8263c7c331
MD5 f6b0740fefe81dc06c8220b0f8cf6c98
BLAKE2b-256 03de0e0673d27fe1670e441a33fcaf36a19808f7797160dc10275ab5aba5d7f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.4.1-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.4.1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for viva_genicam-0.4.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bede90bb4f5fb24dc97a4528cb3e9ecc98cd0ccf5183c471b89c67fafb6ebaad
MD5 f1b459b7aa7eee4f89c9268c4a0e6713
BLAKE2b-256 1bdf9640855aeb1a7fb2c4d7314be54a68321f1de7f50e1d4f7974c2e3e6ce5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for viva_genicam-0.4.1-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.

Release history Release notifications | RSS feed

0.5.0

4 files

This release

0.4.1 This release

4 files

0.4.0

4 files

0.3.1

4 files

0.3.0

4 files

0.2.8

4 files

0.2.7

4 files

0.2.6

4 files

0.2.5

4 files

0.2.4

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page