Pure-Rust GenICam stack for Python: discover, control, and stream GigE Vision / USB3 Vision cameras
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file viva_genicam-0.2.5.tar.gz.
File metadata
- Download URL: viva_genicam-0.2.5.tar.gz
- Upload date:
- Size: 205.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5557dc8ecb028582477b94a99d6b1b274ce4b2d71b476fe5222d086cfea02870
|
|
| MD5 |
79045da16a98f543651f201953b107c6
|
|
| BLAKE2b-256 |
6ee6b03e06561c848dc49bb827f0512344755f920e5a47e2ba5d3a294aeaf557
|
Provenance
The following attestation bundles were made for viva_genicam-0.2.5.tar.gz:
Publisher:
python.yml on VitalyVorobyev/viva-genicam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viva_genicam-0.2.5.tar.gz -
Subject digest:
5557dc8ecb028582477b94a99d6b1b274ce4b2d71b476fe5222d086cfea02870 - Sigstore transparency entry: 1304538605
- Sigstore integration time:
-
Permalink:
VitalyVorobyev/viva-genicam@638abf46accc4f7b7ada1ee28990da63118f069d -
Branch / Tag:
refs/tags/py-v0.2.5 - Owner: https://github.com/VitalyVorobyev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@638abf46accc4f7b7ada1ee28990da63118f069d -
Trigger Event:
push
-
Statement type:
File details
Details for the file viva_genicam-0.2.5-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: viva_genicam-0.2.5-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ca692a77f8b3dd555a1b29fb2117103dd361c7efa788a6403705670eea09da
|
|
| MD5 |
9922fbd80da7ffb94343a0c82e616fef
|
|
| BLAKE2b-256 |
bf7fed7b2ed94d4231a73636b97dc4aa339c5e9bcc3b26701c247df77663af0b
|
Provenance
The following attestation bundles were made for viva_genicam-0.2.5-cp39-abi3-win_amd64.whl:
Publisher:
python.yml on VitalyVorobyev/viva-genicam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viva_genicam-0.2.5-cp39-abi3-win_amd64.whl -
Subject digest:
09ca692a77f8b3dd555a1b29fb2117103dd361c7efa788a6403705670eea09da - Sigstore transparency entry: 1304538778
- Sigstore integration time:
-
Permalink:
VitalyVorobyev/viva-genicam@638abf46accc4f7b7ada1ee28990da63118f069d -
Branch / Tag:
refs/tags/py-v0.2.5 - Owner: https://github.com/VitalyVorobyev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@638abf46accc4f7b7ada1ee28990da63118f069d -
Trigger Event:
push
-
Statement type:
File details
Details for the file viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033f28e293704e7fef0e759dc05f5d61cba72ad0739b71f7daaa8062a54d0b72
|
|
| MD5 |
95166d2545030a129d6c23ce0bf87e6c
|
|
| BLAKE2b-256 |
40e9d95fcf40c3b8ea9a5b602b2dc19647fbf0931e826a700fe0ae975bee097a
|
Provenance
The following attestation bundles were made for viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl:
Publisher:
python.yml on VitalyVorobyev/viva-genicam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viva_genicam-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
033f28e293704e7fef0e759dc05f5d61cba72ad0739b71f7daaa8062a54d0b72 - Sigstore transparency entry: 1304538685
- Sigstore integration time:
-
Permalink:
VitalyVorobyev/viva-genicam@638abf46accc4f7b7ada1ee28990da63118f069d -
Branch / Tag:
refs/tags/py-v0.2.5 - Owner: https://github.com/VitalyVorobyev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@638abf46accc4f7b7ada1ee28990da63118f069d -
Trigger Event:
push
-
Statement type:
File details
Details for the file viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8b935eafcfdd8c80ee5d744f9ffff65928e2bb3f09366938879aad2e7a24ee1
|
|
| MD5 |
4ac28b74dcb4052acd75230c1685f208
|
|
| BLAKE2b-256 |
65adc5f8875f60c800ee082c1b9cf75983959cab07fbec947ed03b4dd4884d20
|
Provenance
The following attestation bundles were made for viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
python.yml on VitalyVorobyev/viva-genicam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viva_genicam-0.2.5-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
c8b935eafcfdd8c80ee5d744f9ffff65928e2bb3f09366938879aad2e7a24ee1 - Sigstore transparency entry: 1304538872
- Sigstore integration time:
-
Permalink:
VitalyVorobyev/viva-genicam@638abf46accc4f7b7ada1ee28990da63118f069d -
Branch / Tag:
refs/tags/py-v0.2.5 - Owner: https://github.com/VitalyVorobyev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@638abf46accc4f7b7ada1ee28990da63118f069d -
Trigger Event:
push
-
Statement type: