Skip to main content

skia-gradient-array

Simple wrapper around Skia to generate a gradient image in numpy. It uses a skia.Surface with alphaType of skia.kUnpremul_AlphaType, so that it plays nicely with matplotib. Packages like cairo only supports alpha-premultiplied canvas, and things are not idea as Matplotlib does not support alpha-multiplied images. )

Installation

You can install using pip:

pip install skia_gradient_array

Development Installation

pip install -e ".[dev]"

Metadata

Release files for skia-gradient-array 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for skia-gradient-array 0.1.0
File Interpreter ABI Platform
skia_gradient_array-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / skia_gradient_array-0.1.0-py3-none-any.whl

Download URL skia_gradient_array-0.1.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72d5de3041f13c6df2bc7bcba8e4cbf5cb88d89efa20f7f05ea8648376e9376a
BLAKE2b-256 checksum
How to use checksums
051d5778ce271ea6e8986fe6d945a039a5539dac9a708e82db71d9885a7f62a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Security for skia-gradient-array 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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