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.2.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.2-cp314-cp314-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.14Windows x86-64

castella_skia-0.1.2-cp314-cp314-manylinux_2_39_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ ARM64

castella_skia-0.1.2-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.2-cp314-cp314-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

castella_skia-0.1.2-cp313-cp313-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.13Windows x86-64

castella_skia-0.1.2-cp313-cp313-manylinux_2_39_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ ARM64

castella_skia-0.1.2-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.2-cp313-cp313-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

castella_skia-0.1.2-cp312-cp312-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.12Windows x86-64

castella_skia-0.1.2-cp312-cp312-manylinux_2_39_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ ARM64

castella_skia-0.1.2-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.2-cp312-cp312-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

castella_skia-0.1.2-cp311-cp311-manylinux_2_39_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ ARM64

castella_skia-0.1.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: castella_skia-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d1fa79955c43ec3704c295168ba36fa697a3848795ef2f725b29f3eef1c57f84
MD5 e3ad9f691db2716a771605f28c3e7515
BLAKE2b-256 bec2f0247b1ef3868453a7a43294a64c63c91711fe3c1ec05cc5380f284155f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 995a5f2dea69a2cae1467a2b7ee83b72b4fba2f0240840d6c7932c0ae1812226
MD5 b04b5d80dd2b002f5330ef83a8e6154b
BLAKE2b-256 bf0f8fa25128820fcb379a7a293333972e8bc0a4b0920dd8f0ad51b259e9c920

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp314-cp314-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 1b33355b95e03d2e295d6b444efa405db3c09abfd07a85291d907bbff704e6b1
MD5 d4f36bca9012e7b5579996a2c2bfda30
BLAKE2b-256 6bf7420c1563550370ea25072f0723fe2f2c707b1985d4d8fe47670ea8bc3cd8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3e4259d38bc86fcfd1807ff1f9b1856e5c3ac494c98120b0ace24d2d30b6102f
MD5 5f4caa104948bfe78c0c38ce3868a500
BLAKE2b-256 9ac1fab1861e827a5bd7cb84d41967b18797f167fbb9be75cb67a65019af7562

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d40f9763f6a730e58b23664e9ced81923388351a02dbf785aa00a4cfd288507
MD5 8b3eedfe46e1b0b57761d6be32cd5db8
BLAKE2b-256 f651431133f9ac05d526d977da26f9c609525bd7aaf47512a0f2381e7d3be5ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.2-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.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d9f96e4355d4ca63f48475256740def3eabb002a453e0d02ca59918cccb4dc3e
MD5 2f174c3014588c3e74cb6eaca1b2fc3c
BLAKE2b-256 13f5944d7cee39b6cb9c016626cfa3baa568ddcc3571c13a7bb19f6304feced0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp313-cp313-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 ea0bd9042a4bbcbd70fc809cc09fd3ba6320b3b746794e18b9115c00c72cada1
MD5 4e0665b3f6ec3654d485415b37928bfe
BLAKE2b-256 b637d964f57065dd9d96b26b26f50d4da901b09b1e1594de9f7d20718ed9a9cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 49707f60d7c889aebddeda740a05eeb85396a132faa72cdcbaa16dc76abd120d
MD5 ae170b68b5a36dc8965e81a79cbb2032
BLAKE2b-256 a96a20ff4323e809655393e8d27cefcbf8eaf5b05f8f8769ebfad1168ab24f79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 58db0036ad21e6c7c49602b1866870819f5e051f986e7116012a94c1489f6cad
MD5 2c8d93b3445b65df06e7d44b96fcf82e
BLAKE2b-256 1f49be2445dfd76286db788e71c3c8e3d791e1d2fc8734329062a5e811232815

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b5d6c9215a3671bc7bb0640cec50917b2348611d8e6768a2c91f3ebb91a0ffb1
MD5 5d8b6c69387ea5d503a9e40d175e05db
BLAKE2b-256 17883ba395fbf1275cb16d01a82a258e550a2d47c4b6da3db3ce600634633b04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp312-cp312-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 6dd9d5a444df0d8b8ea3b58ab8f3240efdbf101061b9fc071ea8a6d735ed0352
MD5 12045a4f5ad193c11120978b5fa14f02
BLAKE2b-256 0f12211f7b659590e96f1b3ba940247479febc4259b6f3ef18eb8f11c2124c6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7f1a5fb5cd0d63b4705950e6f0cd2cd59bbc96849b9ea327b6e20a9d8b790b32
MD5 66cfbcd76af7794afd2ac3db97374008
BLAKE2b-256 ddebed0f3c81b414bf8e1f11c71f85b9e921959e3afc4c4080a1d4fcff391853

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0a3a33a8b1650349060d95d1ffebfcc5e19ff527b67e877b4e7fd404e93a51b
MD5 2043cafc9022d46115bbbc29488061cd
BLAKE2b-256 441bc53b869d1b7cd492d8e7f69636aa9fa2d9179229574bc816da2ac28c09ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9dd348489060c1bcbc0d0bbb199d4d6c733fb57f952dd2815e6e2f3d4c151165
MD5 844adecea9e036c840920f52437407e4
BLAKE2b-256 2925e6bf0a84baf2925a416cc484b7cc16ec6341892cb74b8c5557375198fb76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp311-cp311-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 68cbc99ca2fb20e5c2c1546711e2566b2483441e0c887b85822ca6df81cd3c92
MD5 cb3f2c7c0ca215fbefcb8df7076d8acc
BLAKE2b-256 03d888ba9f71b070c71dfcb9df0306c374ab500873d7cd4ed4ffc286a65a3040

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6d899eabf0253f2cfba468a177c15a9a7676d18aed4aa62f5ab2af70e88e78bc
MD5 7a8e202bdb2bad54a2c60520450a7eba
BLAKE2b-256 868e21264295293e76451c4635db952960f61d21a3c5fa6aabf780666c24a37c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 043249604effdd6cba4496dc7a0d6271a98c1c6d2fc0ddfe08574ac5020d6d17
MD5 64f674c07c62cd5cecc331918f0b0659
BLAKE2b-256 aa749009ba8c3fd94a55c0d0299f5bb3728c5e6a4c55503f3228fe2591d5f204

See more details on using hashes here.

Provenance

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