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-87.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16f1f63fda77ba62084d737aceb6dcff3f6f6e93956061f1342fb84d0b1d6c9 |
|
MD5 | aaa8c9950702a7aa8578952bbbcab213 |
|
BLAKE2b-256 | 25b3af63aa5ed1c88eab3879404036a1e5cf7346ec2a560768ce9f83c815bcbc |
Hashes for skia_python-87.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f32f9205dc59b7862440c1a6e77f39a5839539a7c156803e693e82ece32159 |
|
MD5 | 3f00d7269d3b866c5d8e1a9f7cc6de5e |
|
BLAKE2b-256 | 555a20b4e5d69f5d99155fef22d1d13b7879999d27b63419429bee925f9a168d |
Hashes for skia_python-87.1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f05717c95821f71cefab5b166fc43bf532e92e76dac941305fb20d81b1da74c |
|
MD5 | 384c37a84189c202e26c63e4c2ed38ad |
|
BLAKE2b-256 | 1ff189067033e90c3dda761c2b0bb390025dd526af061826971aada4af75f6b0 |
Hashes for skia_python-87.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 662e9462f086bcdfc3ebb028c2c5f62b6be568b1b2fb8dfec77895a1e53baa16 |
|
MD5 | 6b560644e7a294edb09e284911965fca |
|
BLAKE2b-256 | f004105f83a19cf31c5050c622eb470eadda88a41bc3dbb7dd36682fd5aab6a1 |
Hashes for skia_python-87.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6aae07b5f77f5b6f2919a138fe8ea111313f4435b4036cdc83768f4638f61fe |
|
MD5 | da9047f9d60450e4b6c9c91e389eaf0e |
|
BLAKE2b-256 | 85261d0bf4b48c87b3319cd880e8a3675ee1bbc81a78cc171a86e2dd53dad88b |
Hashes for skia_python-87.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de86169f8f0260a81da0bee603013c65c5b0ce917d02a6e88453920672130cf6 |
|
MD5 | d2ba868ee3e577e9692aaf507a9c0871 |
|
BLAKE2b-256 | 1ce3f1da4072e86f71a36160c2f653f040450fb0189cc035d0d8169fa53be6a7 |
Hashes for skia_python-87.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2051f75187083641a6f2bbd2f804d10a9c621b5722c292a34fc526efe15e69c |
|
MD5 | b3e2f0ea13dbec8a4d3d1bdbcb995b37 |
|
BLAKE2b-256 | 603eedd2d8946521db4af6bd44585212dacd55caeb12565d7530ab238a316b9c |
Hashes for skia_python-87.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bff79677a4e51dd581a3659681572173192ec916c9fd508e551eb5fb0d5fcee |
|
MD5 | 04557cc4daf8c0cfe28be602fe2ca8cf |
|
BLAKE2b-256 | 94312dec7872214457e34f875649a4f65595255631fa0f38be35090a15a1a0e7 |
Hashes for skia_python-87.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3aa6bcd57eacc2081a83c31f812453d66396d9f33ce4fee5dad573ac312a657 |
|
MD5 | 7075e32876627a7326d8dcc172fffcbc |
|
BLAKE2b-256 | 891e0af4ec6235147ae91a4aa076c8091f993491e64f34c4f59bf78f1aeb7b49 |
Hashes for skia_python-87.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 295821a06f65445ac14de9f93aa748d440fbe41df51c2663f16aa9ee474dcba4 |
|
MD5 | 3a2c6cfd49a75c2752ff2f9f044b0241 |
|
BLAKE2b-256 | 03b3724da82b5427661c67b37eb7b32dacf6d7f2cba569cc8c83e2f5edf1679c |
Hashes for skia_python-87.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5137f881828fef7c862d390fb2ba2599428cf986f71e5a9c218723906afe132f |
|
MD5 | 43fac4e81d6ec714588f89fe2e419ab9 |
|
BLAKE2b-256 | 2cc11b59aafbb62633cc549d193029bdd34dd31f6a9884b50a6429b0f8fa6e6c |
Hashes for skia_python-87.1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a908c090ed41e6d4f630df42e4f16d5007cad33542f55cb540feb20ae7f81f |
|
MD5 | a0fcdcc1e194a4cbfa4a64a0c03e5e98 |
|
BLAKE2b-256 | 2e82981781f05868b24d72e1027e0f8f5cb0516467a23c52a26712214825aacd |