Skip to main content

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 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 supported 64-bit Linux and Apple Silicon macOS systems.

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

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.

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

variopinta-0.4.1.tar.gz (114.7 kB view details)

Uploaded Source

Built Distributions

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

variopinta-0.4.1-cp310-abi3-manylinux_2_34_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.34+ x86-64

variopinta-0.4.1-cp310-abi3-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file variopinta-0.4.1.tar.gz.

File metadata

  • Download URL: variopinta-0.4.1.tar.gz
  • Upload date:
  • Size: 114.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for variopinta-0.4.1.tar.gz
Algorithm Hash digest
SHA256 ff2ce44630c380b374bb6f9f5148e7c677cba949cc86f6ed79c2db727a91a3eb
MD5 998888b0976b5427290c111f0460ff72
BLAKE2b-256 21846f78fdfaa3e7e49b447baa81cf71125f3bea0105ed6e2f3416d85a9c524d

See more details on using hashes here.

Provenance

The following attestation bundles were made for variopinta-0.4.1.tar.gz:

Publisher: release.yml on claverru/variopinta

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

File details

Details for the file variopinta-0.4.1-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for variopinta-0.4.1-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 205313fba837345f3fd47d03e746ea1bc5ff5a1256ad79402642bba65713ac68
MD5 6a83f17220c7f2d7f9dfa142747a5e1d
BLAKE2b-256 fcbc7ef0bc81a1ac4abb3e4dd22f893def80462c6aae7ae5908c9dcc66d0cf0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for variopinta-0.4.1-cp310-abi3-manylinux_2_34_x86_64.whl:

Publisher: release.yml on claverru/variopinta

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

File details

Details for the file variopinta-0.4.1-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for variopinta-0.4.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 689e7c4cb4114885d6e2af767ed6f48db8220bc6da94bfc23016b921c63f451c
MD5 22b0298f6f28cbc09f3f7788723129ba
BLAKE2b-256 b5902cf48d5709a5222045e62e68941ee3217dfb798ce5c37c4759f8490bb9bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for variopinta-0.4.1-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on claverru/variopinta

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

3 files

0.4.4

3 files

0.4.3

3 files

0.4.2

3 files

This release

0.4.1 This release

3 files

0.4.0

3 files

0.3.1

3 files

0.3.0

3 files

0.2.0

3 files

0.1.0

2 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