omnipython-pygraphics 0.1.7.dev3__cp314-cp314-android_21_arm64_v8a.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.
@@ -0,0 +1,55 @@
1
+ Metadata-Version: 2.4
2
+ Name: omnipython-pygraphics
3
+ Version: 0.1.7.dev3
4
+ Summary: Native graphics cmod for CPython (FrameBuffer, Area); import as pygraphics
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/PyDevices/pygraphics
7
+ Project-URL: Issues, https://github.com/PyDevices/pygraphics/issues
8
+ Requires-Python: >=3.11
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Dynamic: license-file
12
+
13
+ ![A red rounded rectangle, a green circle and the word Hello on black](docs/images/hello.png)
14
+
15
+ # pygraphics
16
+
17
+ pygraphics is the part of OmniPython that draws: shapes, text and images into
18
+ a framebuffer, with the same code on MicroPython-compatible boards,
19
+ CircuitPython-compatible boards and CPython.
20
+
21
+ ```bash
22
+ pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ omnipython-pygraphics
23
+ ```
24
+
25
+ ```python
26
+ import omip
27
+ omip.install("pygraphics")
28
+ ```
29
+
30
+ `omip` comes with OmniPython firmware. On other MicroPython firmware, run
31
+ `mip.install("github:PyDevices/omnipython/lib/omip.py")` once to put it on the board.
32
+
33
+ ```python
34
+ import pygraphics
35
+ from pygraphics import FrameBuffer, RGB565
36
+
37
+ fb = FrameBuffer(bytearray(160 * 80 * 2), 160, 80, RGB565)
38
+ fb.fill(0x0000)
39
+ card = fb.round_rect(8, 8, 64, 40, 8, 0xF800, f=True)
40
+ dot = fb.circle(116, 28, 20, 0x07E0, f=True)
41
+ label = pygraphics.text16(fb, "Hello", 8, 56, 0xFFFF)
42
+ print("changed:", card + dot + label)
43
+ fb.save("hello.bmp")
44
+ ```
45
+
46
+ ```text
47
+ changed: Area(8, 8, 128, 64)
48
+ ```
49
+
50
+ `hello.bmp` is the picture at the top of this page, shown at three times its
51
+ size.
52
+
53
+ [Docs](https://docs.omnipython.org/en/latest/pygraphics/) · [Examples](https://gallery.omnipython.org/pyscript/) · [Roadmap](ROADMAP.md)
54
+
55
+ OmniPython is made by [PyDevices](https://pydevices.com).
@@ -0,0 +1,7 @@
1
+ pygraphics.cpython-314-aarch64-linux-android.so,sha256=RtI8f-OXGCsSKOnnw4X9Ff6WU2oJypEm6AVsOZshY0c,166104
2
+ pygraphics-stubs/__init__.pyi,sha256=iQemnk49pFWhVqCSx1l62KMWwHrVTUli1I32U7QWD0o,64329
3
+ omnipython_pygraphics-0.1.7.dev3.dist-info/METADATA,sha256=7HR5-D8NGWqBvpoXX1lahT-XrP-ztb35owMP50Raz28,1745
4
+ omnipython_pygraphics-0.1.7.dev3.dist-info/WHEEL,sha256=oV79mYk10f17JeQKSQB2epnFtUGnzyWA4LRmruVc770,112
5
+ omnipython_pygraphics-0.1.7.dev3.dist-info/top_level.txt,sha256=EkmaN2yjHXteH8zN-rlid-srdKhAsharbZAI_pYRerU,11
6
+ omnipython_pygraphics-0.1.7.dev3.dist-info/RECORD,,
7
+ omnipython_pygraphics-0.1.7.dev3.dist-info/licenses/LICENSE,sha256=NI0iQ7ka4pGq-257oD6FAsPI6yOQAAGbKHCj4TjHT6U,1069
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-android_21_arm64_v8a
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Brad Barnett
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ pygraphics