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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file asciitext-0.0.5.tar.gz.

File metadata

  • Download URL: asciitext-0.0.5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for asciitext-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b3e365ba5c88bb8815740897950796df76b108c987b1d372ac195828883ad4d3
MD5 5cb66b949e7292721677eb37616f9b08
BLAKE2b-256 02020b01be57fb5d4973747f2c1cf5f6b9c8114e776e42f4318350f8f50b5e21

See more details on using hashes here.

File details

Details for the file asciitext-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: asciitext-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for asciitext-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 97456f976ee646867d0052dd3b4ed887ba3e1c5ae53cb4c9ff4eed6bff9ca9c1
MD5 f03852799ca03f37639a336cd5ca5ef8
BLAKE2b-256 a235a055319ab2cfb6ddea27f507bcb315fac43bd9f486259389d65cab963406

See more details on using hashes here.

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