raylib 5.0.0.3__pp39-pypy39_pp73-manylinux2014_x86_64.whl → 5.5.0.0.dev3__pp39-pypy39_pp73-manylinux2014_x86_64.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.

Potentially problematic release.


This version of raylib might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: raylib
3
- Version: 5.0.0.3
3
+ Version: 5.5.0.0.dev3
4
4
  Summary: Python CFFI bindings for Raylib
5
5
  Home-page: https://github.com/electronstudio/raylib-python-cffi
6
6
  Author: Electron Studio
@@ -18,11 +18,13 @@ Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.7
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: cffi >=1.17.0rc1
21
+ Requires-Dist: cffi>=1.17.1
22
22
 
23
- # Python Bindings for Raylib 5.0
23
+ # Python Bindings for Raylib 5.5
24
+ ## Libraries: raymath, raygui, rlgl, physac and GLFW
25
+ ## Backends: Desktop, SDL, DRM, Web
24
26
 
25
- Chatroom: [Discord](https://discord.gg/fKDwt85aX6) or [Matrix](https://matrix.to/#/#raylib-python-cffi:matrix.org)
27
+ Chatroom: [Discord](https://discord.gg/fKDwt85aX6)
26
28
 
27
29
  New CFFI API static bindings.
28
30
  * Automatically generated to be as close as possible to
@@ -30,23 +32,23 @@ original Raylib.
30
32
  * Faster, fewer bugs and easier to maintain than ctypes.
31
33
  * Commercial-friendly license.
32
34
  * Docstrings and auto-completion.
33
- * **Now includes extra libraries: raymath, raygui, rlgl, physac and GLFW**
35
+
34
36
 
35
37
  [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
36
38
 
37
39
  # Quickstart
38
40
 
39
- `pip3 install raylib`
40
-
41
- from pyray import *
42
- init_window(800, 450, "Hello")
43
- while not window_should_close():
44
- begin_drawing()
45
- clear_background(WHITE)
46
- draw_text("Hello world", 190, 200, 20, VIOLET)
47
- end_drawing()
48
- close_window()
49
-
41
+ `pip3 install raylib==5.0.0.4`
42
+ ```python
43
+ from pyray import *
44
+ init_window(800, 450, "Hello")
45
+ while not window_should_close():
46
+ begin_drawing()
47
+ clear_background(WHITE)
48
+ draw_text("Hello world", 190, 200, 20, VIOLET)
49
+ end_drawing()
50
+ close_window()
51
+ ```
50
52
 
51
53
  # Installation
52
54
 
@@ -57,13 +59,41 @@ First make sure you have the latest pip installed:
57
59
  Then install
58
60
 
59
61
  python3 -m pip install setuptools
60
- python3 -m pip install raylib
61
-
62
- On most platforms it should install a binary wheel (Windows 10 x64, MacOS 10.15 x64, Linux Ubuntu1804 x64).
62
+ python3 -m pip install raylib==5.0.0.4
63
63
 
64
- If yours isn't available then pip will attempt to build from source, in which case you will need to have Raylib development libs installed, e.g.
64
+ On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
65
+ source, in which case you will need to have Raylib development libs installed, e.g.
65
66
  using homebrew, apt, etc.
66
67
 
68
+ ## Windows
69
+
70
+ Binaries require x64 Windows 10 or newer. (For x86 or older Windows you will have to build from source.)
71
+
72
+ Use an [official Windows Python release](https://www.python.org/downloads/windows/) rather than WSL, MSYS, etc.
73
+
74
+ ## MacOS
75
+
76
+ Binaries require:
77
+ * arm64 MacOS 14
78
+ * x64 MacOS 10.13, or newer.
79
+
80
+ Older MacOS requires building from source but this is usually simple:
81
+
82
+ brew install pkg-config
83
+ brew install raylib
84
+ python3 -m pip install raylib==5.0.0.4
85
+
86
+ (I do have binaries for arm64 MacOS 11, 12 and 13 but I have no way of testing they work, so post an issue
87
+ if you want to test them.)
88
+
89
+ ## Linux
90
+
91
+ Binaries require OS newer than Ubuntu 2020, x64 or arm64. Otherwise build from source.
92
+ (Pip should attempt automatically but will need Raylib itself installed and also pkg-config.)
93
+
94
+ The arm64 binaries are built on Raspberry Pi arm64 Bullseye with OpenGL 2.0
95
+ so may not work on other boards.
96
+
67
97
  ## Raspberry Pi
68
98
 
69
99
  [Using on Rasperry Pi](RPI.rst)
@@ -72,38 +102,52 @@ using homebrew, apt, etc.
72
102
 
73
103
  There is now a separate dynamic version of this binding:
74
104
 
105
+ python3 -m pip uninstall raylib
75
106
  python3 -m pip install raylib_dynamic
76
107
 
77
108
  It works on some systems where the static version doesn't, [but be sure to read these caveats before using it](https://electronstudio.github.io/raylib-python-cffi/dynamic.html)
78
109
 
79
- ## Beta testing
110
+ ## SDL backend
111
+
112
+ This is not well tested but has better support for controllers:
113
+
114
+ python3 -m pip uninstall raylib
115
+ python3 -m pip install raylib_sdl
116
+
117
+ You can't have multiple raylib packages installed at once.
118
+
119
+ ## DRM backend
120
+
121
+ This uses the Linux framebuffer for devices that don't run X11/Wayland:
80
122
 
81
- If you find a bug, it may be fixed in the [latest dev release](https://github.com/electronstudio/raylib-python-cffi/releases).
82
- You can install an alpha or beta version by specifying the exact version number like this:
123
+ python3 -m pip uninstall raylib
124
+ python3 -m pip install raylib_drm
83
125
 
84
- python3 -m pip install raylib==4.2.0.0.dev4
126
+ You can't have multiple raylib packages installed at once.
85
127
 
86
128
  ## Problems?
87
129
 
88
130
  If it doesn't work, [try to build manually.](BUILDING.rst). If that works then [submit an issue](https://github.com/electronstudio/raylib-python-cffi/issues)
89
131
  to let us know what you did.
90
132
 
91
- If you need help you can try asking [on Discord](https://discord.gg/raylib).
133
+ If you need help you can try asking on [our discord](https://discord.gg/fKDwt85aX6). There is also a large [Raylib discord](https://discord.gg/raylib)
134
+ for issues that are not Python-specific.
92
135
 
93
136
  If it still doesn't work, [submit an issue](https://github.com/electronstudio/raylib-python-cffi/issues).
94
137
 
95
138
 
96
139
  # How to use
97
140
 
98
- There are two APIs, you can use either or both:
141
+ There are two modules in the raylib package, `raylib` and `pyray`. (There is no separate package for
142
+ pyray). You can use either or both:
99
143
 
100
144
  ### If you are familiar with C coding and the Raylib C library and you want to use an exact copy of the C API
101
145
 
102
- Use [the C API](https://electronstudio.github.io/raylib-python-cffi/raylib.html).
146
+ Use [the raylib module](https://electronstudio.github.io/raylib-python-cffi/raylib.html).
103
147
 
104
- ### If you prefer a slightly more Pythonistic API and don't mind it might be slightly slower
148
+ ### If you prefer a more Pythonistic API
105
149
 
106
- Use [the Python API](https://electronstudio.github.io/raylib-python-cffi/pyray.html).
150
+ Use [the pyray module](https://electronstudio.github.io/raylib-python-cffi/pyray.html).
107
151
 
108
152
  # Running in a web browser
109
153
 
@@ -165,9 +209,9 @@ A related library (that is a work in progress!):
165
209
  * Converting more examples from C to Python
166
210
  * Testing on more platforms
167
211
 
168
- # License (updated)
212
+ # License
169
213
 
170
- The bindings are now under the Eclipse Public License, so you are free to
214
+ Eclipse Public License, so you are free to
171
215
  statically link and use in non-free / proprietary / commercial projects!
172
216
 
173
217
  # Performance
@@ -180,7 +224,7 @@ If you need more performance, do in this order:
180
224
  in your update loop
181
225
  and then only convert them to C data structures when you have to call the C functions for drawing.
182
226
 
183
- 3. The raylib.* functions are potentially 1.5x faster than the pyray.* equivalents, so if you need a tiny bit more performance
227
+ 3. The raylib.* functions are potentially *slightly* faster than the pyray.* equivalents, so if you need a tiny bit more performance
184
228
  you can switch your inner loop functions to these.
185
229
 
186
230
  4. There is a version of Python that is faster than Pypy: GraalPy. However it's not fully compatible with all Python
@@ -0,0 +1,21 @@
1
+ pyray/__init__.py,sha256=6sEm8KxRaK2B2PQo7ZlbXkHoxBDLW43wYSs_Cl7rUMg,7119
2
+ pyray/__init__.pyi,sha256=FcO-AAvJVTyfYlM5ddXSAXTP3y0J5lj7lYz6ZjBxVxM,158204
3
+ raylib/__init__.py,sha256=DWXPmoq7tC5wzZsrt6rReGy1RflyZwk-SdF-9lBZHok,919
4
+ raylib/__init__.pyi,sha256=0jozQX2T1oJgjIF65v0x1BaMDaAxcgoSMIyI_khuKj8,146157
5
+ raylib/_raylib_cffi.pypy39-pp73-x86_64-linux-gnu.so,sha256=Yr5KZFUccPjwY9eMswdO1wxhbJRzR5xmjBm_K4KD6WE,3229488
6
+ raylib/build.py,sha256=vF0eAp5y3CZv6dLM-4EQnXWmkXwohQ9Z17vTy9AD2cY,9964
7
+ raylib/colors.py,sha256=_u-mYrpdx7_v_4wnJrnSu_m36ixKJWbort780_V6rTw,1523
8
+ raylib/defines.py,sha256=_brO9OSA1Kzg9aiGXhiYyMmiJxbOkvHU_kLjLLNLJB4,16983
9
+ raylib/enums.py,sha256=pT4AwJYqrjVKVyWtYdgDStGY35X1q-pT7kEP3jPxTkk,17818
10
+ raylib/glfw3.h.modified,sha256=jC6-1XuWxG2FMnRhuXTKuI7KIEhPTwwO2OtNGEDOcvs,213261
11
+ raylib/physac.h.modified,sha256=UG9-bqfL71k4MxaW3DcaP9a5Mcga66CrufVHaUhgYjM,9724
12
+ raylib/raygui.h.modified,sha256=75djppnwPjTjTfNVcUaXKxGau2PqUisL9oy_yVXQgV8,46107
13
+ raylib/raylib.h.modified,sha256=HNhnWJtQrifFgqGxo9bljHC9bgrf8uH_n6jMwg-uOpY,104779
14
+ raylib/raymath.h.modified,sha256=jV6K62Nck8nTv89pqJoBVMouhwuj4yJAodjP7fQk128,28166
15
+ raylib/rlgl.h.modified,sha256=CWlw2nho5Yzn-CizWGqhEVNfp4_lFB30HjSlV6he1EM,36729
16
+ raylib/version.py,sha256=xA5FaUfbrXveqp9pWJaECG35S4zfEyItHUpEpZUlYGE,28
17
+ raylib-5.5.0.0.dev3.dist-info/LICENSE,sha256=C-zxZWe-t3-iUrdmRjHdF3yPmhiJ5ImVtFN5xxMOUwM,14198
18
+ raylib-5.5.0.0.dev3.dist-info/METADATA,sha256=chW_UiX2E7KEl9KZsppaIMv4iiZjIFvohkfwM0zGLcI,9209
19
+ raylib-5.5.0.0.dev3.dist-info/WHEEL,sha256=5kZ-ZQ63lIDRxK1RuzObo2LkN-QVBuqJEziPKNHKkTs,118
20
+ raylib-5.5.0.0.dev3.dist-info/top_level.txt,sha256=PnMBDWaUP4jsbn_NewagcC9FjHYpzSAIQuhxNzt9hkg,13
21
+ raylib-5.5.0.0.dev3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: pp39-pypy39_pp73-manylinux2014_x86_64
5
5
 
@@ -1,15 +0,0 @@
1
- pyray/__init__.py,sha256=6sEm8KxRaK2B2PQo7ZlbXkHoxBDLW43wYSs_Cl7rUMg,7119
2
- pyray/__init__.pyi,sha256=NzZYOclAa6OEJkekHN704GI9AKnAXh-YrSv_QR-1TQg,149512
3
- raylib/__init__.py,sha256=DWXPmoq7tC5wzZsrt6rReGy1RflyZwk-SdF-9lBZHok,919
4
- raylib/__init__.pyi,sha256=3YBqdluKw1mXCDJI_vkp188Y7N2uxd3FKMHGJ6xlx0I,137557
5
- raylib/_raylib_cffi.pypy39-pp73-x86_64-linux-gnu.so,sha256=Ylia4qQ50UVhsHKmSywivlCtjm7MMPY6TnFsfDy-zfI,3204880
6
- raylib/build.py,sha256=GkLvtK5cxhIUmqNW113QNGt-fFmqGxq6qCwrAn_HlzM,8460
7
- raylib/colors.py,sha256=_u-mYrpdx7_v_4wnJrnSu_m36ixKJWbort780_V6rTw,1523
8
- raylib/defines.py,sha256=lMv6zU8WSkaH5Dj5Ydx0AlggeA-r76xePcA1M7EudnA,15951
9
- raylib/enums.py,sha256=RtQpN23zViI2mQSHPPc0Ay4IvNdiDk_xggdMPLCR0ng,17586
10
- raylib/version.py,sha256=kuKcU79UeiMEhJ65u2Xk2MIB8Bc2rN6wJHdZ3MYmvP4,23
11
- raylib-5.0.0.3.dist-info/LICENSE,sha256=C-zxZWe-t3-iUrdmRjHdF3yPmhiJ5ImVtFN5xxMOUwM,14198
12
- raylib-5.0.0.3.dist-info/METADATA,sha256=oAVITYTrVPb_l5iykyfeE3fr618n2kov6cpujhVDl4M,8079
13
- raylib-5.0.0.3.dist-info/WHEEL,sha256=AV2sxZoZrioDneZ8NdwHmk37J2jLx7dKCWNu6EAJMLc,118
14
- raylib-5.0.0.3.dist-info/top_level.txt,sha256=PnMBDWaUP4jsbn_NewagcC9FjHYpzSAIQuhxNzt9hkg,13
15
- raylib-5.0.0.3.dist-info/RECORD,,