Skip to main content

Unified Skia rendering backend for Castella UI framework

Project description

castella-skia

Python bindings for castella-skia-core, providing GPU-accelerated 2D rendering for the Castella UI framework.

Platforms

  • Desktop (macOS, Linux, Windows) - OpenGL backend
  • iOS - Metal backend
  • Android - Vulkan backend (planned)

Installation

pip install castella-skia

Usage

import castella_skia

# Create a surface from OpenGL context
surface = castella_skia.Surface.from_gl_context(800, 600)

# Create a painter
painter = castella_skia.SkiaPainter(surface)

# Set style and draw
style = castella_skia.Style(fill_color="#ff0000")
painter.style(style)
painter.fill_rect(10, 10, 100, 50)

# Flush to screen
painter.flush()
surface.flush_and_submit()

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

castella_skia-0.1.0.tar.gz (25.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

castella_skia-0.1.0-cp314-cp314-manylinux_2_28_aarch64.whl (9.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

castella_skia-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

castella_skia-0.1.0-cp313-cp313-manylinux_2_28_aarch64.whl (9.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

castella_skia-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

castella_skia-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl (9.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

castella_skia-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

castella_skia-0.1.0-cp311-cp311-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.11Windows x86-64

castella_skia-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl (9.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

castella_skia-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

castella_skia-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file castella_skia-0.1.0.tar.gz.

File metadata

  • Download URL: castella_skia-0.1.0.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for castella_skia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 604fdf789aed5b758245cd8d259a86a89ea81c3a4c79d2ac3fe6c844afaa4e9a
MD5 d7c7f3d0376ac7115c8e8a24a152c771
BLAKE2b-256 90b64cb2d74c93d7653e3bce5a967459cd4861519ddb39f4542935af42ddf397

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0.tar.gz:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 31b61f6dcfbf2fc0bf65677b8e9bc2c6b777ad9d8b5ae57e8dfa7b131c2afb5e
MD5 c8405c0d01e1dbff5b2e3b77324d1fa8
BLAKE2b-256 c044a95c91c3a025d931164254a79c9fc52153a6277aa73af0ce4d81a9c17c08

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp314-cp314-manylinux_2_28_aarch64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e18124cf3c659bd9f426465fcb9148ab9b111716033b8b2799799500cf59dca
MD5 9b1a8f08134e16fe570c4195473a9856
BLAKE2b-256 32c3ff025309c582f812fda12d88faf448a400423a4c1343f13b698626685fe9

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4e42a758207870eff40e228864e2ef3d8c4b4f087556de2961a8205e02596166
MD5 d507f9002241d794063fd92d40c80e66
BLAKE2b-256 b54e15c39705a594496d168c07a86327678d906f3eeb7ba4e84912bc6308e1d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp313-cp313-manylinux_2_28_aarch64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2612a989f832a2051ce27912e3197d4a7dc30bc2d1d6f2470428045806fa52f7
MD5 cf5f2860758a28f77bbb2cfa60f1f462
BLAKE2b-256 dd3869000283ddf74025d6fb62dbf87112b4bca783c799ff2a2b3d84feb954ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 275b9e359bda110f4e9a197c791e804ea0b934cb1283fa23979e22b38bbcc769
MD5 e7e3a5cf9d267b8a86613e5629b8b7c9
BLAKE2b-256 126d6365f1765cc71b93247c2c4d4ecfc172a39f8e48e2c8c1eed258eb94378e

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ced7f532cecbcf63ec6729ea6417d82784b11c5e0fc190f4275737512cf965b
MD5 68ae7efacd59cd3f6b1a54e742e6d700
BLAKE2b-256 9ae9d9b62f4e6fa8657ad0b811181585538ec8136dd5920c2395b51cd865cef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2de6165f13e67f0e148263f0907d6f8766d825825ea2b0cf0e4241bc3340c2d0
MD5 940334de1b46851462a955e0252de048
BLAKE2b-256 968597cdd9b5f452abcc6f616c8c34e3616dc6ce7a3330062ccb0afb5cc37ba8

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp311-cp311-win_amd64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b468bff97315cad9c730950b34db7bab17d0c78c2263709d17a1353ede7bd4d1
MD5 fe86426f2729ceb3a1f7247d81049c2e
BLAKE2b-256 fa190cfbcd15d1a55cad0759de211826e95b90be19aae8a14298c0f9474f09e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ffd6f70e467f93a728ceb131c47b97450e8586c15538ab6861007cce6f6021aa
MD5 2bb762c16ea04b8b01669af0df5cd644
BLAKE2b-256 95e61804fe2346736bcd019ae9bae38d581557ee92c897ab4443851296627e75

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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

File details

Details for the file castella_skia-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 abb666bac60c9e4ddf341137b9ff3b3e463e3755ae5c7e846950657a2cfe986f
MD5 31cab888e369e31617d6bf9f2e5a645a
BLAKE2b-256 87caaa2844dbf89772706a50ad7044a92103271e34ffefb795fbc5b258914830

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: castella-skia-release.yml on i2y/castella

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