Skip to content

byro0t96/asciitext

 
 

Repository files navigation

Text to ASCII.

Text to ASCII Art Generator.

Python package CodeFactor

Languages:

* python3

Requirements

[✓] hexor
[✓] requests

Supported Distributions:

Distribution Version Check Python Test Version Supported Status Everything works
Ubuntu 20.04.3 3.6, 3.7, 3.8, 3.9 Yes Working Yes
Windwos 11.6.4 3.6, 3.7, 3.8, 3.9 Yes Not Working No
MacOS 10.0.20348 3.6, 3.7, 3.8, 3.9 Yes Working Yes
Android (termux) 10 (0.118.0) 3.6, 3.7, 3.8, 3.9, 3.10 Yes Working Yes
Android (nethunter) 10 (2022.3) 3.6, 3.7, 3.8, 3.9, 3.10 Yes Working Yes

Python Package Installation:

# install from pypi:
pip install asciitext

# local install:
git clone https://github.com/yasserbdj96/asciitext.git
cd asciitext
sudo python setup.py install

Run without installation:

git clone https://github.com/yasserbdj96/asciitext.git
cd asciitext
pip install -r requirements.txt
python3 run.py '<FONT_PATH/FONT_URL>' '<COLOR>' '<BACKGROUND/FALSE>' '<TEXT>'

Script Usage:

from asciitext import *

print(asciii.asciitext(<FONT_PATH/URL>,<TEXT>,<TEXT_COLOR>,<BACKGROUND_COLOR>,<COLOR_TYPE[hex/rgb]>))

Script Examples:

from asciitext import *

# Example:1
print(asciii.asciitext("./fonts/ANSI_Shadow.txt","#asciitext","#ff0000"))

# Example:2
font_url="https://raw.githubusercontent.com/yasserbdj96/asciitext/main/fonts/Calvin_S.txt"
print(asciii.asciitext(font_url,"#asciitext","#ff0000"))

Screenshot:

Changelog History:

## 0.0.5 [17-08-2022]
 - Fix bugs.

## 0.0.4 [27-02-2022]
 - Fix bugs.
 - Enable type import from url.
 
## 0.0.3 [26-02-2022]
 - Fix bugs.

## 0.0.2 [26-02-2022]
 - Fix bugs.
 - Build a package instead of a script.
 
## 0.0.1
 - First public release.

Don't forget to star ⭐ this repository

all posts #yasserbdj96 ,all views my own.


About

Text to ASCII Art Generator.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%