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-86.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c67fa2cbac5e180488c3bba2df2dd44cb6a199c29110afac7983827b62ed55 |
|
MD5 | ce18964cf9c70dcf12c034b22b5c81d2 |
|
BLAKE2b-256 | e575b4f0210af7015103ca62ba0d083240603c5ac68c08193d2399162a39d043 |
Hashes for skia_python-86.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9c402276242d48772c3edb77076d135e27f4f3fd4e078c7d8bdc29704338c4d |
|
MD5 | 76194b9499dff921db9396f237c0d929 |
|
BLAKE2b-256 | 35c44a08d7670323624c62f59473ad2f8f09b6522a4e138d80a4b02df84c5871 |
Hashes for skia_python-86.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19c9ce7333a5fcf42645765715644d960dbb2869d5d2916bf02ecc427b68b6f |
|
MD5 | 49e23e21f2f50996211c0ed22e353e71 |
|
BLAKE2b-256 | 1f0e66c64bdb227e3870675d94d69ab42c054d20435c8418dfe136a685e6866b |
Hashes for skia_python-86.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dabea07dcad8258180500c7a9061bf394f189a3875f7026a0be1e72cd53f848a |
|
MD5 | 5b4d0552cb56c9b1586b9209cb969268 |
|
BLAKE2b-256 | 68c4e367d4ec01223086389fd740880be6c144d8b4ec0eb666331b1ca0e43c89 |
Hashes for skia_python-86.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cafa112276c6f504875109d62c34e94950ddde8a55a0dfb20521fa772a371478 |
|
MD5 | 98c21347563956b40dc2e952f5f33644 |
|
BLAKE2b-256 | d41c18e225f6eae0f61bfdf8311980ad3fbcaa78d0673f62afff2bf016e01b9d |
Hashes for skia_python-86.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9566e52ae5dad52164715b78df0b7d7d0cecd92f15a33ad6cf5bc306b4d2c801 |
|
MD5 | b84f72248ecb25e7375179cca7c004c9 |
|
BLAKE2b-256 | 9333e8031bb71a03b3446de1ff973d0b80f2df8a2ca54ec9d8336cff81956e66 |
Hashes for skia_python-86.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fd5f0c61cb42e987929357c93855ca1f88d55fc3b7294f37ebb6921d74cd88e |
|
MD5 | f0b3a9d4207927ebd6cdff1bde41aa96 |
|
BLAKE2b-256 | 69bcc94cf8b863591dee4c4e3f692a3a97217f6866f1e57b9a82bb9418abef3e |
Hashes for skia_python-86.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f6d70f73ed8bf8dc4a1aa55b3428b2325eabf3d1a72541d9aa31aa210494a5 |
|
MD5 | cf8861e6a9a4d9e4f258704876353c80 |
|
BLAKE2b-256 | f66cf5283fa1c431e887f651aa6181873b7123418a844212795c4e41b40318fe |
Hashes for skia_python-86.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4398c0c06c9b47deb3288c32d5742f6d4e63a9edc3789fab8f323313560d7a49 |
|
MD5 | 9301968ad504fe16ee763f2e59ece4fc |
|
BLAKE2b-256 | 2a7ac62d1c889943964536b3da943f760cb4c083d7c03bde41415ffd03664744 |
Hashes for skia_python-86.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9ad88f1c1f18cd9228ea496a176352570cee03e72921d9f66182e9d88d914b |
|
MD5 | 916819837401020f7c013b8e3a39930f |
|
BLAKE2b-256 | b6f4ff26a4db9859396c2efc12e21ebfa1949c81b28feb13b217d62da4ce9a58 |
Hashes for skia_python-86.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af70c69fa89e7f7f4a20bd18e54f7ae0c0f0ba73add3d9e3fd62719f998d9d4 |
|
MD5 | f8310c3bad82509d7b2efb575c11f426 |
|
BLAKE2b-256 | d63f7a677a76382b979ba15911071dfe7a900c8bac32a5fda7caebd71273f666 |
Hashes for skia_python-86.0-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17e2aa26c00b4e77f2c4df80238594270c5aa3d8aec495416f1413c308d4cf8 |
|
MD5 | cc9cbd0f7b5c117ea22a801546bdc891 |
|
BLAKE2b-256 | 9bac7dee5363c000e50e442dfa5f7ed31aaf7828d2c0f0c8435984488f8ac07f |