Skip to main content

Python API for the BrushCue media editing platform.

Project description

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.

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-1.2.0a5-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.0a5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.7 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

brushcue-1.2.0a5-cp311-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for brushcue-1.2.0a5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f03987ff0f02b536a8599691172484d27a0995ff2e54f48ace320d3376f48c8
MD5 b50d07b136a36499ecc62144a51b0ef3
BLAKE2b-256 cc04de205ada84a500a5c33795854fb756410c496f3fe1c439abb5953d41c68c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for brushcue-1.2.0a5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c1f40ad4ae7c4dd977cd454c227707aa7e24890298634fb49ff22fb0a8071019
MD5 d8d478027ee650cc09cc56aa45a5a09b
BLAKE2b-256 61b022905bc96caf9d82d0b43c9bab00ea284bfb2d2381f18040066ecf78fc49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for brushcue-1.2.0a5-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52d42a0abb85e7009fcd54337015479c4e854713b335817c990f9503bac9beaf
MD5 cc34b044f6c2128bb541faa2ef5b6f13
BLAKE2b-256 88e6f0a964dca631df3b86ca0ad398c1054084974df9a2fe1b78f72bf01d677b

See more details on using hashes here.

Provenance

The following attestation bundles were made for brushcue-1.2.0a5-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 Pingdom Monitoring Sentry Error logging StatusPage Status page