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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.39+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.39+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.39+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.39+ ARM64

castella_skia-0.1.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: castella_skia-0.1.3.tar.gz
  • Upload date:
  • Size: 25.1 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.3.tar.gz
Algorithm Hash digest
SHA256 bb1422c2aabc6416562dbcfecc5aa31b828b80027156829d887bfd53232fa5f2
MD5 fbe10a3967e4e00a6b30075288a93358
BLAKE2b-256 162b372546e0c7197f919d2dd44757a331c1cf42e8dd143ebd1ccb054ad4f0fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 72f5ea12f30283e6cbf5935575bb15684fa9508b9e549a9ddf32470c5f74a107
MD5 0665f5c4cd0b3b5033f7a275f137aa24
BLAKE2b-256 68a9d55f23fdd76dc97d94b9b898b1618032ffa44f0a92b1b13afcd10c043c7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp314-cp314-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 07961f0f439153a7fb09eb124f080a5095484a261f6ab453e21b146d092cd871
MD5 85988e597f40d8230216a24745ae6192
BLAKE2b-256 631fcfce0d31071ebf16201f413e3bea68477e0226cf769d282a329ae1013cee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2cfcff6aff689744246db97689713cb878cfeb6277143976ad25b99ba6aa4b51
MD5 f569294485343db2bf59d283447188f7
BLAKE2b-256 2d7458f0d15b036ba02a72ae08501bb73dae149be768fec5da1e7835ecb7586d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af2aa9c17996b499aff70a19c6a7a2b955c2a3870815e2cf62312e4655d4d12f
MD5 cebca0018fec0052170d88918b00052e
BLAKE2b-256 e5895c1a7a93bd86636eb38b6bbae809c77945e4c15861d7206da303dc44e74f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 150ecbf57179d4a2291422801b0db4302bb898f460049cd2ed442544cbd353dd
MD5 656e5f1ccdf3f48bec3588179c93fa73
BLAKE2b-256 052f124a31c03bbbfbe7e61f72dadbd3790c33d8acca3d25d5e0d12cdaaa5252

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp313-cp313-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 ac7f6971844bd90a6b3b3d0433df5249abc82e217bd3bf8009e2a82ab57f01f3
MD5 357cecaa5a9fcd8cceb829b2d6ca33a5
BLAKE2b-256 3ba12f7d31cc367ce3aebc42282d91a57076a6150f4140bd591e137ab1f9e072

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6d294c7f0f962cc4bc08aac28475335b23407be0325fed86a67572b668fe41e9
MD5 d13b591f46da66283bcfdf988bd6fe0c
BLAKE2b-256 3454099734395df0a1564f40b64428b2aa38a4a51bfcb9a6fdb4c755adc7472a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 31faed20a1936c052b428ad724fef566781372f5363ed68ed1c15914775367b6
MD5 7bda8a61ed93d6731aa9e2bd8f10b45b
BLAKE2b-256 2308ac853176d6bade1838c7567fe5fda1d534d7ed158c4c5ba6b4b5bf5140e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fc9799d631d722e690a466c464f1604e9fdaf627758652f315bb1df437efa9f0
MD5 b92102ee03ae6787ae4b636ee9633fba
BLAKE2b-256 cb72db4228d907f5094fe2cec2a12da47467a3ac6f80ea45e915bfaf46a2dcc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp312-cp312-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 d6f052cd67136c7da9c71b23b2910981c12b495a1755417a042754c30b25e6ae
MD5 ba057eff20c20b26eaad61e6f7147b3b
BLAKE2b-256 836cd22871e54e745794b70638b91f480b9a0b8fb5dfb3096b1f320ac8d0b7e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 bce2179a512b732ec8bb3355877534168b0d8de2970add95b62baaf751917d46
MD5 2aaac271ad78301c35816e5126cf2aa4
BLAKE2b-256 23b4b47b3bd23ada30f07ca90546ab2c9a78d6544deea035436cfcb2d89d34d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 678324629f9507be0cf1cc3101d69f06cff54ef7d5f8014dffddfd5012c23db0
MD5 f0c92d19d635fc186d30a4eaded3f650
BLAKE2b-256 2b2643eb1c22c24688224c8d4755713a6f113d6b69fcda727564713046ba3daa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e7f292d80047e1f48eefb4a77fdbb1c43c1d9d319e788c9f21299960478088c6
MD5 a8411eb3829dd0cde672c999caaf5540
BLAKE2b-256 bec6fc2e9a28932481417a9effd81676f7e56d1c07d3c909264b056896be3f61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp311-cp311-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 0ea92d19e07656962146c14616ac59c3d529a66985c4d82488dc00fd1806a878
MD5 c17cf981867b5c1d37db9c13516801f4
BLAKE2b-256 64264309355b6c619dea0715879a2c570e2c4ea0d468e6404370b41999e5f77c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b99a8d1380cf8eeb305b8fb7780b20a6a6639ccaa460b2739473e8a6d2959379
MD5 d2d12da1ce235bea23558052973d2e15
BLAKE2b-256 1a753a300d641dc07c990cf339a8cff32411b7796b036cfe5332948d386bc3a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c7f996b991e3aa8b185426025368e8e79afcb9e365345f3003701e679854b53
MD5 eaa1edd2c7d23298bc2a1a69d055307c
BLAKE2b-256 36b0532767a961a5a91ebbd321c44ae824b615a5d1f77710ff30bfabdff4acd7

See more details on using hashes here.

Provenance

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