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:
apt-get install libfontconfig1 libgl1-mesa-glx libgl1-mesa-dri
Or:
yum install fontconfig mesa-libGL mesa-dri-drivers
For unsupported environment, check the [build instruction](https://kyamagu.github.io/skia-python/build.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)
## Documentation
https://kyamagu.github.io/skia-python
[Build instruction](https://kyamagu.github.io/skia-python/build.html)
[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.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28a12d5f5128c46bc142b77a2526ebc66215f5e377273d362867080c954c274a |
|
MD5 | 7bbe7ecd90b0b523917c6b1bc50568c3 |
|
BLAKE2b-256 | ca57ea7cdd7b4f534e5a2f1643c2f91bf79bc55a0e5eb1b6b406691d09af4fe5 |
Hashes for skia_python-0.0.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc92fa2054f03f40f7ccf04f5ac0a56e4a4f1d9ca4b8eb8d2e84788782bf7a9a |
|
MD5 | 073aaae72ab3dac98e20611d1bf145a2 |
|
BLAKE2b-256 | 8a2eae0364f300a3d66ba8a4b1f31d030e6078213f04479c92903cbb50a77120 |
Hashes for skia_python-0.0.4-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7c796324881ab3aa9d5753304a7509df4c9f947bede332e8c75ce9c4050cc40 |
|
MD5 | 31a27f8c461945aa73e6eb4579b04d6f |
|
BLAKE2b-256 | ef4f0c45e74181c0c7ce598dd134d12a1ae68155678f449bf1c0e22a34d71eb2 |
Hashes for skia_python-0.0.4-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d21ebdac95c0f3f8b11ed3519e29ff02481267575e1355009cb1d4d5d1f600e2 |
|
MD5 | af7086042752f0737668cbc584fd604c |
|
BLAKE2b-256 | 7e8f67134c5f136ad4c990b8afdbeab3318d68710e4504b92de48ad533b019b1 |
Hashes for skia_python-0.0.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6c680d211114ed0f1722a215f9dc324d3b130978613889859997b66847b1217 |
|
MD5 | d9649c5767436d0664dc4681aee0d5e3 |
|
BLAKE2b-256 | 21d462c4f62d6fccf1e9195dc48b50ef425ee32b1c2c9525f798c0912de5580f |
Hashes for skia_python-0.0.4-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9294e83699ef2409950a202eb486a8ea2daf2158f0fb0facc739f5b3f8540c5 |
|
MD5 | f34195f4c787b0a2898741a79b60e3a0 |
|
BLAKE2b-256 | d0fb90caae62e69a48d3993e61b944de5d357848d278f74ee0ce7957f3caee5c |
Hashes for skia_python-0.0.4-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2e7cb781b01b14be92827205bc83d25cf27cc6182d9d5a588a5aaea9e95b4cc |
|
MD5 | e7ef5e16c695c6f78fadb004004d2ba2 |
|
BLAKE2b-256 | 43767bd09dbea3ccf221c9ace71b53d6ca3e678ee50074a14f435048e507cd2c |
Hashes for skia_python-0.0.4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31571ee4869e5979e5ef2e7dca4714ca3a9753a52fa08e5617b53d917b7a0db4 |
|
MD5 | a02b630e963e9a8c6a7cdfa9954e4638 |
|
BLAKE2b-256 | 66e2e81dece50ff3a5998ecec6ded1fe7226ff5216573ea9e6b67d361a8601d9 |
Hashes for skia_python-0.0.4-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef39241b531cb64aa43bc7ccdccc859767798761a5acf35cd778dfbc8fdb7f4 |
|
MD5 | 3eda8fa6fc6706c249166afbc77b7288 |
|
BLAKE2b-256 | 9676167fa3983340f7cd52d8aad54157c0ac829ddb6f0bcc1732af8968a1ddca |
Hashes for skia_python-0.0.4-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b7389b103d27ccf15c7ee1725a0861720a4022b29d20f1df1160cc354a7a71 |
|
MD5 | e30e317dc7b122240c2ed02a8d39c761 |
|
BLAKE2b-256 | b2217b846593193854183b6293f7aaf6bc4fbc70d5e46acff7507cc045d536ca |
Hashes for skia_python-0.0.4-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f73eccfa4fbe4422156ee245c2364a08efd80867a77091eb2a4e236190a179b2 |
|
MD5 | ca20c7defbbbba1ee9ce7881c0082812 |
|
BLAKE2b-256 | 2f4b122fecc5bb295469bc34cdc75c28487e5a0f8a81bacc79722d10aa0aaf09 |
Hashes for skia_python-0.0.4-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f96f7578eed8e6efa18ee573930d1de4f1286ec120bff840148c5081e1c555bf |
|
MD5 | 1d1b84ae3522e8bebbc47baee3854d19 |
|
BLAKE2b-256 | 40a6f21eaaeea7da43072f249499d3dbee7e0b05e1c41a26193ed3428f3d9570 |