Araste
making ascii-art out of Persian/Arabic text
Similar to the figlet and toilet tools, but for Persian and Arabic texts.
usage:
araste <your text>
use -f switch to choose font
araste 'your persian/arabic text' -f 'fontpath or fontname'
to get a list of installed fonts:
araste --list
for now, there are a few fonts that you can use:
aipara
aipara_mini
zivar
nima
it can also read text from stdin. so you can do something like this:
echo 'آراسته' | araste
to get help:
araste -h
an output with the default font (aipara):
██████
████ ██ ██
████ ██ ██
████ ██ ██ ██ ██ ██ ██ ██
██████████████████████ ██ ██ ██
██
██
filters
araste has various filters for decorating the output. use filters with -F switch.
for instance, you can use rainbow filter like this:
$ araste 'colorful text' -F rainbow
also you can concatenate several filters. to do so, just type their names one by one after -F switch.
for instance:
$ araste نوشته -F hmirror box
output:
╔════════════════════════════════════╗
║ ██ ║
║██ ████ ████ ║
║ ████ ║
║██ ████ ██ ██ ██ ██ ████ ║
║████████ ██████████████████████ ║
║ ██ ║
║ ██ ║
║ ║
╚════════════════════════════════════╝
to get a list of available filters, use --filter-list switch:
$ araste --filter-list
Install and Usage
for installing you only need to execute following command.
pip install araste
Note: if you get the following error: externally-managed-environment, you can install araste using pipx (Make sure that python-pipx is installed on your system.)
pipx install araste
- or to build it yourself:
git clone 'https://github.com/ekm507/araste/'
cd araste
python3 setup.py bdist_wheel
pip install ./dist/araste-1.2.1-py3-none-any.whl
Instaling Fonts
For Installing Fonts You Can Use araste-get
araste-get FontName
Unistall
to uninstall araste, simply use pip.
pip uninstall araste
Or pipx:
pipx uninstall araste
Creating New Fonts!
To get additional fonts for araste or to create your own custom fonts, use tools and manuals in araste-fonts repo.
Todos
Todos have been moved to a separate file. TODOS
Metadata
Release files for araste 3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| araste-3.3-py3-none-any.whl | Python 3 | none | any | Details for araste-3.3-py3-none-any.whl |
Release files / araste-3.3-py3-none-any.whl
| Download URL | araste-3.3-py3-none-any.whl |
|---|---|
| Size | 49.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04f6bd4a68290b935bb5ee19c5b055faabcc6c9d79577b9eb9390c3c9b29388b
|
|
BLAKE2b-256 checksum How to use checksums |
dc1401a857e753bddfbcacae278f032b637cf822654d09c6a0708e5da95cb2d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Security for araste 3.3
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.