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()          # shape and dtype follow the pixel format
        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.

Metadata

Release files for viva-genicam 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for viva-genicam 0.8.0
File Size Uploaded
viva_genicam-0.8.0.tar.gz 452.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for viva-genicam 0.8.0
File Interpreter ABI Platform
viva_genicam-0.8.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
viva_genicam-0.8.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
viva_genicam-0.8.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 8.2 MB

Release files / viva_genicam-0.8.0.tar.gz

Download URL viva_genicam-0.8.0.tar.gz
Size 452.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1b9ce70b3db19d56a821c9d5a36f5f2cd08fa46596c5227e1afb2ad4ee655339
BLAKE2b-256 checksum
How to use checksums
f7c714c74820db1b56749089252b5ec7a44ce3896a1415dcb42d0916774f26b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / viva_genicam-0.8.0-cp310-abi3-win_amd64.whl

Download URL viva_genicam-0.8.0-cp310-abi3-win_amd64.whl
Size 2.5 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b1446fccdad22d950c6090ce5bb6786e5a0334ae93acf543e73682ea5d9aca5b
BLAKE2b-256 checksum
How to use checksums
a46a177834baea049a647f5b95db1db8642c4798dc67dff32247201d262505ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / viva_genicam-0.8.0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL viva_genicam-0.8.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 2.8 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
0a8f386e46a13cbbc547262958a5b2c1c1fe6febe4c4632578e528a4a7e95dae
BLAKE2b-256 checksum
How to use checksums
5eecba4805cdb9b470935f0e0095f528a20f6cd1ebe8dbf86a5c4e2010cafca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / viva_genicam-0.8.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL viva_genicam-0.8.0-cp310-abi3-macosx_11_0_arm64.whl
Size 2.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
60079916998263d7616d0da6ea750ccabed92da071ab3ec67fa1335bf63129e4
BLAKE2b-256 checksum
How to use checksums
44ac0648b6d97bcc8b8267306a474af173a50a1ef999dd4069c07ccb8b5a5cbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.0

4 release files

This release

0.8.0 This release

4 release files

0.7.0

4 release files

0.6.0

4 release files

0.5.0

4 release files

0.4.1

4 release files

0.4.0

4 release files

0.3.1

4 release files

0.3.0

4 release files

0.2.8

4 release files

0.2.7

4 release files

0.2.6

4 release files

0.2.5

4 release files

0.2.4

2 release 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