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.7-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.7 MB view details)

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

brushcue-1.2.7-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

brushcue-1.2.7-cp311-abi3-macosx_11_0_arm64.whl (7.1 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for brushcue-1.2.7-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95075cd59d87fa80e11c891a817f62a9bc75600cb2a3c93a787e59be97f8402f
MD5 d3d36cfb2cbb23491c4759241d638d9e
BLAKE2b-256 88dd8e29f2ccc71df107945ce2d95bc68cb6feb0fb5217b8063fe54ea3f27421

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue-1.2.7-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.7-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for brushcue-1.2.7-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a86c05ab9e8b44688d243f86b66fbb066dec65e758106eaa95dc8a3b7e1b15b1
MD5 9941a90f1a6d7c16ecfe05d6460a7a27
BLAKE2b-256 76b5ea191dc30169337f56ff35adf7e51b342580dee981cda4fd97878534c16e

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue-1.2.7-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.7-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brushcue-1.2.7-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6bf8b219d9418b538e6dae40f080274ca5aa667646cb7c778ed884d655e53e08
MD5 d576db3ad9374dd33f042d638567c471
BLAKE2b-256 72110a29c55a4ef8f9fb2c4e8fde69a93fba0f8a564c04058708cde4c7d4e975

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue-1.2.7-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