Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukeroantree4815162342/pioton
píotón allows you to write Python in Irish in IPython environments
https://github.com/lukeroantree4815162342/pioton
gaeilge ipython irish transpiler
Last synced: 24 days ago
JSON representation
píotón allows you to write Python in Irish in IPython environments
- Host: GitHub
- URL: https://github.com/lukeroantree4815162342/pioton
- Owner: LukeRoantree4815162342
- License: gpl-3.0
- Created: 2020-04-06T00:12:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-16T15:21:51.000Z (over 2 years ago)
- Last Synced: 2024-10-12T11:22:08.021Z (24 days ago)
- Topics: gaeilge, ipython, irish, transpiler
- Language: Python
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Píotón - Write Python code in Irish
---
### Installation:pip:
pip install pioton
github:
clone the repo, move the contents of the pioton/ folder somewhere accessible by your PythonPATH
---
### Try it online:[run it in your browser](https://replite.vercel.app/repl/index.html)
select 'pyolite' kernel, then copy and paste the following into the cell at the bottom, and press shift-enter to start
```
import micropip
await micropip.install('pioton')
import pioton
```---
#### USAGE Transpiled:
write your píotón code in one or more scripts with a '.pag' (Python as Gaeilge) extension, and runtiomsaitheoir file.pag [file2.pag [...]]
which will transpile the píotón scripts into pure Python '.py' files. Running
tiomsaitheoir -h
will provide further details and examples, and running
tiomsaitheoir -s
will show an overview of the syntax for píotón code
#### USAGE IPython:
simply import píotón in any IPython environment (including Jupyter Notebooks) and start writing your code as Gaeilge.
Call `pioton.show_syntax()` to print a full description of the new irish syntax.#### THIS IS FOR FUN - DO NOT USE THIS FOR ANYTHING IMPORTANT
I can't stress that enough, I really didn't make sure it's robust at all, it's against Python standards, any code written in it will be completely unmaintainable, etc.---