Skip to main content

Brushcue

PyPI - Version

Brushcue is a GPU-accelerated image editing library for Python. Every operation is a composable graph node — adjust color and tone, apply filters and blurs, composite images with a full set of blend modes, transform and crop, run ML-powered segmentation, or write custom GPU shaders. Chain nodes together and call .execute() once to run the whole pipeline.

Examples of things you can make

Install

pip install brushcue

Documentation

The full documentation is available here.

Quickstart

import brushcue

ctx = brushcue.Context()

image = brushcue.load_composition("photo.png")
grayscale = brushcue.composition_grayscale(image)

result = grayscale.execute(ctx)
output_bytes = result.as_composition().to_image_bytes(ctx)

with open("output.png", "wb") as f:
    f.write(bytes(output_bytes))

Examples

All the BrushCue tools are available as examples to learn how to use our API.

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.

brushcue-1.2.6-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

brushcue-1.2.6-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.8 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

brushcue-1.2.6-cp311-abi3-macosx_11_0_arm64.whl (6.9 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file brushcue-1.2.6-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brushcue-1.2.6-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32e95bf96d2d8e972bc22bb0fdaf7fe5c5c514b8873ca51c7f34879ce4af20dd
MD5 f8a045062585dba2d5928ba5f4130424
BLAKE2b-256 115671e5d193d2194dcc3f4046b5e9f94d566e8a4b56d50ba5f37f9ed7c76843

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue-1.2.6-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: brushcue-publish.yml on ditotechnologies/monorepo

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

File details

Details for the file brushcue-1.2.6-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for brushcue-1.2.6-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 88cb12cd0338e2fa15e2bcb5f8866c1abc79717c5f7a26fff8d5a03e3982fb4b
MD5 8a7942b58b93964508fa2db6cfa43523
BLAKE2b-256 e0fb73cac8c6d179625385aaa0f82346c867423f8899fdb740b522b3576e2077

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue-1.2.6-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: brushcue-publish.yml on ditotechnologies/monorepo

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

File details

Details for the file brushcue-1.2.6-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brushcue-1.2.6-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95821bcef1ea614880a43d966e626f6be94d731eea909308e3f1a6592495440b
MD5 3b9079c8c1ccda0480083d9568208e59
BLAKE2b-256 e585e62b210fbd930683fe1549cf82bece2b6b2905752b44a042d1060d290baa

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue-1.2.6-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: brushcue-publish.yml on ditotechnologies/monorepo

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page