Skip to main content

píotón language is a superset of Python allowing it to be written in Irish. Not for use in any important work

Project description

Píotón - Write Python code in Irish

Installation:

pip:

pip install pioton

github:

clone the repo, run python -m build, then pip install the .whl file produced in the dist/ folder.

USAGE Transpiled:

write your píotón code in one or more scripts with a ‘.pag’ (Python as Gaeilge) extension, and run

tiomsaitheoir 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:

There are two modes of operation in IPython/Jupyter Notebooks:

  • ‘magic’ mode: interpret a single cell as Píotón.

  • ‘notebook’ mode: interpret all cells as Píotón.

Setup:

`python from pioton import píotón_magic, píotón_notebook píotón_magic() # activate the magic command píotón_notebook() # activate the notebook command `

Magic Usage: `python %% píotón scríobh('this cell will be interpreted as píotón code') `

Syntax: Call pioton.show_syntax() to print a full description of the Píotón syntax.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pioton-0.3.10.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pioton-0.3.10-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file pioton-0.3.10.tar.gz.

File metadata

  • Download URL: pioton-0.3.10.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for pioton-0.3.10.tar.gz
Algorithm Hash digest
SHA256 7a70dd56f2e02eb1e94766bdf76b40fc1ed4bb56aa8bfa31c84621a773af7c07
MD5 906610576b603e5de078e87758d103be
BLAKE2b-256 78a1630eb37ae2e12907f2712b6301aa0ccab4736968626aeac42391039a13ff

See more details on using hashes here.

File details

Details for the file pioton-0.3.10-py3-none-any.whl.

File metadata

  • Download URL: pioton-0.3.10-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for pioton-0.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 edb4d99804364d3d7037d9fabbf621debcd461496f0373123d1e18fb52e692fb
MD5 12188277b9990f4f0dc3916fb30933e2
BLAKE2b-256 bdbc104fcad096c1eae78f410d84a4354727e607b97a330173b7b334775a5983

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page