pixtreme-transport-sequence
pixtreme.transport.sequence reads and writes numbered image sequences through
pixtreme's format-specific Readers and Writers. Its SequenceEntrance and
SequenceExit factories create pixtreme.transport sessions with the module name
sequence, using buffers owned by the caller. Input preserves the source colour
and alpha; output performs only image conversions explicitly allowed by the
caller through pixtreme.
Installation and requirements
Install from PyPI:
python -m pip install pixtreme-transport-sequence
The release platforms are Linux x86_64 (glibc 2.28 or later) and native Windows x86_64. Install a wheel for your platform from the selected release; a platform is available only when that release provides its wheel. The supported Python versions are standard CPython 3.12 and 3.13; wheels use the CPython 3.12 stable ABI. Image I/O uses an NVIDIA GPU and requires the CUDA-compatible driver specified by the installed pixtreme release.
The only direct runtime dependencies are pixtreme>=2.33.0 and
pixtreme-transport>=0.54.0. Python installation resolves these packages and
their own dependencies. Image formats are those supported by the installed
pixtreme Readers and Writers, selected by the filename extension.
Python sessions
Create input and output sessions through sequence:
from fractions import Fraction
from pixtreme.transport import sequence
from pixtreme.transport.session import ExitSettings, FrameBuffer, Pacing
device = 0 # Ordinal after CUDA_VISIBLE_DEVICES filtering.
input_buffer = FrameBuffer(2, mode="blocking")
source = sequence.SequenceEntrance(
device,
input_buffer,
{
"path": "input/frame_%04d.exr",
"sequence.frame_rate": "24000/1001",
"sequence.start_frame": "1",
},
)
output_buffer = FrameBuffer(2, mode="blocking")
settings = ExitSettings(Fraction(1001, 24000)) # Frame period, in seconds.
settings.pacing = Pacing.NONE
settings.audio.enabled = False
target = sequence.SequenceExit(
device,
output_buffer,
settings,
{"path": "output/frame_%04d.exr", "sequence.start_frame": "1"},
)
Creation returns unopened sessions. Call source.open(), read with
source.next() until it returns None, and close the source in a finally
block. Each returned item's frame contains the image and timing. To write,
put the processed transport frames into output_buffer, open the target, close
the buffer after the last frame, and call target.join() to wait for all writes.
Close the target in a finally block. Run the producer and consumer concurrently
when filling a blocking buffer beyond its capacity. Create the output directory
before opening the target.
Input reads in display order as quickly as its blocking buffer accepts images.
It does not pace reads by the OS clock or attach receipt timestamps. For a file
pipeline, Pacing.NONE and FIFO selection write every accepted image once and
wait while the output buffer is empty and open. Closing and draining the buffer
finishes output. Pacing.CORE_CLOCK with FIFO selection is also accepted; it
writes the images and repeats supplied by the core at its output cadence.
Sequence options
Options are strings, supplied as a mapping or an iterable of name/value pairs.
| Option | Input | Output |
|---|---|---|
path |
Required image filename pattern | Required image filename pattern |
sequence.frame_rate |
Required positive rational, such as 24000/1001 |
Not accepted; use the core output frame period |
sequence.start_frame |
Optional decimal integer; otherwise find the first existing file among numbers 0–4 | Optional decimal integer; default 1 |
A path must contain exactly one printf-style %0Nd number field, with N >= 1:
frame_%04d.exr produces names such as frame_0001.exr. Use %% for a literal
percent sign. Glob patterns, ####, explicit filename lists and sequence seek
are not supported.
Input advances through consecutive numbers and ends at the first missing file. A missing first image or an existing unreadable or undecodable image is an error. Output numbers each received image consecutively from its start number. Sequence input supplies images without audio, motion vectors or residuals; output rejects enabled audio before writing an image. Unknown, duplicate, missing or inapplicable settings fail with the setting name and reason.
C and C++ SDK
Download the SDK archive for your platform and version, together with
SHA256SUMS, from the
GitHub Releases.
Verify the archive's SHA256 before extracting it. The SDK provides the same
module library as the wheel, public headers, CMake package files and licenses.
Obtain compatible shared SDKs for
pixtreme and
pixtreme-transport
separately; their libraries are supplied by those distributions.
Point CMake's pixtreme_DIR, pixtreme_transport_DIR and
pixtreme_transport_sequence_DIR to the extracted SDKs' pixtreme/core/cmake,
pixtreme/transport/cmake and pixtreme/transport/sequence/cmake directories,
respectively. C and C++ consumers can link the module through its imported
CMake target:
find_package(pixtreme_transport_sequence CONFIG REQUIRED)
target_link_libraries(application PRIVATE pixtreme::transport_sequence)
C++ consumers use C++20. For creation by name, install the SDK trees under one
common prefix so the core can locate pixtreme/transport/sequence/lib/ on Linux or
pixtreme/transport/sequence/bin/ on Windows. Configure the platform's shared
library search paths for the dependencies and keep one copy of each shared
library per process.
Use pixtreme_transport_module_create_entrance and
pixtreme_transport_module_create_exit from <pixtreme/transport/c/module.h>
in C, or pixtreme::transport::module::create_entrance and create_exit from
<pixtreme/transport/module.h> in C++, passing the module name sequence.
Supply the device, caller-owned blocking buffer, output settings where needed,
and the same sequence options shown above. Check the core ABI before using
its operations, open each returned session to begin I/O, and close sessions
before releasing their owned handles.
License and third-party notices
The sequence module is licensed under the
MIT License.
The Python binding incorporates nanobind (BSD-3-Clause) and robin-map (MIT).
Their copyright notices and license texts are in nanobind.txt and
robin_map.txt; third-party.json records their versions, source checksums and
build descriptions. These files are included in the wheel's license directory;
the License-File fields in its metadata give the relative paths. The SDK
includes the module license and the provenance record in its license materials.
It supplies the native module without the Python binding or its embedded
third-party implementations.
The separately installed pixtreme and pixtreme-transport dependencies carry
their own licenses and notices.
Metadata
Release files for pixtreme-transport-sequence 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pixtreme_transport_sequence-0.1.1-cp312-abi3-win_amd64.whl | CPython 3.12 | abi3 | Windows x86-64 | Details for pixtreme_transport_sequence-0.1.1-cp312-abi3-win_amd64.whl |
| pixtreme_transport_sequence-0.1.1-cp312-abi3-manylinux_2_28_x86_64.whl | CPython 3.12 | abi3 | Linux glibc 2.28+ x86-64 | Details for pixtreme_transport_sequence-0.1.1-cp312-abi3-manylinux_2_28_x86_64.whl |
Total release size: 449.5 kB
Release files / pixtreme_transport_sequence-0.1.1-cp312-abi3-win_amd64.whl
| Download URL | pixtreme_transport_sequence-0.1.1-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 189.0 kB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
fe34ae756712154b6a9cff46e3292f4cbdf46c031334d525a4651f4387c9075c
|
|
BLAKE2b-256 checksum How to use checksums |
0bda668fb438c3563106361eb84cd6ecf3aef8c5d9b72404fd867de9a46f9846
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pixtreme_transport_sequence-0.1.1-cp312-abi3-manylinux_2_28_x86_64.whl
| Download URL | pixtreme_transport_sequence-0.1.1-cp312-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 260.5 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5de0c0d42e5a1181f83188f5b85d01b401ab0f96abaecec1a7722944164bddde
|
|
BLAKE2b-256 checksum How to use checksums |
e6f5a8d08ff06a642a668fd0389a00e06cfe17c098af5527e928abeaefda7490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pixtreme-transport-sequence 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.