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-0.0.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d5ee0fa25bb2a2c803bd8a650817c09ba93ed2d87fd8ba24c978f87ce1fb2b |
|
MD5 | e60b6697daef9ea5cd8253c138f54c0a |
|
BLAKE2b-256 | ebd53bfdefb3ab13143557636a74faedf438dd6e62e8e07dfc8aedd22dd08bcc |
Hashes for skia_python-0.0.5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4926d3ee6d7edd2ad5450dbddc49ee03c6f1a87fa3c0a765c9c05c469487365f |
|
MD5 | 8b6f74341194c015da5e6a3016c2e49f |
|
BLAKE2b-256 | 1b91f321b8b382067a658b27a02db39f2055dc5bde11dd7c7f0d1d97f7861a37 |
Hashes for skia_python-0.0.5-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 731a7aeaaa19e23c49c4f1ccf1bb86395e613ffbc3ac788f817e3cede9f03c01 |
|
MD5 | 6d5ed35df748e686b93ffba0fcf4849b |
|
BLAKE2b-256 | 310355a83df83d835d019a36c98ae26dd7c6003cff0157c14faac875a426cd18 |
Hashes for skia_python-0.0.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff17d1d65a5ece2bccd8d9d775a0d0d5f58f75a22aa1770be2c58511bb182015 |
|
MD5 | cb3a2ffb4bf18276d0b9b4b398ea522f |
|
BLAKE2b-256 | 16f11ca3a1fafc9f30b198eb1dd0ef1c06157375f9bef1e577215e1ed417155a |
Hashes for skia_python-0.0.5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a499550bb725b2b495b0dc8688ba64108f0bd1d1a56e3fb6f0c45df513054fa |
|
MD5 | 4d061d0e0c63deac9e4b6dd037d4a885 |
|
BLAKE2b-256 | f635868833a0fad253489ed9b68b06a79819d5a6d19aee8d89da0a8d8bd3347b |
Hashes for skia_python-0.0.5-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e38445d771008dddd86b96a5171f04e73a111745e8ef3c82d2a050776e494b19 |
|
MD5 | 9b8f036205c784a5fc398109674e4274 |
|
BLAKE2b-256 | e23b77588fdcd71515bb72b95ca65996962f84d49039b9d5debc3738c6a443e2 |
Hashes for skia_python-0.0.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b20b82cf0a211d25ff9f8a3aef5c4f8c229565520fe87a5c4949dcc0091832 |
|
MD5 | 6541d367d27f34f3f116bce670f8773f |
|
BLAKE2b-256 | cfa96cab2381361fd6c3a0589e7e662188cce18c485ccbd83bc252e2e8429d03 |
Hashes for skia_python-0.0.5-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1b976128893c62b7bff9e1e96b8819e3a94e1b656b9774ed8f25c7124c5bab |
|
MD5 | c883355c8329a33948cea6daa0da5a33 |
|
BLAKE2b-256 | f77051feef6af42168cc197eaafde322661195df7d6e4312b0cbbe2203100dda |
Hashes for skia_python-0.0.5-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c266af52aded26ba775f99132211132c4c2db6dde58732aaa23dfac5456af02 |
|
MD5 | d9482bb080d763c0a216df660825ac06 |
|
BLAKE2b-256 | 37cf042e65a97b68de092ede6cb420728a881eefe934110f837304151d1040c5 |
Hashes for skia_python-0.0.5-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb1eb3c98a241420f353afef9d0a041e6b3a091fe5b3d1f23b3d4d06c15a46e6 |
|
MD5 | aa0102c1611ac1b271a1f886ef4df04e |
|
BLAKE2b-256 | ced7eb70da1e936b8b5de81ba3d3ee81ca6cd2100b221e63815ada34b9d3ba75 |
Hashes for skia_python-0.0.5-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 137f7dcfb25c9d11a0b67613c8e9fd601cf3a8af33aeec2b2418e63d5fd59263 |
|
MD5 | 0ec8c4093bdaa10c947b994e15e6ce2d |
|
BLAKE2b-256 | da2ba4dfec2dd4a6a591ecb3e90edf98a3f5a7bbeb7b89cd84263b12acbd5a90 |
Hashes for skia_python-0.0.5-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6902610cef123638f5bd676e224fdae7f7856f4622046e82c91cb5d537ef449b |
|
MD5 | 1774d9d3aa43c153539c6633c8019cff |
|
BLAKE2b-256 | 127bcf5987263d65d92fab556910177a05efdc750aa97dccd2ec3db733dec797 |