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.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b86f1e0c1acad3d3994684e82ace2f3977a2b22e269d77041960e301294d85 |
|
MD5 | a8d79d225e5f7857e60be9c3ebb6efac |
|
BLAKE2b-256 | c9d534809d98a6aed93f440dbb2d6bce2fef5fea6ec4da39b260eda989ac3803 |
Hashes for skia_python-86.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b64310d25ca58acce4c1c7a4b2aea84afe316aee0923fc1d73f88326645e144 |
|
MD5 | bc6a890348dc8d3d269b4bc455e9351b |
|
BLAKE2b-256 | a991cde2b2d2f3ac6b7b508eda9743f2ca8ee143b99198fe90391e69fa09596c |
Hashes for skia_python-86.1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c39d360147cc9d41b9008f3d4bfd60026177a6ed7de32db7f443f2dbcdb1aef0 |
|
MD5 | ab25a3aab89dd193e25776534a93432d |
|
BLAKE2b-256 | 4440e9fe195b75d29cad3a29b3e0c28ef39f0cba77014eb2440b37f52424d48e |
Hashes for skia_python-86.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96290b09dc48e898891c01ac12dfa637d1bddb5f6a4d444aa1d8cd1fe91f10cb |
|
MD5 | b8d3ae3fdab04009a72e5ac418a57de5 |
|
BLAKE2b-256 | 626498f86814742705a8351840e8a5a51aa39bba3612093a3a9a97f993a3fdde |
Hashes for skia_python-86.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11708eea5d26aba6ef56726db340e63b2c109133f6a8e5c7f1c62f9edac11e93 |
|
MD5 | cfd796284a7f4f5db8d2d4a92fbc07f2 |
|
BLAKE2b-256 | 41c2919f422e42cb3f6008f5acff1e6f50b5a64046515200c65b380c6481be72 |
Hashes for skia_python-86.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d236f60a9894cfeb18d697612ff01e4bbc36f34ff176e03a34c0262d10ce436d |
|
MD5 | d01d0d61fb332864dee5998bf01400bc |
|
BLAKE2b-256 | 69bacfbd70a31b94488ab4d4a93dee2a6b7be8eb375b858c88ceea8f13218c60 |
Hashes for skia_python-86.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 255baaab6048d15a4dcdd266bf460ccb38ef8d1187f2a3e7cd832e3547369cba |
|
MD5 | f0e0a7e47ab51b3673001da0c2fd5017 |
|
BLAKE2b-256 | 1aac2340702247df8494424b3f2bedfd053c08fb79ab654bb25abff1b8aec009 |
Hashes for skia_python-86.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a19966f6f583ff885b10b089f558eeec5af37c4304be07860e517d7838f31d |
|
MD5 | f69116a5457dd54f01a83b0a6798fb40 |
|
BLAKE2b-256 | 5906e82af91e980cf7d97fda780d652af1e2a45c4e01651e6e4bd59596246e18 |
Hashes for skia_python-86.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e665435778cd77c11d32a9a4950991e24b7b03a76fe8c8b6f63c2d0eaf59a696 |
|
MD5 | 0023c5799cd70c8d7614c107aa4557ae |
|
BLAKE2b-256 | f1eadf726d5fd4bf4e9afe23e9e81f8a3e235b65926744c1317150fddf0f20d6 |
Hashes for skia_python-86.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dbb134492551d8c05e4b42775ad573eff6365a7ab7e51101feadd8476e16ca9 |
|
MD5 | 8cf1ce687d48a4acb8c7ffd799035a41 |
|
BLAKE2b-256 | bfdbea5700d8f0f7a8ae9627398aec4b9f36c089c64037327955cc541af28488 |
Hashes for skia_python-86.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9bfe371bb6dac3a8f2710b40b7495c567f7f7c50c8c36d946ebfe487b06d76 |
|
MD5 | f8aeff694ae11d72d686197968730236 |
|
BLAKE2b-256 | 4e5b14386829102245825303db949bde3d016a85a1e5e321a7b83e2cb36a9f5b |
Hashes for skia_python-86.1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4294451915c5f5eae0020a0d6e9f42eff4fc282d1366bb72421a1b11915060f |
|
MD5 | 82252aeb1fc2476c9d519f2aa48ab648 |
|
BLAKE2b-256 | 0f1a2e9b8252ba40f5defec9190b660db9b5af0787f34a313ea36f204809ad2c |