Metadata-Version: 2.3
Name: piyathon
Version: 0.3.12.4
Summary: A language-localized superset of Python with a bi-directional transformer to standard Python
Project-URL: Homepage, https://github.com/piyawish/piyathon
Project-URL: Bug Tracker, https://github.com/piyawish/piyathon/issues
Author-email: Piyawish Piyawat <piyawishone@gmail.com>
License: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# Piyathon

Piyathon is a language-localized superset of Python that uses Thai keywords and function names. It employs a token-based translation approach to convert between standard Python and Piyathon code. This method allows Piyathon to maintain full compatibility with Python's syntax and features while providing a Thai language interface.

The project includes tools for bidirectional translation between Python and Piyathon, as well as a simple interpreter for directly executing Piyathon code. By leveraging the existing Python interpreter instead of building a new one from scratch, Piyathon offers an efficient solution for Thai speakers to learn and use Python concepts.

This approach makes programming more accessible to Thai speakers, particularly beginners, by reducing language barriers while still allowing them to transition to standard Python seamlessly.

## Installation

Piyathon requires Python 3.12. It can be installed using the following command:

```bash
pip install piyathon
```

## How Piyathon works

To understand how Piyathon works, refer to the image below:

![How Piyathon Works](docs/how_it_works-m.png)

This diagram illustrates the token-based translation approach employed by Piyathon to convert between standard Python and Piyathon code. By using Thai keywords and function names, Piyathon provides a Thai language interface while maintaining full compatibility with Python's syntax and features.
