66 < meta charset ="utf-8 " /> < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
77
88 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
9- < title > Python Bindings for Raylib 5.5 — Raylib Python documentation</ title >
9+ < title > Python Bindings for Raylib 5.6 — Raylib Python documentation</ title >
1010 < link rel ="stylesheet " type ="text/css " href ="_static/pygments.css?v=03e43079 " />
11- < link rel ="stylesheet " type ="text/css " href ="_static/css/theme.css?v=e59714d7 " />
11+ < link rel ="stylesheet " type ="text/css " href ="_static/css/theme.css?v=9edc463e " />
1212 < link rel ="stylesheet " type ="text/css " href ="_static/graphviz.css?v=4ae1632d " />
1313
1414
1515 < script src ="_static/jquery.js?v=5d32c60e "> </ script >
1616 < script src ="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c "> </ script >
1717 < script src ="_static/documentation_options.js?v=5929fcd5 "> </ script >
18- < script src ="_static/doctools.js?v=9bcbadda "> </ script >
19- < script src ="_static/sphinx_highlight.js?v=dc90522c "> </ script >
18+ < script src ="_static/doctools.js?v=fd6eb6e6 "> </ script >
19+ < script src ="_static/sphinx_highlight.js?v=6ffebe34 "> </ script >
2020 < script src ="_static/js/theme.js "> </ script >
2121 < link rel ="index " title ="Index " href ="genindex.html " />
2222 < link rel ="search " title ="Search " href ="search.html " />
4545 </ div > < div class ="wy-menu wy-menu-vertical " data-spy ="affix " role ="navigation " aria-label ="Navigation menu ">
4646 < p class ="caption " role ="heading "> < span class ="caption-text "> Contents:</ span > </ p >
4747< ul class ="current ">
48- < li class ="toctree-l1 current "> < a class ="current reference internal " href ="# "> Python Bindings for Raylib 5.5 </ a > < ul >
48+ < li class ="toctree-l1 current "> < a class ="current reference internal " href ="# "> Python Bindings for Raylib 5.6 </ a > < ul >
4949< li class ="toctree-l2 "> < a class ="reference internal " href ="#libraries-raymath-raygui-rlgl-physac-and-glfw "> Libraries: raymath, raygui, rlgl, physac and GLFW</ a > </ li >
50- < li class ="toctree-l2 "> < a class ="reference internal " href ="#backends-desktop-sdl-drm-web "> Backends: Desktop, SDL, DRM, Web</ a > </ li >
50+ < li class ="toctree-l2 "> < a class ="reference internal " href ="#backends-desktop-sdl-drm-web-software-rendering "> Backends: Desktop, SDL, DRM, Web, Software rendering </ a > </ li >
5151< li class ="toctree-l2 "> < a class ="reference internal " href ="#platforms-windows-mac-linux-raspberry-pi-web "> Platforms: Windows, Mac, Linux, Raspberry Pi, Web</ a > </ li >
5252</ ul >
5353</ li >
5454< li class ="toctree-l1 "> < a class ="reference internal " href ="#quickstart "> Quickstart</ a > </ li >
55+ < li class ="toctree-l1 "> < a class ="reference internal " href ="#videos "> Videos</ a > </ li >
5556< li class ="toctree-l1 "> < a class ="reference internal " href ="#links "> Links</ a > </ li >
5657< li class ="toctree-l1 "> < a class ="reference internal " href ="#installation "> Installation</ a > < ul >
5758< li class ="toctree-l2 "> < a class ="reference internal " href ="#windows "> Windows</ a > </ li >
104105 < div role ="navigation " aria-label ="Page navigation ">
105106 < ul class ="wy-breadcrumbs ">
106107 < li > < a href ="index.html " class ="icon icon-home " aria-label ="Home "> </ a > </ li >
107- < li class ="breadcrumb-item active "> Python Bindings for Raylib 5.5 </ li >
108+ < li class ="breadcrumb-item active "> Python Bindings for Raylib 5.6 </ li >
108109 < li class ="wy-breadcrumbs-aside ">
109110 < a href ="_sources/README.md.txt " rel ="nofollow "> View page source</ a >
110111 </ li >
114115 < div role ="main " class ="document " itemscope ="itemscope " itemtype ="http://schema.org/Article ">
115116 < div itemprop ="articleBody ">
116117
117- < section id ="python-bindings-for-raylib-5-5 ">
118- < h1 > Python Bindings for Raylib 5.5 < a class ="headerlink " href ="#python-bindings-for-raylib-5-5 " title ="Link to this heading "> </ a > </ h1 >
118+ < section id ="python-bindings-for-raylib-5-6 ">
119+ < h1 > Python Bindings for Raylib 5.6 < a class ="headerlink " href ="#python-bindings-for-raylib-5-6 " title ="Link to this heading "> </ a > </ h1 >
119120< section id ="libraries-raymath-raygui-rlgl-physac-and-glfw ">
120121< h2 > Libraries: raymath, raygui, rlgl, physac and GLFW< a class ="headerlink " href ="#libraries-raymath-raygui-rlgl-physac-and-glfw " title ="Link to this heading "> </ a > </ h2 >
121122</ section >
122- < section id ="backends-desktop-sdl-drm-web ">
123- < h2 > Backends: Desktop, SDL, DRM, Web< a class ="headerlink " href ="#backends-desktop-sdl-drm-web " title ="Link to this heading "> </ a > </ h2 >
123+ < section id ="backends-desktop-sdl-drm-web-software-rendering ">
124+ < h2 > Backends: Desktop, SDL, DRM, Web, Software rendering < a class ="headerlink " href ="#backends-desktop-sdl-drm-web-software-rendering " title ="Link to this heading "> </ a > </ h2 >
124125</ section >
125126< section id ="platforms-windows-mac-linux-raspberry-pi-web ">
126127< h2 > Platforms: Windows, Mac, Linux, Raspberry Pi, Web< a class ="headerlink " href ="#platforms-windows-mac-linux-raspberry-pi-web " title ="Link to this heading "> </ a > </ h2 >
@@ -141,7 +142,7 @@ <h2>Platforms: Windows, Mac, Linux, Raspberry Pi, Web<a class="headerlink" href=
141142</ section >
142143< section id ="quickstart ">
143144< h1 > Quickstart< a class ="headerlink " href ="#quickstart " title ="Link to this heading "> </ a > </ h1 >
144- < p > < code class ="docutils literal notranslate "> < span class ="pre "> pip3</ span > < span class ="pre "> install</ span > < span class ="pre "> raylib==5.5.0.3 </ span > < span class ="pre "> --break-system-packages</ span > </ code > </ p >
145+ < p > < code class ="docutils literal notranslate "> < span class ="pre "> pip3</ span > < span class ="pre "> install</ span > < span class ="pre "> raylib==5.5.0.4 </ span > < span class ="pre "> --break-system-packages</ span > </ code > </ p >
145146< div class ="highlight-python notranslate "> < div class ="highlight "> < pre > < span > </ span > < span class ="kn "> from</ span > < span class ="w "> </ span > < span class ="nn "> pyray</ span > < span class ="w "> </ span > < span class ="kn "> import</ span > < span class ="o "> *</ span >
146147< span class ="n "> init_window</ span > < span class ="p "> (</ span > < span class ="mi "> 800</ span > < span class ="p "> ,</ span > < span class ="mi "> 450</ span > < span class ="p "> ,</ span > < span class ="s2 "> "Hello"</ span > < span class ="p "> )</ span >
147148< span class ="k "> while</ span > < span class ="ow "> not</ span > < span class ="n "> window_should_close</ span > < span class ="p "> ():</ span >
@@ -152,15 +153,19 @@ <h1>Quickstart<a class="headerlink" href="#quickstart" title="Link to this headi
152153< span class ="n "> close_window</ span > < span class ="p "> ()</ span >
153154</ pre > </ div >
154155</ div >
156+ < p > Use the < a class ="reference external " href ="https://github.com/electronstudio/python-raylib-template "> project generator</ a > to generate a complete project. < a class ="reference external " href ="https://github.com/electronstudio/raylib-example-game "> Example of project</ a > </ p >
157+ </ section >
158+ < section id ="videos ">
159+ < h1 > Videos< a class ="headerlink " href ="#videos " title ="Link to this heading "> </ a > </ h1 >
160+ < p > < a href ="https://www.youtube.com/watch?v=MIgq9w0MUsM "> < img src ="https://img.youtube.com/vi/MIgq9w0MUsM/0.jpg " alt ="video "/> </ a > </ p >
161+ < p > < a href ="https://www.youtube.com/watch?v=UoAsDlUwjy0 "> < img src ="https://img.youtube.com/vi/UoAsDlUwjy0/0.jpg " alt ="video "/> </ a > </ p >
162+ < p > < a class ="reference external " href ="https://www.youtube.com/@FinFET/videos "> more videos</ a > </ p >
155163</ section >
156164< section id ="links ">
157165< h1 > Links< a class ="headerlink " href ="#links " title ="Link to this heading "> </ a > </ h1 >
158166< ul class ="simple ">
159- < li > < p > < a class ="reference external " href ="https://www.youtube.com/watch?v=UoAsDlUwjy0&amp;lc=UgxCR-tvnQJITZr2IvN4AaABAg "> Tutorial video</ a > </ p > </ li >
160167< li > < p > < a class ="reference external " href ="https://electronstudio.github.io/raylib-python-cffi "> Full documentation</ a > </ p > </ li >
161168< li > < p > < a class ="reference external " href ="https://github.com/Scr44gr/raylib-imgui "> Imgui integration</ a > </ p > </ li >
162- < li > < p > < a class ="reference external " href ="https://github.com/electronstudio/raylib-python-cffi/tree/master/examples "> Examples</ a > </ p > </ li >
163- < li > < p > < a class ="reference external " href ="https://github.com/blep/pyray_examples "> Blep’s examples</ a > </ p > </ li >
164169< li > < p > < a class ="reference external " href ="https://discord.gg/fKDwt85aX6 "> Raylib Python Discord</ a > </ p > </ li >
165170< li > < p > < a class ="reference external " href ="https://discord.com/invite/raylib "> Raylib General Discord</ a > </ p > </ li >
166171< li > < p > < a class ="reference external " href ="https://github.com/anrayliu/pyvidplayer2 "> Python video player</ a > </ p > </ li >
@@ -181,15 +186,15 @@ <h1>Installation<a class="headerlink" href="#installation" title="Link to this h
181186</ div >
182187< p > Then install</ p >
183188< div class ="highlight-none notranslate "> < div class ="highlight "> < pre > < span > </ span > python3 -m pip install setuptools
184- python3 -m pip install raylib==5.5.0.3
189+ python3 -m pip install raylib==5.5.0.4
185190</ pre > </ div >
186191</ div >
187192< p > On most platforms it should install a binary wheel. If yours isn’t available then pip will attempt to build from
188193source, in which case you will need to have Raylib development libs installed, e.g.
189194using homebrew, apt, etc.</ p >
190195< section id ="windows ">
191196< h2 > Windows< a class ="headerlink " href ="#windows " title ="Link to this heading "> </ a > </ h2 >
192- < p > Binaries require x64 Windows 10 or newer. (For x86 or older Windows you will have to build from source.) </ p >
197+ < p > Binaries require x64 or x86 Windows 10 or newer. </ p >
193198< p > Use an < a class ="reference external " href ="https://www.python.org/downloads/windows/ "> official Windows Python release</ a > rather than WSL, MSYS, etc.</ p >
194199</ section >
195200< section id ="macos ">
@@ -202,15 +207,13 @@ <h2>MacOS<a class="headerlink" href="#macos" title="Link to this heading"></a
202207< p > Older MacOS requires building from source but this is usually simple:</ p >
203208< div class ="highlight-none notranslate "> < div class ="highlight "> < pre > < span > </ span > brew install pkg-config
204209brew install raylib
205- python3 -m pip install raylib==5.5.0.3
210+ python3 -m pip install raylib==5.5.0.4
206211</ pre > </ div >
207212</ div >
208- < p > (I do have binaries for arm64 MacOS 11, 12 and 13 but I have no way of testing they work, so post an issue
209- if you want to test them.)</ p >
210213</ section >
211214< section id ="linux ">
212215< h2 > Linux< a class ="headerlink " href ="#linux " title ="Link to this heading "> </ a > </ h2 >
213- < p > Binaries require OS newer than Ubuntu 2020 , x64 or arm64. Otherwise build from source.
216+ < p > Binaries require OS newer than Ubuntu 2016 , x64/x86 or Ubuntu 2022 arm64. Otherwise build from source.
214217(Pip should attempt automatically but will need Raylib itself installed and also pkg-config.)</ p >
215218< p > The arm64 binaries are built on Raspberry Pi arm64 Bullseye with OpenGL 2.0
216219so may not work on other boards.</ p >
0 commit comments