Skip to main content

Text to ASCII Art Generator.

Project description

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.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asciitext-0.0.5.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

asciitext-0.0.5-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page