Skip to main content

EVT3 Python Bindings

High-performance EVT 3.0 decoder for Prophesee event cameras with zero-copy numpy support.

Installation

# From source (requires Rust toolchain)
cd evt3-python
pip install maturin
maturin develop

# Or build a wheel
maturin build --release
pip install target/wheels/evt3-*.whl

Usage

import evt3
import numpy as np

# Decode a raw file
events = evt3.decode_file("recording.raw")

# Access metadata
print(f"Decoded {len(events)} events")
print(f"Sensor: {events.sensor_width}x{events.sensor_height}")

# Access as numpy arrays
x = events.x  # np.ndarray[np.uint16]
y = events.y  # np.ndarray[np.uint16]
p = events.polarity  # np.ndarray[np.uint8] (0=OFF, 1=ON)
t = events.timestamp  # np.ndarray[np.uint64] (microseconds)

# Short aliases also work
p = events.p
t = events.t

# Get as dictionary (useful for pandas)
import pandas as pd
df = pd.DataFrame(events.to_dict())

# Decode with trigger events
events, triggers = evt3.decode_file_with_triggers("recording.raw")
trigger_times = triggers.timestamp
trigger_values = triggers.value

# Decode raw bytes (for streaming)
with open("recording.raw", "rb") as f:
    raw_bytes = f.read()
events = evt3.decode_bytes(raw_bytes, sensor_width=1280, sensor_height=720)

Performance

The decoder is implemented in Rust with careful attention to performance:

  • Streaming buffer decoding to handle large files
  • Columnar data layout for cache-efficient numpy access
  • Minimal memory allocations during decoding

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

evt3-0.2.0-cp311-cp311-win_amd64.whl (154.6 kB view details)

Uploaded CPython 3.11Windows x86-64

evt3-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl (252.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

evt3-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (221.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file evt3-0.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: evt3-0.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 154.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for evt3-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 478ec52dfc572f76d1d9482d78302f152ad55fb39277d7849d0123bf303324eb
MD5 95db1c68c914b884c5b9a973fbcca4e0
BLAKE2b-256 a04f0aaa4adcdd87cc0aeb8096e500ca3530aa536456e62ed9b73e816194ad65

See more details on using hashes here.

Provenance

The following attestation bundles were made for evt3-0.2.0-cp311-cp311-win_amd64.whl:

Publisher: release.yml on muthmann/evt3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evt3-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for evt3-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 aba6d067677668a72de69aa7fa5c7922dedf1ac604b71a65968b56962d759c84
MD5 75afc03e8607408d5ad74e4479dbb240
BLAKE2b-256 02fc4dfb4e53d15e4245d53759d27a0b2b9ab1de58d616ff814f225ba231023b

See more details on using hashes here.

Provenance

The following attestation bundles were made for evt3-0.2.0-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: release.yml on muthmann/evt3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evt3-0.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

  • Download URL: evt3-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 221.4 kB
  • Tags: CPython 3.11, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for evt3-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ef8b9e486fc35b5d828407cb9bea450e7afe5037ec5004d28feff9514378fd8
MD5 0cfdf89a27b055672ad7b349567d4f89
BLAKE2b-256 ddebd0dae73c6933e19158b4a515da60684838f74c757f231b8a8bc571a37e83

See more details on using hashes here.

Provenance

The following attestation bundles were made for evt3-0.2.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on muthmann/evt3

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.4.0

21 files

0.3.0

15 files

This release

0.2.0 This release

3 files

0.1.0

3 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