Python 3 transliteration module to romanize several different ancient scripts to roman letter equivalents and back.
Supported scripts are:
- greek (grc)
- aramaic (arm)
- syriaic (syc)
- arabic (ara)
- phoenician (phn)
- brahmi (brh)
- coptic (cop)
- hebrew (heb)
## install
`pip install romanize3`
## Usage
Transliterate syriaic script back and forth:
```python
import romanize3
r = romanize3.__dict__['syc']
print(r.convert("ܠܕܝܠܗ ܐܬܐ ܘܕܝܠܗ ܠܐ ܩܒܠܘܗܝ")) # output: LDILE ATA WDILE LA QBLWEI
print(r.convert("LDILE ATA WDILE LA QBLWEI")) # output: ܠܕܝܠܗ ܐܬܐ ܘܕܝܠܗ ܠܐ ܩܒܠܘܗܝ
```
Filter phoenician alphabet from the given text:
```python
r = romanize3.__dict__['phn']
s = """𐤀𐤍𐤊 𐤕𐤁𐤍𐤕 𐤊𐤄𐤍 𐤏𐤔𐤕𐤓𐤕 𐤌𐤋𐤊 𐤑𐤃𐤍𐤌 𐤁𐤍
I, Tabnit, priest of Astarte, king of Sidon, the son
𐤀𐤔𐤌𐤍𐤏𐤆𐤓 𐤊𐤄𐤍 𐤏𐤔𐤕𐤓𐤕 𐤌𐤋𐤊 𐤑𐤃𐤍𐤌 𐤔𐤊𐤁 𐤁𐤀𐤓𐤍 𐤆
of Eshmunazar, priest of Astarte, king of Sidon, am lying in this sarcophagus."""
print(r.filter(s))
```
Output:
```text
𐤀𐤍𐤊 𐤕𐤁𐤍𐤕 𐤊𐤄𐤍 𐤏𐤔𐤕𐤓𐤕 𐤌𐤋𐤊 𐤑𐤃𐤍𐤌 𐤁𐤍
𐤀𐤔𐤌𐤍𐤏𐤆𐤓 𐤊𐤄𐤍 𐤏𐤔𐤕𐤓𐤕 𐤌𐤋𐤊 𐤑𐤃𐤍𐤌 𐤔𐤊𐤁 𐤁𐤀𐤓𐤍 𐤆
```
Metadata
Release files for romanize3 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| romanize3-0.1.14.tar.gz | 11.6 kB | Without provenance | Details |
Release files / romanize3-0.1.14.tar.gz
| Download URL | romanize3-0.1.14.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2379181faa5066a4b0c6f5a357b6d6ed1caa9b3028d0dcb5c0ac40e123accac5
|
|
BLAKE2b-256 checksum How to use checksums |
a192472d120f19ce0ffb2599ff8fde658913c952723c2ee908a5fb904aa86f54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for romanize3 0.1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.