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
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.2.7.tar.gz (233.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.2.7-cp39-abi3-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.9+Windows x86-64

viva_genicam-0.2.7-cp39-abi3-manylinux_2_28_x86_64.whl (1.4 MB view details)

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

viva_genicam-0.2.7-cp39-abi3-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for viva_genicam-0.2.7.tar.gz
Algorithm Hash digest
SHA256 844987b23e090821775bb4daa4350c81c4b955a99c80ea537a7fbcfd3398e124
MD5 1ecc9d94b1ad65f77b8aec8278fd7b32
BLAKE2b-256 7f10c9636cb1b00b31141a6c7ca6aceb3e2f69cc6c77ddd1a7cd989fd1a52f81

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for viva_genicam-0.2.7-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a8a88123ab12211f14292c7925cfe2500fbae4b7a927d1aa1b8659892c06350b
MD5 4e41ca5bc490960ec5db835cbc89267c
BLAKE2b-256 108ee7c14e40f71f92d06635cfc8902328b3718e7601c86fcb2ab0b517ab3588

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for viva_genicam-0.2.7-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cafb8ce30850dbb2527ffcd0a3e4a3937dfa07afdf52660908eb3c0137cf9540
MD5 7ccc3ba739d6e7877468162fe63101a9
BLAKE2b-256 e522dd853a73bd9a5aac95febbd334ddc9bd37b6f46691f94e9ab829a995c4c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for viva_genicam-0.2.7-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 de5e8323276d34b36d172e2abd9bcf282c3c8a4ab23d372ced0471cd24a21fbb
MD5 38c73796eecff3a7be0bd22c0bcd29fb
BLAKE2b-256 9baebf906d9a0dcdb32fd47bb36c7a5e8722c228f3059c39db99739ed1b56593

See more details on using hashes here.

Provenance

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

0.3.1

4 files

0.3.0

4 files

0.2.8

4 files

This release

0.2.7 This release

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