Skip to main content

Python API for the BrushCue media editing platform (CPU-only build).

Project description

Brushcue

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.

Project details


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

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

brushcue_cpu-0.1.2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.1 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

brushcue_cpu-0.1.2-cp311-abi3-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file brushcue_cpu-0.1.2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for brushcue_cpu-0.1.2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ef4eeeebc003723167f5d595cd8ec0792927d684ca784f8a1a1d92c9edd5542
MD5 41710385ac5ad3e890574422e84305a4
BLAKE2b-256 ef36c93234a227755c73651b1d104e7537bc43060aab92fd22b9dcf8e5c0ecd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue_cpu-0.1.2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: brushcue-cpu-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_cpu-0.1.2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for brushcue_cpu-0.1.2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a05a5e189b5db0bedb2a7e3daf536392b036c31a8eedfb66fa78e4d68e990a9e
MD5 1c144d1250a20e63d1d8681128f4ec49
BLAKE2b-256 78b07d6043022e4466c340009a7e3b5c87f94be6e30812d421c8db2761226a8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue_cpu-0.1.2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: brushcue-cpu-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_cpu-0.1.2-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for brushcue_cpu-0.1.2-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0326c4c85cdae04f13b50739e7bdc48af8e7383d19ad3f6aa852782c6e7c2b9
MD5 1eabab18f586f82d5037992a076346af
BLAKE2b-256 fd3c88003c0b98e5905d809597867788fc504e18ac6dd7fce9643313745242ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue_cpu-0.1.2-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: brushcue-cpu-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 Pingdom Monitoring Sentry Error logging StatusPage Status page