Variopinta
Variopinta is an experimental CPU image-augmentation compiler. Pipelines are configured in Python and executed by optimized Rust kernels, with whole-pipeline planning for buffer reuse, kernel selection, and fewer Python/native crossings.
Variopinta is the feminine form of the Spanish variopinto: “varied in color or appearance,” from Italian variopinto, “varied” and “painted.” — RAE
Variopinta is pre-alpha. The public API may change between 0.y.0 releases;
patch releases preserve documented signatures and data contracts unless a
correctness or security fix requires otherwise.
Install
Variopinta supports CPython 3.10–3.13 on 64-bit x86 Linux with glibc 2.34 or newer and on macOS 11 or newer running natively on Apple Silicon.
python -m pip install variopinta
PyTorch is optional and needed only for ReturnTensor outputs. Platform
details and source-build instructions are in
Getting started.
Quick start
import numpy as np
import variopinta as vp
pipeline = vp.Pipeline(
[
vp.RandomCrop(256, 256),
vp.Resize(224, 224),
vp.HorizontalFlip(p=0.5),
vp.Normalize(),
],
seed=42,
).compile()
image = np.zeros((320, 320, 3), dtype=np.uint8)
output = pipeline(image, key=0)
print(output.shape, output.dtype) # (224, 224, 3) float32
print(pipeline.explain())
Pipeline is the semantic reference executor. .compile() selects the
optimized execution plan while keeping the same call signature and keyed
result. Use pipeline.explain() to inspect the operations, buffers, copies,
fusion, dtypes, layouts, and target routes in that plan.
Repeated calls with the same pipeline, input, seed, and key are deterministic for the same installed release and execution environment. Exact replay is not guaranteed across releases, builds, or platforms.
Documentation
Current scope includes images and semantic masks with NumPy, encoded-buffer, and local-path inputs. It does not include boxes, keypoints, GPU execution, native batches, or Python callbacks inside a pipeline.
Project information
Variopinta is licensed under the Apache License 2.0. Native-wheel attributions are in THIRD_PARTY_NOTICES.
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 variopinta-0.4.2.tar.gz.
File metadata
- Download URL: variopinta-0.4.2.tar.gz
- Upload date:
- Size: 115.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94f615a3353d4064f03c775278f4e5104103a9d9f3a87b30cb9258817efd517a
|
|
| MD5 |
37d2ea30d7a3f1aef73d0e28f8bbcd69
|
|
| BLAKE2b-256 |
3abd687bf897ff0ba1ce554d65dd403401bdf905321fdbb4bdda150f14ff40a3
|
Provenance
The following attestation bundles were made for variopinta-0.4.2.tar.gz:
Publisher:
release.yml on claverru/variopinta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
variopinta-0.4.2.tar.gz -
Subject digest:
94f615a3353d4064f03c775278f4e5104103a9d9f3a87b30cb9258817efd517a - Sigstore transparency entry: 2723398434
- Sigstore integration time:
-
Permalink:
claverru/variopinta@d5bdf4bb9e7a19bbe0968035fd1b1533a08e7c7a -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/claverru
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d5bdf4bb9e7a19bbe0968035fd1b1533a08e7c7a -
Trigger Event:
push
-
Statement type:
File details
Details for the file variopinta-0.4.2-cp310-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: variopinta-0.4.2-cp310-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.10+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bc9f453a0d13314c5006b8710a547d9a96d8266ce9adcf3bb32d8e40b34c4e1
|
|
| MD5 |
51858ef07ea9ee8760fc53640d59fb37
|
|
| BLAKE2b-256 |
94a14b9ea81cbc8b8728ff00e3553fd629f1c1d05b99eeb7c16b07ba36f25661
|
Provenance
The following attestation bundles were made for variopinta-0.4.2-cp310-abi3-manylinux_2_34_x86_64.whl:
Publisher:
release.yml on claverru/variopinta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
variopinta-0.4.2-cp310-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
7bc9f453a0d13314c5006b8710a547d9a96d8266ce9adcf3bb32d8e40b34c4e1 - Sigstore transparency entry: 2723398742
- Sigstore integration time:
-
Permalink:
claverru/variopinta@d5bdf4bb9e7a19bbe0968035fd1b1533a08e7c7a -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/claverru
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d5bdf4bb9e7a19bbe0968035fd1b1533a08e7c7a -
Trigger Event:
push
-
Statement type:
File details
Details for the file variopinta-0.4.2-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: variopinta-0.4.2-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2606f7a898aada04106efab929e6f23df7baea00728a909a20c1233ff5f2d97
|
|
| MD5 |
5d8939d049ae6a6ea1bf70161466d1a1
|
|
| BLAKE2b-256 |
cd20b161d80a07b92696ca249446a31803bb6108da8ab53fd688bb5856be8ed4
|
Provenance
The following attestation bundles were made for variopinta-0.4.2-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on claverru/variopinta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
variopinta-0.4.2-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
e2606f7a898aada04106efab929e6f23df7baea00728a909a20c1233ff5f2d97 - Sigstore transparency entry: 2723398947
- Sigstore integration time:
-
Permalink:
claverru/variopinta@d5bdf4bb9e7a19bbe0968035fd1b1533a08e7c7a -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/claverru
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d5bdf4bb9e7a19bbe0968035fd1b1533a08e7c7a -
Trigger Event:
push
-
Statement type: