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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

castella_skia-0.1.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: castella_skia-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 dc7698480c9fc56a3a36dd3c020711e7c3295af00bed114cce37ff9b734a9c09
MD5 a2acf5a50ab126943f020c2571cbba82
BLAKE2b-256 8812d3c8c86d2d3e174ff1008261877a581fa2dc17061401cdaf6b0aad77e48e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 22ca13a5bd803e6b5120135adaeb3bb6c1bcb9d499ff16cce1ce0e28c426f9aa
MD5 795a60b10450abe90f51a498d0250b47
BLAKE2b-256 38f26e40f9a0c9bf1614f16ab44687c95919ac0f509e7a9ede762e0862cf28e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2b62f49c1a78828cc454e7000eb377d09bb05d644f52919af9fb62e8b04c9e2e
MD5 a4015dbbbd3d9ad1bf828ac2502ce5ba
BLAKE2b-256 82547968e3190253890d953a27b671e4c6a77fe0968a6cf55d9e2c68fadbc25f

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce5de931ab09aaede7be4181fc90e10626aaf8c07a1120e02d3918c0c24dfee1
MD5 47fa063752e106470698ffd2fee93bee
BLAKE2b-256 10e63764b2e107cfcb692108b828f8e43342b9a3b8113e59b98fd21e4742cfb8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8db4328371975c9610c605a84b8175d7c200b78b63cf9623a22fe38dac4fff1a
MD5 e050f6bbfc10b7719f924d15f748491b
BLAKE2b-256 59777590b034e4cb60d651b1b81e705bd9d0400d3c7d5f0b07a7ae9bc2b1203b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e26f04f6ded2a4cb680d4aef7a359b95e13de4c1377701083acc11fc20950c60
MD5 a3e44ac5fc349f5a4fcd5eaf06fd49a2
BLAKE2b-256 2643d3c65facda73b4e5bffe6dbf398af155945957d9286b6f990a820684621d

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6237e432c0f45fdbf057d404bd5ee1e62fbeb8276238ffcf2c1883f3ba55c1f3
MD5 4468aefa78b940ae85b368b3465c6402
BLAKE2b-256 19daac1019f1930901eca45b113c48d4a6556fb5549b1d7a7ec1eb0340c20e56

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0f0aa17ab6bfaa13433f161f42c0b7c44f18468e96377a2a171a5a8de50f57e
MD5 179aa50058b14b1cc34daccc94026d9a
BLAKE2b-256 ba3f79313ee56c45ab53b15fc0385556028fde4325dd65aa7c11733f1ebfd045

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 675c39e5fa15d2e66b1ab04eaacb51395fcd4ade9badbccd3aaab679eee626a7
MD5 fc3a699c40c00a014e2f4ab8166167c0
BLAKE2b-256 8b668a43814053b80fb9aba346f1838594a1adab50a34ed0825d870654b7595a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5cbdd83a6a28efac7fed04e6fed00be4c069c35e293a4ddc16ad80eb19450080
MD5 1cd3f02e2e2acc404daed466dd1c5b55
BLAKE2b-256 f4e1c907c5f0cadf1764ee7f43ce6cb7ee31beff926ad7b0d177ec465591a091

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e1deaa9af40c3d169cd99efc4d8af7f41e093d13665896469171043d7b24767a
MD5 74eccda6373e044cb86695a78c3a1250
BLAKE2b-256 ed993bd6d0b24f95d49eb0765ec3252cc7358f67aba2c4ed8790c17dc6faca0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16ea5e189b903c10b9b91c041164a394474df2809be35e8a5f2353e95c6dbe57
MD5 5d9195640370507ed275735ddd7add7d
BLAKE2b-256 a08cd56114ddd437d0a8fad254f325b9b3e083efdd10801cbf72d17cd54d7084

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8380737fb14981f70ee41781703aab04fea9a7731dec95faac882455f4bf2337
MD5 c5ef0be642270993b9f849a05323e1b3
BLAKE2b-256 ca239274404202f90c9ce92551b9fbd6798b33f407397c0e70b2b69500c8f9f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e354b6493c76359672488042b0317863bace1e63afe03be0ed1d1d3b326f3f1b
MD5 9fae3f4bb6c1bf332499f5bddf1f116a
BLAKE2b-256 df86d6fdeafc63f9209a5971aa6b0d6ed729eac0a88dfdab60f144919c1de4e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 45bfcaf72a89b07ee78f3681e7f026c0efb6d922294ef57588aaf1c8351acaa2
MD5 9eeda09b1a9e9c8baef1a46db46da6d0
BLAKE2b-256 97b2c3f87cf175a595ecf8c0b9581902148513c52e22231cbb4acaa8080b83c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for castella_skia-0.1.1-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.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39b6dc052c1c39e86c4a4859a1d7d585fa18a9c95fa45fde542c55960bbf78b3
MD5 356d598c511151aa067836453ee80df5
BLAKE2b-256 b759cefedfefad3cff53d5f2948ce4e5401a37d23f36a1681feec932531d4ee9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for castella_skia-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9152efbc912551bd2b3c84b64851134ca986a2c6683409dd958e932a9e7263b
MD5 44e6f4f96f1b0bdba244326349172eff
BLAKE2b-256 bb9ee15ab71e33ac69aa9660de0b123724205297aaa0f44caa846d5c08fd16ba

See more details on using hashes here.

Provenance

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