Skip to content

Write Python in any human language. UniversalPython is a transpiler which makes it possible to write Python code in different human languages like Urdu, German, Czech, and more. The code is translated to Python.

License

UniversalPython/UniversalPython

Repository files navigation

UniversalPython Logo

UniversalPython

📖 Documentation | 🎯 Examples | 📄 Research Paper | 🔥 Live demo (online)

UniversalPython is a transpiler that lets you write Python code in your own language. It translates your code into Python while keeping the syntax familiar.

UniversalPython Flow Chart

Features

  • Code in Any Language: Write code in Urdu, Hindi, Spanish, and more. More languages coming soon!
  • Easy Translation: Automatically converts your code into Python.
  • Simple Syntax: Learn programming in your own language with relatable concepts.
  • Access Python Libraries: Use Python's powerful tools and frameworks.
  • Open Source: Add new languages or improve translations.

Why Use UniversalPython?

  • Easier Learning: No need to know English to code.
  • Cultural Connection: Code in the language you love.
  • Have fun: Makes programming available to more people.

🚀 Getting Started

Requirements

You only need Python 3.4+.

Install

Install UniversalPython with pip:

pip install universalpython

See more details about the package on PyPI.

Online Playground

You can also try out UniversalPython in our live online demo. It runs in your browser.

UniversalPython in Jupyter

Install our Jupyter Kernel to easily use UniversalPython in Jupyter Notebook or Jupyter Lab. Instructions are here: https://github.com/UniversalPython/universalpython_kernel

Build and release

Install packaging dependencies:

python -m pip install --upgrade pip setuptools wheel build twine

To build:

python -m build

To release on PyPI:

twine upload --repository testpypi dist/* --verbose --skip-existing

Learn More

Check out the documentation.

Join Us!

  • Community Forum: Discord
  • Contribute: Help us add languages or improve the project.
  • Report Issues: Submit issues.

UniversalPython is still growing. Join us to make programming truly universal!

Want to add your language? Or edit one?

Follow the documentation here to add a new human language, or edit an existing one.

License

Apache-2.0 license

Contributors

About

Write Python in any human language. UniversalPython is a transpiler which makes it possible to write Python code in different human languages like Urdu, German, Czech, and more. The code is translated to Python.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 8