https://github.com/pyunity/pyunity
A pure Python 3D Game Engine that was inspired by the structure of the Unity Game Engine
https://github.com/pyunity/pyunity
game-engine gamedev glfw pysdl2 python pyunity unity unity-engine
Last synced: 5 months ago
JSON representation
A pure Python 3D Game Engine that was inspired by the structure of the Unity Game Engine
- Host: GitHub
- URL: https://github.com/pyunity/pyunity
- Owner: pyunity
- License: mit
- Created: 2020-08-17T14:20:42.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-11-15T13:23:18.000Z (11 months ago)
- Last Synced: 2025-04-15T03:51:53.598Z (6 months ago)
- Topics: game-engine, gamedev, glfw, pysdl2, python, pyunity, unity, unity-engine
- Language: Python
- Homepage: https://docs.pyunity.x10.bz/
- Size: 12.6 MB
- Stars: 268
- Watchers: 13
- Forks: 10
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# PyUnity
[](https://docs.pyunity.x10.bz/)
[](https://docs.pyunity.x10.bz/)
[](https://docs.pyunity.x10.bz/en/latest/license.html)
[](https://pypi.python.org/pypi/pyunity)
[](https://semver.org/)
[](https://pypi.python.org/pypi/pyunity)
[](https://pycqa.github.io/isort/)
[](https://pepy.tech/project/pyunity)
[](https://ci.appveyor.com/project/pyunity/pyunity)
[](https://github.com/pyunity/pyunity/actions/workflows/coverage.yml)
[](https://github.com/pyunity/pyunity)
[](https://github.com/pyunity/pyunity/issues)
[](https://codecov.io/gh/pyunity/pyunity)
[](https://discord.gg/zTn48BEbF9)
[](https://gitter.im/pyunity/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[](https://github.com/pyunity/pyunity/stargazers)
[](https://github.com/pyunity/pyunity/commits)## Version 0.9.0 (in development)
PyUnity is a pure Python 3D Game Engine that
was inspired by the structure of the Unity
Game Engine. It aims to be as close as possible
to Unity itself. This does not mean that PyUnity
are bindings for the UnityEngine. However,
this project has been made to facilitate
any programmer, beginner or advanced, novice
or veteran.### Disclaimer
As we have said above, this is not a set of
bindings for the UnityEngine, but a pure
Python library to aid in making 3D games in
Python.### Installing
To install PyUnity for Linux distributions
based on Ubuntu or Debian, use:> pip3 install pyunity
To install PyUnity for other operating systems,
use:> pip install pyunity
Alternatively, you can clone the repository
to build the package from source. The latest
stable version is on the master branch and
you can build as follows:> git clone https://github.com/pyunity/pyunity
> git checkout master
> pip install .The latest unstable version is on the ``develop``
branch which is the default branch. These builds are
sometimes broken, so use at your own risk.> git clone https://github.com/pyunity/pyunity
> pip install .Its only dependencies are PyOpenGL, PySDL2,
Pillow and PyGLM. Microsoft Visual
C++ Build Tools are required on Windows
for building yourself, but it can be disabled by
setting the `cython` environment variable to
`0`, at the cost of being less optimized.
GLFW can be optionally installed if you would
like to use the GLFW window provider.### Links
For more information check out
[the API documentation](https://pyunity.readthedocs.io/en/latest/).
There we offer some tutorials on the basics of
PyUnity, as well as all modules and utility functions
that come with it. Examples are located at subfolders in
[pyunity/examples](https://github.com/pyunity/pyunity/tree/develop/pyunity/examples)
so do be sure to check them out as a starting point.If you would like to contribute, please
first see the [contributing guidelines](https://github.com/pyunity/pyunity/blob/develop/docs/contributing.md),
check out the latest [issues](https://github.com/pyunity/pyunity/issues)
and then make a [pull request](https://github.com/pyunity/pyunity/pulls).