universalpython

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.

https://github.com/universalpython/universalpython

Science Score: 52.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization universalpython has institutional domain (universalpython.github.io)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

localization multilingual programming-language python python3 transpiler
Last synced: 4 months ago · JSON representation ·

Repository

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.

Basic Info
Statistics
  • Stars: 46
  • Watchers: 1
  • Forks: 13
  • Open Issues: 14
  • Releases: 0
Topics
localization multilingual programming-language python python3 transpiler
Created over 4 years ago · Last pushed 5 months ago
Metadata Files
Readme License Citation

README.md

UniversalPython Logo

UniversalPython

📖 [Documentation](https://universalpython.github.io/) | 🎯 [Examples](./test/samples/) | 📄 [Research Paper](./static/paper/conference_101719.pdf) | 🔥 [Live demo (online)](https://universalpython.github.io/) **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:

bash 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: bash python -m pip install --upgrade pip setuptools wheel build twine

To build: bash python -m build

To release on PyPI: bash 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

Owner

  • Name: UniversalPython
  • Login: UniversalPython
  • Kind: organization
  • Email: info@grayhat.com.pk
  • Location: Pakistan

Making software development accessible to more humans.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Bazaz"
  given-names: "Saad"
  orcid: "https://orcid.org/0009-0000-1038-3410"
title: "UniversalPython - A Multilingual, Pythonic Programming Language"
version: 0.0.1
date-released: 2024-12-06
url: "https://github.com/UniversalPython/UniversalPython"

GitHub Events

Total
  • Issues event: 9
  • Watch event: 15
  • Delete event: 1
  • Issue comment event: 12
  • Push event: 44
  • Pull request review event: 1
  • Pull request event: 23
  • Fork event: 9
  • Create event: 6
Last Year
  • Issues event: 9
  • Watch event: 15
  • Delete event: 1
  • Issue comment event: 12
  • Push event: 44
  • Pull request review event: 1
  • Pull request event: 23
  • Fork event: 9
  • Create event: 6

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 9
  • Total pull requests: 16
  • Average time to close issues: about 1 hour
  • Average time to close pull requests: 1 day
  • Total issue authors: 2
  • Total pull request authors: 7
  • Average comments per issue: 0.22
  • Average comments per pull request: 0.44
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 16
  • Average time to close issues: about 1 hour
  • Average time to close pull requests: 1 day
  • Issue authors: 2
  • Pull request authors: 7
  • Average comments per issue: 0.13
  • Average comments per pull request: 0.44
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • SaadBazaz (8)
  • 6502 (1)
Pull Request Authors
  • SaadBazaz (6)
  • haroon10725 (3)
  • megajoules8 (3)
  • atahanceylan (1)
  • yoorimgye-dw (1)
  • systematicguy (1)
  • TShDaub (1)
Top Labels
Issue Labels
enhancement (2) help wanted (2) discussion (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 25 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
pypi.org: universalpython

UniversalPython - Write Python in your native language

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 25 Last month
Rankings
Dependent packages count: 6.6%
Downloads: 15.1%
Average: 17.4%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 5 months ago

Dependencies

requirements.txt pypi
  • PyYAML ==5.4.1
  • Unidecode ==1.3.2
  • ply ==3.11
setup.py pypi
  • PyYAML *
  • Unidecode *
  • ply *