Metadata-Version: 2.4
Name: pylyglot
Version: 1.0.1
Summary: Pylyglot is an extremely simple python package with no dependencies (other than python itself) which allow you to write 'python' code with keywords from your language.
Author: Antonio Rocha Azevedo
License-Expression: MIT
Project-URL: Homepage, https://github.com/AntonioRochaAZ/pylyglot
Project-URL: Issues, https://github.com/AntonioRochaAZ/pylyglot/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Pylyglot: write and run python code on your native language

![](https://antoniorochaaz.github.io/pylyglot/_images/pylyglot.png)

[Pylyglot documentation](https://antoniorochaaz.github.io/pylyglot/)

How come it's 2026 and I can't write code in my own language,
with accents and special characters?

Pylyglot is an extremely simple python package with no dependencies
(other than python itself) which allow you to write "python" code
with keywords from your language. It can be used for teaching,
learning, in serious projects or for fun. Running it is as simple as running: 

``python -m pylyglot your_pylyglot_file``

Pylyglot also handles importing modules from different languages gracefully,
allowing for multilingual projects. 

With the [Pylyglot VSCode extension](https://marketplace.visualstudio.com/items?itemName=AntonioRochaAZ.pylyglot), syntax highlighting is also available for all
supported languages. The language is automatically recognized by the file extension: ``.language_code.py`` (e.g. portuguese_module **.pt.py**).

## Installation

Pylyglot is now available at PyPI !

``pip install pylyglot``

We would like to thank [Aaquinas](https://gitlab.com/Aaquinas) 
for kindly giving up the package name so we could use it in
this project.

## Main features

[Check the feature page!](https://antoniorochaaz.github.io/pylyglot/features.html)

- Language file extensions
- Running pylyglot files directly
- Translate files (and codebases) to and from different languages
- Running a multilingual code base seamlessly
- Interactive console in your language
- Traceback message translation
- Internal pylyglot messages are translated to all available languages
- Smart translation of just the right names
- Security against name clashes and English fallback


## Links

- [Pylyglot documentation](https://antoniorochaaz.github.io/pylyglot/)
- [GitHub repository](https://github.com/AntonioRochaAZ/pylyglot)
- [VSCode extension (marketplace)](https://marketplace.visualstudio.com/items?itemName=AntonioRochaAZ.pylyglot)
- [VSCode extension (source)](https://github.com/AntonioRochaAZ/pylyglot_vscode_extension)
- [PyPI page](https://github.com/AntonioRochaAZ/pylyglot)

