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
(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...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=PyNX
|title=PyNX
|image=pynxswitch.png
|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
Line 9: Line 8:
|version=0.6.0-alpha
|version=0.6.0-alpha
|license=ISC
|license=ISC
|download=https://dlhb.gamebrew.org/switchhomebrews/pynxswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/pynx.7z
|website=https://github.com/nx-python/PyNX
|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=
}}
}}
{{#seo:
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.
|title=Switch Homebrew PC Tools (Developments) - GameBrew
 
|title_mode=append
It is a homebrew app that contains a port of the CPython interpreter and allows you to run Python applications from the Homebrew Menu.  
|image=pynxswitch.png
|image_alt=PyNX
}}
{{cleanup|article|Needs cleanup}}
Entry point for nx-python, the Python ecosystem for the Switch.


Currently, Python 3.5 is supported. Documentation can be found on [https://nx-python.readthedocs.io/en/latest/ ReadTheDocs].


==Media==
==Installation==
<youtube></youtube>
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.


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-01.png
{| style="width: 70%; margin-left:0em;"
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-02.png
|
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-03.png
https://dlhb.gamebrew.org/switchhomebrews/pynx5.png
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-04.png
https://dlhb.gamebrew.org/switchhomebrews/pynx4.png
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-05.png
|}
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-06.png
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-07.png
https://dlhb.gamebrew.org/switchhomebrews/pynxswitch-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v0.6.0-alpha 2019/08/10'''
* First Release.
*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.


== External links ==
== External links ==
* Gbatemp - https://github.com/nx-python/PyNX
* GitHub - https://github.com/nx-python/PyNX
* Github - https://github.com/nx-python/PyNX
* GBAtemp - https://gbatemp.net/threads/nx-python-create-python-homebrew-for-the-switch.499150/
* Reddit -

Revision as of 01:24, 3 Haziran 2023

PyNX
Pynx.png
General
Authornx-python
TypeDevelopments
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.

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.

External links

Advertising: