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)
with vg.connect_gige(cams[0]) as cam:   # control is given back at the end
    print(cam.get("DeviceModelName"))
    cam.set_exposure_time(10_000.0)

    with cam.stream() as frames:
        for frame in frames:
            arr = frame.to_numpy()      # (H, W) uint16 for a 12-bit camera, ...
            print(frame.width, frame.height, frame.pixel_format)
            break

Cameras and frames work from any thread, and calls that wait on the camera release the GIL. viva_genicam.testing.FakeGigeCamera is a camera in the same process, for tests and demos without hardware.

See the documentation for the full API.

Build from source

See CONTRIBUTING.md in the repository.

Licensing

MIT. USB3 Vision support is pure Rust (nusb), so the wheel links no C USB library.

Metadata

Release files for viva-genicam 0.12.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.12.0
File Size Uploaded Provenance Actions
viva_genicam-0.12.0.tar.gz 979.3 kB With provenance Details for viva_genicam-0.12.0.tar.gz

Built distributions (wheels)

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

Total release size: 11.7 MB

Release files / viva_genicam-0.12.0.tar.gz

Download URL viva_genicam-0.12.0.tar.gz
Size 979.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2579b206a8cdfecdcae712052c075d9d5d44e89729bdff23948df2f95f6996cc
BLAKE2b-256 checksum
How to use checksums
bbcc9e5136f732da51413a7787f58013e12b3ac6526b89dadf9e9b8a79a82790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

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

Download URL viva_genicam-0.12.0-cp310-abi3-win_amd64.whl
Size 3.4 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9a3dc00c93411f2ae8f95880181e0e2340e21099395cf5c8f81ce26e1cc3d1bd
BLAKE2b-256 checksum
How to use checksums
c8abe4d93d4a079bc42a7f9cd502418236270f82b6c2bcba970ebe3d60578de0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

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

Download URL viva_genicam-0.12.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 3.8 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
7090ac5084b728e19cd9a4753ebc0b72525bbe4f070d95d846d820ba6282da89
BLAKE2b-256 checksum
How to use checksums
8187008e7cb5268f5f6014461f2bb1adacc94807f33661560f172501a5e84ef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

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

Download URL viva_genicam-0.12.0-cp310-abi3-macosx_11_0_arm64.whl
Size 3.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3f62b98008dfa385c58ed015d0a18578feaad1216136b372b9bb2781e935bc86
BLAKE2b-256 checksum
How to use checksums
67b1b6f6401df37e53dfdf62e7c842b1ce2fa7aa82378b2e820d05ac28f9be71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for viva-genicam 0.12.0

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for viva_genicam-0.12.0.tar.gz

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 Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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