Skip to main content

PIE-Office: A terminal based script converter for ancient (Proto-)Indo-European languages.

This application is a tentative to convert my editor-based keybinding plugins for typing ancient Indo-European languages pievim and pie-macs to a standalone application. I am not much of a GUI person, so this comes as a terminal based converter, but it will hopefully be more useful for those not using vim or emacs. Generally, this project will lag behind the pievim, since it is being done in a rather hobbist fashion.

So far, the mappings cover:

  • Proto-Indo-European (pieoffice convert pie <text>)
  • Indic:
    • Vedic / Sanskrit:
      • Devanagari (pieoffice vedic convert <text> or pieoffice sanskrit convert <text>)
      • ISO (pieoffice vedic convert <text> -t iso or pieoffice sanskrit convert <text> -t iso)
      • IAST (pieoffice vedic convert <text> -t iast or pieoffice sanskrit convert <text> -t iast)
  • Iranic:
    • Avestan:
      • Script (pieoffice avestan convert <text>)
      • Transliterated as in Hoffman (pieoffice convert avestan <text> -t translit)
    • Old Persian Cuneiform (pieoffice convert oldpersian <text>)
  • Celtic:
    • Ogham Script (pieoffice convert ogham <text>)
  • Italic:
    • Oscan Script (pieoffice convert oscan <text>)
  • Germanic:
    • Gothic Script (pieoffice convert gothic <text>)
  • Armenian:
    • Script (pieoffice convert armenian <text> or pieoffice convert armenian <text> -t armenian)
    • Script, Maiscules only (pieoffice convert armenian <text> -t maiscules)
    • Romanized in ISO (pieoffice convert armenian <text> -t iso)
    • Romanized in Classical (pieoffice convert armenian <text> -t maiscules)
  • Greek:
    • Polytonic Greek (pieoffice convert greek <text>)
    • Mycenaean Linear B Script (pieoffice convert linearb <text>)
    • Cypriot Syllabary (pieoffice convert cypriot <text>)
  • Anatolian:
    • Hieroglyphic Luwian (pieoffice convert luwian <text>)
    • Lydian (pieoffice convert lydian <text>)
    • Lycian (pieoffice convert lycian <text>)
    • Carian (pieoffice convert carian <text>)

Installation

The easiest way so far is, if you have pip, to run:

pip install --user pieoffice

And to upgrade:

pip install --upgrade pieoffice

Usage

To figure out what are the languages available:

pieoffice list

To check the rules for a given language:

pieoffice rules <language>

To convert:

pieoffice convert <language> <text>

TODO

JSON

It could be better having the dictionary structures converted to json, since it would allow some fancier techniques, maybe?

Contribute

This is a hobbist project, so please let me know if you would employ a different algorithm or make a pull request. Any tinkering with the code is most welcome.

Release files for pieoffice 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pieoffice 1.3.2
File Size Uploaded
pieoffice-1.3.2.tar.gz 26.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pieoffice 1.3.2
File Interpreter ABI Platform
pieoffice-1.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 57.3 kB

Release files / pieoffice-1.3.2.tar.gz

Download URL pieoffice-1.3.2.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
96ad622a6f5f54e7b6eb1c371dc50beb81902f5010e221b02867d17aba0ff2b7
BLAKE2b-256 checksum
How to use checksums
70412d78e60b78f7bbb2eb77b15c520a21d81da43595b588e9d746cdee786c79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.6 Linux/5.10.59-1-MANJARO

Release files / pieoffice-1.3.2-py3-none-any.whl

Download URL pieoffice-1.3.2-py3-none-any.whl
Size 31.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49b5b16464e40f59791181dbddeb0ab10365d710f1023ab79a8c0a1bee6755cd
BLAKE2b-256 checksum
How to use checksums
b40231eceac5804f073108b7f87455f4cd526abf19269e826d791074b2ef7319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.6 Linux/5.10.59-1-MANJARO

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.7

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page