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.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21bd29fc00eea44551af5cff773a3bd5d411b16a34f469ecb65e1a8f1e65ab2f |
|
MD5 | bac9311bf3816c72382e69ffafc90972 |
|
BLAKE2b-256 | 4ab3b52d000bebdd57c8732926a724b56cebbf5f33199267e9beb6fece959f3d |
Hashes for skia_python-87.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2042c813038dc9ad64180531f0c06bb2133ab14fdb9fc951a04d8a41b7ed9ba0 |
|
MD5 | 702818e1a72c1e86b713552957a127c7 |
|
BLAKE2b-256 | 5088c6e978c66b1e29053ce8cd2a772722b91d90ac74bb3a388532a313fcbc13 |
Hashes for skia_python-87.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c675ba11030210e6193e3bd043de35297817a634808bfe8323d9f589e1f14ee |
|
MD5 | 134adb19aa3db276c8dd788faebad114 |
|
BLAKE2b-256 | a1174973bc6ae96e418f4ff8c1cc664d95d33714017bd70e7dee460587b18ab6 |
Hashes for skia_python-87.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d7a9234e3baced5cdef5a622cc7c4032c744d6f041a081831042970983a7878 |
|
MD5 | 453d18b9340619aced00bb2b7761983c |
|
BLAKE2b-256 | c888e7158d218428683c0aebdc1026bcf0ecc419f808f23f1b597711b0a01e04 |
Hashes for skia_python-87.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4abd27e394baf864868ed8c8d16c2cd483f95489efb58791c08c06a9ac042940 |
|
MD5 | 02df871a9fef31cc25937ec682af3fdf |
|
BLAKE2b-256 | 5a5773974d9a06a0e35eb83a113f4e926c6c7c8a5069903c847f222dacb28ce2 |
Hashes for skia_python-87.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c5d6cdb1840dc3b39eb6d4e48f9f83b3b66d1188cb493ab58f28844551ce71 |
|
MD5 | bda86ded0e9b1102bbe75aac3a3d95e6 |
|
BLAKE2b-256 | ee01eec6b1b3051d5f780b256197597282e2177548db4820a921a460461867a4 |
Hashes for skia_python-87.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08fc61d8a02ad689a39f91eb04834d79010dbc69fb7eeeacbee00a6d5a33eaba |
|
MD5 | 55f11dcdbf617b7fed4c9779fb846729 |
|
BLAKE2b-256 | 20f231066e02b588786cb3fadf88afa0f8280f16370ef820613c94f7051a14d8 |
Hashes for skia_python-87.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e27f690a00f4df9c0506910e95a9e8ef1e4af6cff7be3f9d9cfd440ba27492d |
|
MD5 | ec601ce0b705dd1c71e2dd7ae6e11d7e |
|
BLAKE2b-256 | ac7687d9ba79f7eb96db039898770fd71dd3a722e66ed2ba26ba8aa5e735d98a |
Hashes for skia_python-87.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32ab216143db50700eb27a6c534f1adff2c0f6b2cd5bc4749b87327f63c65f32 |
|
MD5 | 21075b710362078feec94c9bf850a1cc |
|
BLAKE2b-256 | e85a60393f91049be109e4245eeb087555955fef9390f95208ae081027278403 |
Hashes for skia_python-87.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d269b940a8c33feb9be530e692a989965a9f6023e8e480577dce40c7813bb2c |
|
MD5 | 1a6ec00e94c24b83e6167ef91c7161d0 |
|
BLAKE2b-256 | 483e6e9c3d41a0be3e3e8ceaedcfac2ea085e73c1ce9f99d543b3e21a818801a |
Hashes for skia_python-87.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb29a2e558ef5e8484f390876e7dc168c3da9c8f6215339c84e69000011f150 |
|
MD5 | 16187ad0161f577bce30b9e6af363952 |
|
BLAKE2b-256 | 7cf55b2f187a7fa90f681f0fa2ebc4a3b5052fffcefec1af6f673d871395952f |
Hashes for skia_python-87.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f4cae4544b2c799929497b766259a2825bae458a5bff25861bb30258e4c4088 |
|
MD5 | e647eecbe9e8f25e81b1816d6a0caa42 |
|
BLAKE2b-256 | 8c0ab72cc31dee780508468ebf3eac39c4d4f3587dd26602a2280c3b35a4e35d |