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.4.tar.gz (25.8 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.4-cp314-cp314-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.14Windows x86-64

castella_skia-0.1.4-cp314-cp314-manylinux_2_39_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ ARM64

castella_skia-0.1.4-cp314-cp314-manylinux_2_34_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

castella_skia-0.1.4-cp314-cp314-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

castella_skia-0.1.4-cp313-cp313-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.13Windows x86-64

castella_skia-0.1.4-cp313-cp313-manylinux_2_39_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ ARM64

castella_skia-0.1.4-cp313-cp313-manylinux_2_34_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

castella_skia-0.1.4-cp313-cp313-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

castella_skia-0.1.4-cp312-cp312-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.12Windows x86-64

castella_skia-0.1.4-cp312-cp312-manylinux_2_39_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ ARM64

castella_skia-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

castella_skia-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

castella_skia-0.1.4-cp311-cp311-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.11Windows x86-64

castella_skia-0.1.4-cp311-cp311-manylinux_2_39_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ ARM64

castella_skia-0.1.4-cp311-cp311-manylinux_2_34_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

castella_skia-0.1.4-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.4.tar.gz.

File metadata

  • Download URL: castella_skia-0.1.4.tar.gz
  • Upload date:
  • Size: 25.8 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.4.tar.gz
Algorithm Hash digest
SHA256 8952ebb260c9fec9a4ee56b6f348da5df7a6b6ea5fc7606d7c07a901aef7b550
MD5 47d08b1180aeb0967d2ea6bc17bae100
BLAKE2b-256 037f3d4324c6f657de7738b01649377915817aa8fb586c755608f7790ba6d03d

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4.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.4-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 74e9ee48e2f2891525565d71a1b75a8c596378b4e53656fffd072e1bf98f32ff
MD5 845781587550437b401abbdb53cd7a18
BLAKE2b-256 019bad49ceec0450e75c95999436891e04b360202af5d4e5382699a50b94b46c

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp314-cp314-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.4-cp314-cp314-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp314-cp314-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 e4dbe0288876cfabe672b76c164966ec066b2a3346047cfc750d396843cf9de9
MD5 8b5e47c69631e8a240d5a9dffa21930c
BLAKE2b-256 60a155b6e853406d725f8dc78aaf6b8eab0bf0f12e1e356532b0e40d6d11bf38

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp314-cp314-manylinux_2_39_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.4-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 855582eee39241b3f2cf9ee91aa97dedddd16ac4aa37a625a8dd7064f7619ad3
MD5 631dbb9379b7c99c68a62bee7d89f8d4
BLAKE2b-256 2b4ab38c8e9f3a710910a007caa85e521e1612ce5cb13792af9f3feb884bab2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp314-cp314-manylinux_2_34_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.4-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0aff47c2a3215cbeac01bca4ae60b7561bc4ab6fd14a39d9f49cf1f58149fa0
MD5 bfe4fdb9ab2e5138e7a8e212083f9f7f
BLAKE2b-256 97eca0ccb6558bc2ae95016c5a263b09f049cda69cbb204992e467d6c0fde1cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp314-cp314-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.

File details

Details for the file castella_skia-0.1.4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 02fb19a2794be99b24b59fe4c9fbf4a4e9e9c00760d6c4e65b87043e4dfc957a
MD5 02454f73a8e0116b75b4c6ebd0c92f11
BLAKE2b-256 448021d68cba0d4a13467cba94e2f1e1e94d4e0a252dae64f5a40fcf6ed9d7a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp313-cp313-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.4-cp313-cp313-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp313-cp313-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 8549df7338c235b42b5ba0661eadee74367cee1c9d621467e0d12c3c218238ea
MD5 27fe97b3799581259ecdaaf433ca2e19
BLAKE2b-256 e6e8b4bac327dcdcb2ee9180496036a345dd275a419478c4414192d5e83fd181

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp313-cp313-manylinux_2_39_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.4-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2db25fa0c3b4e9de79b4cf82a657e8d3b9721591b86011059e23c4a1020eb579
MD5 ead0e8791c85930fe27ee3d69949dea3
BLAKE2b-256 1f836f183650734bf2a348d85f74a1077bf455ce28e7b0a5412bf0ce4671e5f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp313-cp313-manylinux_2_34_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.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cf449e9f613a64349327bce4d882ede19710385a6ca32a27f7e10df93093dec
MD5 fce57ce431808317b2373e53cccfcb6a
BLAKE2b-256 027c01d984f0f087a7f068f0db6c98d068d45811bce13ca4ff5ca9ab3f7747df

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp313-cp313-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.

File details

Details for the file castella_skia-0.1.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 55845e66c76352045b3a932aceff8fa8176c0019018b53d8e9697ae7ac700ef9
MD5 ea4d9495c049d1d53170eb8cdb0fabfe
BLAKE2b-256 d9b4c7b5d95bed2c6a0077ee18b044868d1f95b4a22fe491e07d63af0ce226aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp312-cp312-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.4-cp312-cp312-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp312-cp312-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 f08d53966e86746080c99069840b83a0ee663ace111bd2169fd20e48fc32bdd1
MD5 d5772daffc3af029d1fd9ebd7619b595
BLAKE2b-256 a6fc09e4819b9fc43fbde19a07f32e5fcef8059f7d9d661e6b91a26780d10532

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp312-cp312-manylinux_2_39_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.4-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a2c45e9ee7a88d0dff0a2773cb09df270de8ab5e348ef3b8af1f0d06158cb540
MD5 4274169a96d5e746cb9e6420fd3cc598
BLAKE2b-256 3078bf3e9c454baf1fab11620050e433abd32549d21447a4c16df74dd04b1bca

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp312-cp312-manylinux_2_34_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.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5dccd103b760a57b4c3f07f80fe86479ba0b2560adc74b67c1a9deb47279e97
MD5 0910c07994fec221d683a824175aaa65
BLAKE2b-256 4b7af49abe28495bb9f451050be5e8e7b4c69dccc4fbb0ef9f3ce7829eb2ebda

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp312-cp312-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.

File details

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

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 aa0525f9107ac735188bc04102c723a5b1ceea2f0cba110356deab3dbc6c3267
MD5 9e846d603ee5a9b694fd27f488bfccc4
BLAKE2b-256 c0e26716422cf959ea11194fcf3979867da4736c02024f122c70faea6d7305ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-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.4-cp311-cp311-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp311-cp311-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 44fed346ca85b444cad51346d54044790c37e93bd2e51fde0bab27ad8415486f
MD5 31a40b0d394db788d2573ea7e2f4b12c
BLAKE2b-256 41c9a16e92de83b44230db20b0e142e58dd458fb8fcbf9e3ad32a238513a695c

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp311-cp311-manylinux_2_39_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.4-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a60d8c6938809b2527dc3052af583d7346d4d1491a6759322b5201dd6b8df6fd
MD5 b4dbb4acf8173299b3bd18822fd5b8f1
BLAKE2b-256 92733930408c55f686b25d1221087c2a871aa2ef3e92a912431f74ae3342d397

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-cp311-cp311-manylinux_2_34_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.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f36371fb83f544a21d5f435c025023873f64f14683afe43d1edeeffd21d138a6
MD5 b2654e6053cecf755bc481a38cd94550
BLAKE2b-256 f8c443639b0d04ca0f7efd2309dfdb75e177d6e400345dc4a2299ab6f8cd03e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.4-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