skia-python 87.9__cp313-cp313-win_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
skia.cp313-win_arm64.pyd
ADDED
|
Binary file
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: skia-python
|
|
3
|
+
Version: 87.9
|
|
4
|
+
Summary: Skia python binding
|
|
5
|
+
Home-page: https://github.com/kyamagu/skia-python
|
|
6
|
+
Author: Kota Yamaguchi
|
|
7
|
+
Author-email: KotaYamaguchi1984@gmail.com
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
11
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
12
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
13
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
14
|
+
Classifier: Operating System :: POSIX
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Topic :: Multimedia :: Graphics
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Requires-Dist: numpy
|
|
26
|
+
Requires-Dist: pybind11>=2.6
|
|
27
|
+
Dynamic: author
|
|
28
|
+
Dynamic: author-email
|
|
29
|
+
Dynamic: classifier
|
|
30
|
+
Dynamic: description
|
|
31
|
+
Dynamic: description-content-type
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
Dynamic: requires-dist
|
|
35
|
+
Dynamic: summary
|
|
36
|
+
|
|
37
|
+
# Skia python binding
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
[](https://badge.fury.io/py/skia-python)
|
|
41
|
+
|
|
42
|
+
Python binding to [Skia Graphics Library](https://skia.org/).
|
|
43
|
+
|
|
44
|
+
- Binding based on [pybind11](https://github.com/pybind/pybind11).
|
|
45
|
+
|
|
46
|
+
## Install
|
|
47
|
+
|
|
48
|
+
Binary package is available on PyPI:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pip install skia-python
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Supported platforms: Python 3.8-3.13 (CPython) on
|
|
55
|
+
|
|
56
|
+
- Linux x86_64, aarch64
|
|
57
|
+
- macOS x86_64, arm64
|
|
58
|
+
- Windows x86_64, arm64 ; arm64 for the windows 11 and Python 3.11-3.13 combination only.
|
|
59
|
+
|
|
60
|
+
**IMPORTANT:** Starting v87.9rc1 / v138.0rc1, `libEGL.so` (from mesa-libEGL, libglvnd, or your graphic
|
|
61
|
+
card's vendor e.g. NVidia) is required to be present on Linux hosts. This is associated
|
|
62
|
+
with the general change on Linux from X11 to Wayland, and from GTK3 to GTK4. Firefox started
|
|
63
|
+
to use it in 2021 (instead of the older `libGLX.so`), so it is likely newer Linux systems
|
|
64
|
+
already have it, but please check. skia-python v87.9 / v138.0+ supports hardware acceleration
|
|
65
|
+
via both GLX (still the default under X11) and EGL (newly added).
|
|
66
|
+
|
|
67
|
+
For Linux platforms, there must be OpenGL, libEGL and fontconfig installed.
|
|
68
|
+
Current Ubuntu needs `libegl1` (and `libegl-mesa0`); on older Ubuntu the package names are
|
|
69
|
+
`libglvnd0` and `libgl1-mesa-egl`:
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
apt-get install libfontconfig1 libgl1-mesa-glx libgl1-mesa-egl libegl1 libglvnd0 libgl1-mesa-dri
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Or:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
yum install fontconfig mesa-libGL mesa-libEGL libglvnd-egl mesa-dri-drivers
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
For unsupported environment, check the [build instruction](https://kyamagu.github.io/skia-python/install.html).
|
|
84
|
+
|
|
85
|
+
## Examples
|
|
86
|
+
|
|
87
|
+
- [Showcase](https://github.com/kyamagu/skia-python/blob/main/notebooks/Showcase.ipynb)
|
|
88
|
+
- [Canvas Overview](https://github.com/kyamagu/skia-python/blob/main/notebooks/Canvas-Overview.ipynb)
|
|
89
|
+
- [Canvas Creation](https://github.com/kyamagu/skia-python/blob/main/notebooks/Canvas-Creation.ipynb)
|
|
90
|
+
- [Path Overview](https://github.com/kyamagu/skia-python/blob/main/notebooks/Path-Overview.ipynb)
|
|
91
|
+
- [Paint Overview](https://github.com/kyamagu/skia-python/blob/main/notebooks/Paint-Overview.ipynb)
|
|
92
|
+
- [Python Image I/O](https://github.com/kyamagu/skia-python/blob/main/notebooks/Python-Image-IO.ipynb)
|
|
93
|
+
- [Drawing Texts](https://github.com/kyamagu/skia-python/blob/main/notebooks/Drawing-Texts.ipynb)
|
|
94
|
+
|
|
95
|
+
## Documentation
|
|
96
|
+
|
|
97
|
+
https://kyamagu.github.io/skia-python
|
|
98
|
+
|
|
99
|
+
- [Tutorial](https://kyamagu.github.io/skia-python/tutorial/)
|
|
100
|
+
- [Reference](https://kyamagu.github.io/skia-python/reference.html)
|
|
101
|
+
|
|
102
|
+
## Contributing
|
|
103
|
+
|
|
104
|
+
Feel free to [post an issue](https://github.com/kyamagu/skia-python/issues) or [PR](https://github.com/kyamagu/skia-python/pulls).
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
skia.cp313-win_arm64.pyd,sha256=7TIj_Vf9b-YmJtKNdM5kIufs2jD1yCxL1iMraGCcw_Y,10971136
|
|
2
|
+
skia_python-87.9.dist-info/licenses/LICENSE,sha256=1M6e6fvhIW8Y0sUbCeQ4WM-auFV52_SXnajUsNwQYdo,1551
|
|
3
|
+
skia_python-87.9.dist-info/METADATA,sha256=EknilNvfjQ6o5xim7E5NIZ_RsJDv3B_5-AL7lUP0awI,4070
|
|
4
|
+
skia_python-87.9.dist-info/WHEEL,sha256=QL7uMKXoDJRpSwAf1VOVpjVXYPYll2YWTJ-omqdO8-4,101
|
|
5
|
+
skia_python-87.9.dist-info/top_level.txt,sha256=AfwgCgQ32Bz916XzZkgB-B4JBjpCPotv1WFE9l3LOk8,5
|
|
6
|
+
skia_python-87.9.dist-info/RECORD,,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020, Kota Yamaguchi
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
skia
|