No project description provided
Project description
UnityPython
------------
UnityPython is a Python implementation which runs everywhere through IL2CPP, making it a good option for modding games.
UnityPython is based on CPython 3.10, but not fully compatible with CPython.
Usage (CLI)
------------
1. runtime: Download the binaries from the release page, and unpack them to a directory in '$PATH'.
2. compiler: 'pip install upycc' with a Python (>=3.8) distribution.
3. create a project as follow, 'cd' into it, and run this project with 'upy .'
- myupy_proj
- main.py
from .libs.some_lib import lib_func
args, kwargs = lib_func(1, 2, 3, a=1, b=2)
print(args, kwargs)
- libs
- some_lib.py
def lib_func(*args, **kwargs):
return args, kwargs
- out (for compiler output)
Usage (Unity Library)
----------------------
Under construction.
IDE Support
-----------------
UnityPython has excellent IDE support based on VSCode Pylance:
https://github.com/thautwarm/vscode-unitypython/tree/main/src
Development
--------------------
Check out DEV.md in this project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
upycc-0.3.0-py3-none-any.whl
(19.9 kB
view details)
File details
Details for the file upycc-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: upycc-0.3.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67971eb8d62f9228342ab89a1ae125e568782b1617ace33b435fa83139174e3a |
|
MD5 | a245ddd1eb947246e25619f82bf4cf38 |
|
BLAKE2b-256 | 29e7a3069f565238f3dbe4ae05d0b3e48bbc4f55c5f2a904eb730b514805b6d9 |