Figlet-style ASCII art for Persian text (Python port of moh3n9595/persian-figlet)
Project description
Persian Figlet (Python)
Figlet-style ASCII art for Persian (Farsi) text with contextual shaping and RTL handling. This is a Python port of moh3n9595/persian-figlet.
Install
pip install .
or for development:
pip install -e .
Usage
API
from persian_figlet import render
render("سلام") # prints to stdout
art = render("سلام", silent=True) # returns the ASCII art string
CLI
persian-figlet "سلام"
Options:
--font standard– font name or path to a JSON font file--silent– suppress console output
Development notes
- The renderer logic is a direct port of the TypeScript implementation; tests can be added with
pytest.
License
MIT License. Original work by Mohsen Madani; Python port by Hamid.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file persian_figlet-0.1.1.tar.gz.
File metadata
- Download URL: persian_figlet-0.1.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53189cbb094ec94f22d20f0c313cff82135b91dbf08c4d4fdea4ceb89fcc9447
|
|
| MD5 |
b49f29e76912d71738d71be5523e50de
|
|
| BLAKE2b-256 |
7ce6381ee514d1a5285d113a8bd08a6a784ace0e32984282e757437f8b4d4b19
|
File details
Details for the file persian_figlet-0.1.1-py3-none-any.whl.
File metadata
- Download URL: persian_figlet-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67a9baae3d82abdeab4e492bba74a7174988612ad1ec8042815f56aa7e22a61c
|
|
| MD5 |
51df9e15f8fc96d7ed48b7041ece5ebd
|
|
| BLAKE2b-256 |
095ec592c9c9e2d4dc28f352b3121eeeda6704c7b11b566149e8892cb100432c
|