Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

PyNX Switch: Difference between revisions

From GameBrew
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
|author=nx-python
|author=nx-python
|lastupdated=2018/08/10
|lastupdated=2018/08/10
|type=Developments
|type=Other Apps
|version=0.6.0-alpha
|version=0.6.0-alpha
|license=ISC
|license=ISC
Line 23: Line 23:


Python homebrew applications can be a single <code>.py</code> file or a directory containing a <code>main.py</code> file.
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==
Line 78: Line 85:


==Credits==
==Credits==
Thanks to:
Special Thanks to:
* [https://github.com/DavidBuchanan314 DavidBuchanan314]
* [https://github.com/DavidBuchanan314 DavidBuchanan314]
* [https://gbatemp.net/members/373734/ MarcusD]
* [https://gbatemp.net/members/373734/ MarcusD]
* [https://gbatemp.net/members/397085/ Stary2001]
* [https://gbatemp.net/members/397085/ Stary2001]
* rami
* rami
* [https://reswitched.tech/ People from ReSwitched]
* People from [https://reswitched.tech/ ReSwitched]
* [http://switchbrew.org/ SwitchBrew] team
* [http://switchbrew.org/ SwitchBrew] team
* [https://devkitpro.org/ devkitPro] team
* [https://devkitpro.org/ devkitPro] team
Line 90: Line 97:
== External links ==
== External links ==
* GitHub - https://github.com/nx-python/PyNX
* 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/
* GBAtemp - https://gbatemp.net/threads/nx-python-create-python-homebrew-for-the-switch.499150/
* Discord - https://discord.gg/5Ga2Whf
* Discord - https://discord.gg/5Ga2Whf

Latest revision as of 05:08, 9 July 2023

PyNX
Pynx.png
General
Authornx-python
TypeOther Apps
Version0.6.0-alpha
LicenseISC
Last Updated2018/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:

Screenshots

pynx5.png pynx4.png

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 a main.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

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 the Pynx.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:

External links

Advertising: