Skia python binding
Project description
# Skia python binding
![Build and test](https://github.com/kyamagu/skia-python/workflows/Build%20and%20test/badge.svg) [![PyPI version](https://badge.fury.io/py/skia-python.svg)](https://badge.fury.io/py/skia-python)
Python binding to [Skia Graphics Library](https://skia.org/).
Binding based on [pybind11](https://github.com/pybind/pybind11).
Currently, the binding is under active development.
## Install
Binary package is available on PyPI:
`bash pip install skia-python `
Supported platforms:
Linux x86_64
macOS
Windows x86_64
For Linux platforms, there must be OpenGL and fontconfig installed:
`bash apt-get install libfontconfig1 libgl1-mesa-glx libgl1-mesa-dri `
Or:
`bash yum install fontconfig mesa-libGL mesa-dri-drivers `
For unsupported environment, check the [build instruction](https://kyamagu.github.io/skia-python/install.html).
## Examples
[Showcase](https://github.com/kyamagu/skia-python/blob/master/notebooks/Showcase.ipynb)
[Canvas Overview](https://github.com/kyamagu/skia-python/blob/master/notebooks/Canvas-Overview.ipynb)
[Canvas Creation](https://github.com/kyamagu/skia-python/blob/master/notebooks/Canvas-Creation.ipynb)
[Path Overview](https://github.com/kyamagu/skia-python/blob/master/notebooks/Path-Overview.ipynb)
[Paint Overview](https://github.com/kyamagu/skia-python/blob/master/notebooks/Paint-Overview.ipynb)
[Python Image I/O](https://github.com/kyamagu/skia-python/blob/master/notebooks/Python-Image-IO.ipynb)
[Drawing Texts](https://github.com/kyamagu/skia-python/blob/master/notebooks/Drawing-Texts.ipynb)
## Documentation
https://kyamagu.github.io/skia-python
[Tutorial](https://kyamagu.github.io/skia-python/tutorial/)
[Reference](https://kyamagu.github.io/skia-python/reference.html)
## Contributing
Feel free to [post an issue](https://github.com/kyamagu/skia-python/issues) or [PR](https://github.com/kyamagu/skia-python/pulls).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for skia_python-0.0.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918fc789ecc7c68f3ac3bdd1b6b2f480cca092f3a412a5590839a566860dffaf |
|
MD5 | 50c58a181cea960c79df5f1c0bb5016a |
|
BLAKE2b-256 | 0f9a3eda19ddad7ba66513911ea7a852f4179220eef076dfdd9496a9999fe510 |
Hashes for skia_python-0.0.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc1c30cadb17390c2b946b29322d18a7f8b67f4c9ae88e3f3fe23535402da09 |
|
MD5 | 08b4d9a3d5d31ac8eaced42c36159022 |
|
BLAKE2b-256 | edb34831fc2906a1321af7f719574574dc94645e52ec920eb3ff3a0ad1b17836 |
Hashes for skia_python-0.0.6-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0a0d13eb43922b81f8585e48b9df160b6f8f3f6ca2fdff0f911f131a91f2b3 |
|
MD5 | 1169bc64b82904da4f439092ed6d23ae |
|
BLAKE2b-256 | b6994b40d1debc37401207e097542ac1cb055475ded09dabc68c805eff99deb1 |
Hashes for skia_python-0.0.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a32f4af31d90db0588caf218ec180bf07daa9afe19947d44564bae1f663ef2c |
|
MD5 | ede1b46891ea3cc65c8bd81ce6b5a136 |
|
BLAKE2b-256 | 560b611a4a7048e20cffeb1a1e6af481a3a644ce7690a9166eaa8bbe1262f44d |
Hashes for skia_python-0.0.6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7220d6473ad1a73212f7536824795f031bd91e67b7a236c20d9aca5356891c |
|
MD5 | c7791708948fa7da1327faa0429bc81b |
|
BLAKE2b-256 | e7d799644c0261612cfa2f64054b6613703695bd9ce784d25a76278adba34c8a |
Hashes for skia_python-0.0.6-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aebc7b46e017eef844c0cb7e767ffd9edb1eb5b686ac092c2d3a4e084f26b77 |
|
MD5 | 30d47570ef7dbc08dcaae7c2c10bb0da |
|
BLAKE2b-256 | dbddfd03a91780f6eaa05b483bf263c520a5bb5187d350dc0b29c7153331f60a |
Hashes for skia_python-0.0.6-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faaaaba3c6d40113bc94c9db767df3e4eb8acf0e7d92828ec732a5d3ecf5c036 |
|
MD5 | 1cd3e26e34f389d0301f9fe963215853 |
|
BLAKE2b-256 | 9b455c13611b34315e0a3493d764bf9957463e7794b890a6fc44e42715c3cb60 |
Hashes for skia_python-0.0.6-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 747fbd138f97858a29cebae8a2951a35fad0e3fca8413cad6fbdb1904cb0b6b6 |
|
MD5 | bd82563d9f1f5241d7782956ca1904cd |
|
BLAKE2b-256 | beec8896a05bbfc9a4d43a656b27fc55b25a96d89af97e2cb0e53d21e919fa73 |
Hashes for skia_python-0.0.6-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f883bea4dd49d51a970b309336cc2e00c67d3d8a29307f992642da82befaf86 |
|
MD5 | 51409fb8a32145a6dfb6523d32f7738a |
|
BLAKE2b-256 | 21e5eea88ff74f84ab1a44403642c9ff0b7d4c66dbf7f35c3776849eb02d3c85 |
Hashes for skia_python-0.0.6-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2213c617c26b09c0d7f4251887546768d0e56700c8dde3868c89aa5f8acbd4ae |
|
MD5 | 53424e2ca1a925bf85b42075bc19230f |
|
BLAKE2b-256 | 1904e5093aff025217600162833ed69a63d1090fb943364187ba7c84b7c2c30e |
Hashes for skia_python-0.0.6-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be051241e6c34505b1365779d2ee01b745bf6725573f130679b8553e3615e471 |
|
MD5 | 3fe569cfb9b8c910c4425039604856d9 |
|
BLAKE2b-256 | 358b4a71c5365944404e26b2f411e41771b07a99e62dce7a5011d9d7d39ac437 |
Hashes for skia_python-0.0.6-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baeb1bbe9edb0d4bd8c604d96e8a4890164a2624b1b6db1cd35274e73529f46b |
|
MD5 | 64584e074db75e8a7db3a1ceafc8a817 |
|
BLAKE2b-256 | 0688faac771a4b60a8363becfe010beb49c2c6e1bfef1faefa6fe223591d2e52 |