More actions
(Created page with "{{Infobox Switch Homebrews |title=PyNX |image=pynxswitch.png |description=Entry point for nx-python, the Python ecosystem for the Switch. |author=nx-python |lastupdated=2018/08/10 |type=Developments |version=0.6.0-alpha |license=ISC |download=https://dlhb.gamebrew.org/switchhomebrews/pynxswitch.7z |website=https://github.com/nx-python/PyNX |source=https://github.com/nx-python/PyNX |donation= }} {{#seo: |title=Switch Homebrew PC Tools (Developments) - GameBrew |title_mod...") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title=PyNX | |title=PyNX | ||
|image= | |image=pynx.png | ||
|description=Entry point for nx-python, the Python ecosystem for the Switch. | |description=Entry point for nx-python, the Python ecosystem for the Switch. | ||
|author=nx-python | |author=nx-python | ||
|lastupdated=2018/08/10 | |lastupdated=2018/08/10 | ||
|type= | |type=Other Apps | ||
|version=0.6.0-alpha | |version=0.6.0-alpha | ||
|license=ISC | |license=ISC | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/pynx.7z | ||
|website=https:// | |website=https://gbatemp.net/threads/nx-python-create-python-homebrew-for-the-switch.499150/ | ||
|source=https://github.com/nx-python/PyNX | |source=https://github.com/nx-python/PyNX | ||
|donation= | |donation= | ||
}} | }} | ||
nx-python is an ecosystem for developing and running [https://www.python.org/ Python] homebrew applications on the Nintendo Switch. | |||
PyNX serves as the entry point to running Python apps on your Switch. It is a homebrew app that contains a port of the CPython interpreter and allows you to run Python applications from the Homebrew Menu. | |||
Currently, Python 3.5 is supported. Documentation can be found on [https://nx-python.readthedocs.io/en/latest/ ReadTheDocs]. | |||
==Installation== | |||
Place the <code>PyNX.nro</code> to the /switch/ folder on the SD card. | |||
Python homebrew applications can be a single <code>.py</code> file or a directory containing a <code>main.py</code> file. | |||
< | |||
==User guide== | |||
Projects that use PyNX: | |||
*[[SwitchGuide-Updater Switch|SwitchGuide-Updater]] by noirscape. | |||
*[[NX-RomGet Switch|NX-RomGet]] by hotshotz79. | |||
*[[PyNX - Game Redirector Switch|Game Redirector]] by Kozlowlw. | |||
*[[Generic Mod Manager Switch|Generic Mod Manager]] by Genwald. | |||
==Screenshots== | ==Screenshots== | ||
{| style="width: 70%; margin-left:0em;" | |||
| | |||
https://dlhb.gamebrew.org/switchhomebrews/pynx5.png | |||
https://dlhb.gamebrew.org/switchhomebrews/pynx4.png | |||
|} | |||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
==Changelog== | ==Changelog== | ||
''' | '''v0.6.0-alpha 2019/08/10''' | ||
* | *Imgui and Pyimgui support (Documentation, Example). | ||
*Urllib works properly now. | |||
*New python file launcher. | |||
'''v0.5.2-alpha 2019/07/18''' | |||
*Python threads support. | |||
*zlib support. | |||
'''v0.5.1-alpha 2019/05/29''' | |||
*Fix relative import paths. | |||
'''v0.5.0-alpha 2019/05/27''' | |||
*When launching PyNX, you will now be greeted with a menu that allows you to select the Python program you want to launch. | |||
*Python homebrew applications are now placed in the /switch/ directory on the SD card. | |||
*Python homebrew applications can be a single <code>.py</code> file or a directory containing a <code>main.py</code> file. | |||
*Python homebrews can of course import each other, as long as the homebrew they're trying to import is installed. | |||
*Miscellaneous controller input fixes. | |||
'''v0.4.1-alpha 2019/05/19''' | |||
*Fixed a bug that stopped <code>nx.utils.AnsiMenu</code> from working. | |||
*Fixed a bug related to player 1's controller input. | |||
'''v0.4.0-alpha 2019/05/16''' | |||
*[https://nx-python.readthedocs.io/en/latest/ Documentation]. | |||
*Lots of bugfixes. | |||
'''v0.3.2-alpha 2019/05/11''' | |||
*Added full 10 point multitouch support. | |||
*Fixed several filesystem related issues. | |||
*Fixed lots of other issues. | |||
'''v0.3.1-alpha 2018/05/31''' | |||
*Hotfix: Accessing the currently active user via <code>nx.users.active_user</code> shouldn't crash PyNX anymore. | |||
'''v0.3.0-alpha 2018/05/30''' | |||
*This release adds the _nx CPython extension module and the nx package. This allows developers to access Switch-specific functionalities. For now, only savedata access and basic controller input are implemented. | |||
'''v0.2.0-alpha 2019/03/19''' | |||
*This release adds support for Python version 3.5. | |||
'''v0.1.0-alpha 2019/03/15''' | |||
*This release only supports Python 2.7. Name your Python program <code>main.py</code> and place it next to the <code>Pynx.nro</code>. | |||
*Special thanks to @marcuzd, @DavidBuchanan314, @gudenau, Naomi and several other people from the @reswitched community, as well as the developers of devkitPro, devkitA64, libnx and the Python Software Foundation. | |||
==Credits== | |||
Special Thanks to: | |||
* [https://github.com/DavidBuchanan314 DavidBuchanan314] | |||
* [https://gbatemp.net/members/373734/ MarcusD] | |||
* [https://gbatemp.net/members/397085/ Stary2001] | |||
* rami | |||
* People from [https://reswitched.tech/ ReSwitched] | |||
* [http://switchbrew.org/ SwitchBrew] team | |||
* [https://devkitpro.org/ devkitPro] team | |||
* [https://www.python.org/ Python Software Foundation] | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/nx-python/PyNX | ||
* | * Documentation - https://nx-python.readthedocs.io/en/latest/ | ||
* | * GBAtemp - https://gbatemp.net/threads/nx-python-create-python-homebrew-for-the-switch.499150/ | ||
* Discord - https://discord.gg/5Ga2Whf |
Latest revision as of 05:08, 9 July 2023
PyNX | |
---|---|
General | |
Author | nx-python |
Type | Other Apps |
Version | 0.6.0-alpha |
License | ISC |
Last Updated | 2018/08/10 |
Links | |
Download | |
Website | |
Source | |
nx-python is an ecosystem for developing and running Python homebrew applications on the Nintendo Switch.
PyNX serves as the entry point to running Python apps on your Switch. It is a homebrew app that contains a port of the CPython interpreter and allows you to run Python applications from the Homebrew Menu.
Currently, Python 3.5 is supported. Documentation can be found on ReadTheDocs.
Installation
Place the PyNX.nro
to the /switch/ folder on the SD card.
Python homebrew applications can be a single .py
file or a directory containing a main.py
file.
User guide
Projects that use PyNX:
- SwitchGuide-Updater by noirscape.
- NX-RomGet by hotshotz79.
- Game Redirector by Kozlowlw.
- Generic Mod Manager by Genwald.
Screenshots
|
Changelog
v0.6.0-alpha 2019/08/10
- Imgui and Pyimgui support (Documentation, Example).
- Urllib works properly now.
- New python file launcher.
v0.5.2-alpha 2019/07/18
- Python threads support.
- zlib support.
v0.5.1-alpha 2019/05/29
- Fix relative import paths.
v0.5.0-alpha 2019/05/27
- When launching PyNX, you will now be greeted with a menu that allows you to select the Python program you want to launch.
- Python homebrew applications are now placed in the /switch/ directory on the SD card.
- Python homebrew applications can be a single
.py
file or a directory containing amain.py
file. - Python homebrews can of course import each other, as long as the homebrew they're trying to import is installed.
- Miscellaneous controller input fixes.
v0.4.1-alpha 2019/05/19
- Fixed a bug that stopped
nx.utils.AnsiMenu
from working. - Fixed a bug related to player 1's controller input.
v0.4.0-alpha 2019/05/16
- Documentation.
- Lots of bugfixes.
v0.3.2-alpha 2019/05/11
- Added full 10 point multitouch support.
- Fixed several filesystem related issues.
- Fixed lots of other issues.
v0.3.1-alpha 2018/05/31
- Hotfix: Accessing the currently active user via
nx.users.active_user
shouldn't crash PyNX anymore.
v0.3.0-alpha 2018/05/30
- This release adds the _nx CPython extension module and the nx package. This allows developers to access Switch-specific functionalities. For now, only savedata access and basic controller input are implemented.
v0.2.0-alpha 2019/03/19
- This release adds support for Python version 3.5.
v0.1.0-alpha 2019/03/15
- This release only supports Python 2.7. Name your Python program
main.py
and place it next to thePynx.nro
. - Special thanks to @marcuzd, @DavidBuchanan314, @gudenau, Naomi and several other people from the @reswitched community, as well as the developers of devkitPro, devkitA64, libnx and the Python Software Foundation.
Credits
Special Thanks to:
- DavidBuchanan314
- MarcusD
- Stary2001
- rami
- People from ReSwitched
- SwitchBrew team
- devkitPro team
- Python Software Foundation
External links
- GitHub - https://github.com/nx-python/PyNX
- Documentation - https://nx-python.readthedocs.io/en/latest/
- GBAtemp - https://gbatemp.net/threads/nx-python-create-python-homebrew-for-the-switch.499150/
- Discord - https://discord.gg/5Ga2Whf