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. Python port of moh3n9595/persian-figlet.
Install
pip install persian-figlet
Usage
CLI
persian-figlet "سلام"
Options:
--font standard– font name or path to a JSON font file--silent– suppress console output
API
from persian_figlet import render
# Prints to stdout
render("سلام")
# Returns the ASCII art string
art = render("سلام", silent=True)
Development
- Install dev tools:
python -m pip install -e .[dev](or justpip install -e .if you only need the package). - Run tests:
python -m pytest
License
MIT License. Original work by Mohsen Madani; Python port by Hamidreza Sadeghi.
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.2.tar.gz.
File metadata
- Download URL: persian_figlet-0.1.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
905976d112bd27eb67300f7c49b3bcd61308562253320be5651b00c87438398d
|
|
| MD5 |
00d428e93104211e1f25b038b37d6d3a
|
|
| BLAKE2b-256 |
1b5921cc98feda94df60c7ecae5ab8abed8ee47daad2fb78762f4be32fdafff8
|
File details
Details for the file persian_figlet-0.1.2-py3-none-any.whl.
File metadata
- Download URL: persian_figlet-0.1.2-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 |
900ad4736948cd50ec300076a3b4d8f05e105e89dd0f8759d19f781468f606a7
|
|
| MD5 |
b37c231a20d714890398e4f08cc6d1e2
|
|
| BLAKE2b-256 |
028f6d5a8e45c20759610b668cdda1910932f2dea648393d081195884e0ecfce
|