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

Uploaded CPython 3.9+Windows x86-64

viva_genicam-0.3.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.3.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.3.1.tar.gz.

File metadata

  • Download URL: viva_genicam-0.3.1.tar.gz
  • Upload date:
  • Size: 328.0 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.3.1.tar.gz
Algorithm Hash digest
SHA256 471220aeb4995f47925080ce768a6ba942414dad3ad09b049e11507477685cf7
MD5 6236b6cf68f7d9516bf57e6ec7045545
BLAKE2b-256 e5451613f1973121e6c0c9484db8e51c9e2d851f3e24c42a0eed5bccc780e229

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: viva_genicam-0.3.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.3.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 719ca9bab615d5b05c8aa83b50b497ba3ad3b86672fda8a0ecbfa2d9421b8cbd
MD5 207ff8b6b4c0210ee12939cebf9ff3e7
BLAKE2b-256 1b6930abd45428f6ccc9a7e65deb37baba8dc0e97ec5c7bfac725375143d60f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for viva_genicam-0.3.1-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6da6cb161df2471f7d616012338abbdcfae6279649538e514d9a79e0f8354e7b
MD5 b9ccaf60f3565a597383b1f0b19bd98f
BLAKE2b-256 b48b7e73e6c92b838e57a848c8cbd6d2abd0f1c74d18354b1e01bc767c0d6617

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for viva_genicam-0.3.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d6c03d945ef8ac1075e36b035e16af85bea893126f153afbf06c9a4af53d341
MD5 ba5962f13840f7680a9e7d3c45408e6c
BLAKE2b-256 fbb05f72a7ef54b90fe083b7996d25145e014698dc0510e2c3c8064335bfe900

See more details on using hashes here.

Provenance

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

0.4.1

4 files

0.4.0

4 files

This release

0.3.1 This release

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