raylib 5.0.0.3__pp310-pypy310_pp73-manylinux2014_x86_64.whl → 5.5.0.0.dev3__pp310-pypy310_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
@@ -17,11 +17,13 @@ Classifier: Programming Language :: Python :: 3.8
17
17
  Classifier: Programming Language :: Python :: 3.7
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
- Requires-Dist: cffi >=1.17.0rc1
20
+ Requires-Dist: cffi>=1.17.1
21
21
 
22
- # Python Bindings for Raylib 5.0
22
+ # Python Bindings for Raylib 5.5
23
+ ## Libraries: raymath, raygui, rlgl, physac and GLFW
24
+ ## Backends: Desktop, SDL, DRM, Web
23
25
 
24
- Chatroom: [Discord](https://discord.gg/fKDwt85aX6) or [Matrix](https://matrix.to/#/#raylib-python-cffi:matrix.org)
26
+ Chatroom: [Discord](https://discord.gg/fKDwt85aX6)
25
27
 
26
28
  New CFFI API static bindings.
27
29
  * Automatically generated to be as close as possible to
@@ -29,23 +31,23 @@ original Raylib.
29
31
  * Faster, fewer bugs and easier to maintain than ctypes.
30
32
  * Commercial-friendly license.
31
33
  * Docstrings and auto-completion.
32
- * **Now includes extra libraries: raymath, raygui, rlgl, physac and GLFW**
34
+
33
35
 
34
36
  [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
35
37
 
36
38
  # Quickstart
37
39
 
38
- `pip3 install raylib`
39
-
40
- from pyray import *
41
- init_window(800, 450, "Hello")
42
- while not window_should_close():
43
- begin_drawing()
44
- clear_background(WHITE)
45
- draw_text("Hello world", 190, 200, 20, VIOLET)
46
- end_drawing()
47
- close_window()
48
-
40
+ `pip3 install raylib==5.0.0.4`
41
+ ```python
42
+ from pyray import *
43
+ init_window(800, 450, "Hello")
44
+ while not window_should_close():
45
+ begin_drawing()
46
+ clear_background(WHITE)
47
+ draw_text("Hello world", 190, 200, 20, VIOLET)
48
+ end_drawing()
49
+ close_window()
50
+ ```
49
51
 
50
52
  # Installation
51
53
 
@@ -56,13 +58,41 @@ First make sure you have the latest pip installed:
56
58
  Then install
57
59
 
58
60
  python3 -m pip install setuptools
59
- python3 -m pip install raylib
60
-
61
- On most platforms it should install a binary wheel (Windows 10 x64, MacOS 10.15 x64, Linux Ubuntu1804 x64).
61
+ python3 -m pip install raylib==5.0.0.4
62
62
 
63
- 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.
63
+ On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
64
+ source, in which case you will need to have Raylib development libs installed, e.g.
64
65
  using homebrew, apt, etc.
65
66
 
67
+ ## Windows
68
+
69
+ Binaries require x64 Windows 10 or newer. (For x86 or older Windows you will have to build from source.)
70
+
71
+ Use an [official Windows Python release](https://www.python.org/downloads/windows/) rather than WSL, MSYS, etc.
72
+
73
+ ## MacOS
74
+
75
+ Binaries require:
76
+ * arm64 MacOS 14
77
+ * x64 MacOS 10.13, or newer.
78
+
79
+ Older MacOS requires building from source but this is usually simple:
80
+
81
+ brew install pkg-config
82
+ brew install raylib
83
+ python3 -m pip install raylib==5.0.0.4
84
+
85
+ (I do have binaries for arm64 MacOS 11, 12 and 13 but I have no way of testing they work, so post an issue
86
+ if you want to test them.)
87
+
88
+ ## Linux
89
+
90
+ Binaries require OS newer than Ubuntu 2020, x64 or arm64. Otherwise build from source.
91
+ (Pip should attempt automatically but will need Raylib itself installed and also pkg-config.)
92
+
93
+ The arm64 binaries are built on Raspberry Pi arm64 Bullseye with OpenGL 2.0
94
+ so may not work on other boards.
95
+
66
96
  ## Raspberry Pi
67
97
 
68
98
  [Using on Rasperry Pi](RPI.rst)
@@ -71,38 +101,52 @@ using homebrew, apt, etc.
71
101
 
72
102
  There is now a separate dynamic version of this binding:
73
103
 
104
+ python3 -m pip uninstall raylib
74
105
  python3 -m pip install raylib_dynamic
75
106
 
76
107
  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)
77
108
 
78
- ## Beta testing
109
+ ## SDL backend
110
+
111
+ This is not well tested but has better support for controllers:
112
+
113
+ python3 -m pip uninstall raylib
114
+ python3 -m pip install raylib_sdl
115
+
116
+ You can't have multiple raylib packages installed at once.
117
+
118
+ ## DRM backend
119
+
120
+ This uses the Linux framebuffer for devices that don't run X11/Wayland:
79
121
 
80
- If you find a bug, it may be fixed in the [latest dev release](https://github.com/electronstudio/raylib-python-cffi/releases).
81
- You can install an alpha or beta version by specifying the exact version number like this:
122
+ python3 -m pip uninstall raylib
123
+ python3 -m pip install raylib_drm
82
124
 
83
- python3 -m pip install raylib==4.2.0.0.dev4
125
+ You can't have multiple raylib packages installed at once.
84
126
 
85
127
  ## Problems?
86
128
 
87
129
  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)
88
130
  to let us know what you did.
89
131
 
90
- If you need help you can try asking [on Discord](https://discord.gg/raylib).
132
+ 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)
133
+ for issues that are not Python-specific.
91
134
 
92
135
  If it still doesn't work, [submit an issue](https://github.com/electronstudio/raylib-python-cffi/issues).
93
136
 
94
137
 
95
138
  # How to use
96
139
 
97
- There are two APIs, you can use either or both:
140
+ There are two modules in the raylib package, `raylib` and `pyray`. (There is no separate package for
141
+ pyray). You can use either or both:
98
142
 
99
143
  ### If you are familiar with C coding and the Raylib C library and you want to use an exact copy of the C API
100
144
 
101
- Use [the C API](https://electronstudio.github.io/raylib-python-cffi/raylib.html).
145
+ Use [the raylib module](https://electronstudio.github.io/raylib-python-cffi/raylib.html).
102
146
 
103
- ### If you prefer a slightly more Pythonistic API and don't mind it might be slightly slower
147
+ ### If you prefer a more Pythonistic API
104
148
 
105
- Use [the Python API](https://electronstudio.github.io/raylib-python-cffi/pyray.html).
149
+ Use [the pyray module](https://electronstudio.github.io/raylib-python-cffi/pyray.html).
106
150
 
107
151
  # Running in a web browser
108
152
 
@@ -164,9 +208,9 @@ A related library (that is a work in progress!):
164
208
  * Converting more examples from C to Python
165
209
  * Testing on more platforms
166
210
 
167
- # License (updated)
211
+ # License
168
212
 
169
- The bindings are now under the Eclipse Public License, so you are free to
213
+ Eclipse Public License, so you are free to
170
214
  statically link and use in non-free / proprietary / commercial projects!
171
215
 
172
216
  # Performance
@@ -179,7 +223,7 @@ If you need more performance, do in this order:
179
223
  in your update loop
180
224
  and then only convert them to C data structures when you have to call the C functions for drawing.
181
225
 
182
- 3. The raylib.* functions are potentially 1.5x faster than the pyray.* equivalents, so if you need a tiny bit more performance
226
+ 3. The raylib.* functions are potentially *slightly* faster than the pyray.* equivalents, so if you need a tiny bit more performance
183
227
  you can switch your inner loop functions to these.
184
228
 
185
229
  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.pypy310-pp73-x86_64-linux-gnu.so,sha256=yQb-6R_mZcgDQ5DK5-mPXQTZzZ5o7wSZD6CIHLAjSe0,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=TonyD-nnB4muy2lJgk-KX99hWZOugc79u0jltOaYZm0,9189
19
+ raylib-5.5.0.0.dev3.dist-info/WHEEL,sha256=7cJrFZJnUjnAm2Gg0wwuAVQ6qIqhXfOGd26L6Eu_q8c,120
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: pp310-pypy310_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.pypy310-pp73-x86_64-linux-gnu.so,sha256=l6TfmvP0JHWp7ypjDVXw9YT5hB-gHHffe824GyciSio,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=ekuSWjQ6Lv64-mRVN_CgrO7r0XZOYNdphmnKd3I_uHQ,8059
13
- raylib-5.0.0.3.dist-info/WHEEL,sha256=JD6CGUOjSRHhRlB0ZTPzkRUndG-UQneOi11eoyDYzi4,120
14
- raylib-5.0.0.3.dist-info/top_level.txt,sha256=PnMBDWaUP4jsbn_NewagcC9FjHYpzSAIQuhxNzt9hkg,13
15
- raylib-5.0.0.3.dist-info/RECORD,,