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-85.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa5df5d5f1839be7648618eec7e088635f86e032d1efb53a6db48fc474b6c26 |
|
MD5 | f5a8f1f4cf3820e0dca9df1fa0d4c17c |
|
BLAKE2b-256 | 86ae564440626fe4f443ad764274b771591bca45b47ea045ba26a538a29bde6c |
Hashes for skia_python-85.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7669ccc3f7b022d997816de9d8da6552cf555a2698ee0a899421e415bbb9b548 |
|
MD5 | 8816025bc39a3582f644845eade60bd9 |
|
BLAKE2b-256 | b6c6132ab489dc8cca1eb76c5b3c5c68e28d8b8be6de50e821edc1893fd6333a |
Hashes for skia_python-85.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bcb1fb74e213a52a24c61901efce6bf6c7741dbd81c0efbc10a09aa87dd30f1 |
|
MD5 | b3c82ee07e8c4fb2ee6242d320cb8727 |
|
BLAKE2b-256 | fbe9c3a678e890c9e063615344007e9bbc53b53e0818ac7be6e3142b76117873 |
Hashes for skia_python-85.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 167b0e373dbab640783af2a27508ddb6089489fc30d35fee85855909231116f4 |
|
MD5 | c8f91c06c4203221ada67e57102882b2 |
|
BLAKE2b-256 | 62f68451cfae96711e8a4d518b9c0a472ae260cad53628b3b681f6ddee8fed4e |
Hashes for skia_python-85.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c9a4ab2c7e9f13e36b242662d9624b075e0a70279b4a1e12200bd703a70280 |
|
MD5 | e80946977a4bf5c6ae4cc094af393992 |
|
BLAKE2b-256 | 951240fb785bbd1b824cb0fea2b796c3483a4567c602c53ada73b87358389c00 |
Hashes for skia_python-85.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccadae733ed9db72325b3b86b29413d47538466ad08c3f3e804af6c9880bd133 |
|
MD5 | 259d37be66b28be4aa970ad95164da69 |
|
BLAKE2b-256 | 595f670cbea56187a9dcdc2fd72ecf44e49d453548687dd156d589ba1e5f553f |
Hashes for skia_python-85.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e57541f2c4d5af17387b29a1654423c52c96165a5b2b96da92959bc2f36d522c |
|
MD5 | 092c98c34a5f2d220dc7368bbffce61c |
|
BLAKE2b-256 | 35c90e10ffac1b38aaf5b595f369f77dda7299a84b65007c548897de5d73f695 |
Hashes for skia_python-85.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad524c7eaff22caea34d73c98e56c6f51375a8fee7aeb823551ec9eea7e820a7 |
|
MD5 | a5fe6f18405a5d182cfadad9e8ec60a9 |
|
BLAKE2b-256 | 1da09f712f79be2484b898c9b44a1fcdafd4e0a4fc67a7f1f877cef9804bfa42 |
Hashes for skia_python-85.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de9a903a231bb2f74a035e8c6b64e4c752960bb3fce929c8bcc0f7fe019012a |
|
MD5 | 8c7fb68c55af4d290edcc8424d72dbef |
|
BLAKE2b-256 | 9e03b1c038b7d18c78e11235bc855df6b6f1836cf315ab23d072f8d591e81dfc |
Hashes for skia_python-85.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d3f257a33af7a1d0f7f147a3d2ccc132394bae1f9d9c2efa48c1f505683a9c |
|
MD5 | 4eddce466b18de9daa1a83c051ac60e6 |
|
BLAKE2b-256 | d419ca463068f8b6bdb9e91c21de7452fb9f3cf7307743a3ccbd8fcc1ac09a2a |
Hashes for skia_python-85.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b98cdf2a9fb164983f3c2f01d5ab7573f5639b277bd55bd48957332fc7f727d5 |
|
MD5 | d1dcdcec7e783f6e30065ebfbac7d6ff |
|
BLAKE2b-256 | 1c1d3609526aec928cb31031c52944eecc8d07128999dd3433f710f627ea2c78 |
Hashes for skia_python-85.0-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3dce75317e5b3544ede13582e302c2ba5f6d96251cf423b8ce2698f9572a5e8 |
|
MD5 | 6ab606cef39a398d3675ef6cac727901 |
|
BLAKE2b-256 | de6c36a8436ce5ee24eb6e2e571de805f0e0e29a1ac05048fa9ecd13f36012c9 |