The ASCII art tool is a simple library to generate ASCII art from regular images.
Project description
ascii_art
The ascii_art is an open-source library that helps you convert any image into an ASCII-art text file.
How to get it ?
The ascii_art is a python package that you can simply install using the following command:
pip install ASCII-art-tool
How to use it ?
To use our library in your code, you need to import it and intialize it, that's all. It's easy !
## Import the library
from ascii_art import generator
## Declaring the path of the input file and the output
input = "C:/Users/default/Desktop/image.jpg"
output = "./ascii_art.txt"
## Intialize an instance of the library
instance = generator.Generator(input=input, output=output)
## Execute the art
instance.execute()
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
ASCII_art_tool-1.0.1.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file ASCII_art_tool-1.0.1.tar.gz
.
File metadata
- Download URL: ASCII_art_tool-1.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcfb40275d621fc8978df2a4bf1991034fde675746d30654c5f7ecc6d533abf0 |
|
MD5 | b1fefbb0e94c07c4a7a4bbf5479b3b4b |
|
BLAKE2b-256 | f46d8758c32c03f5e7c8f0558c3b5886234186adb65b7d0353e10becbb0b6daf |
File details
Details for the file ASCII_art_tool-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: ASCII_art_tool-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3811c31fb21834540582cc9923da9745cd4d48a2d94668e01fb08c9b3240e689 |
|
MD5 | e99ed346d2190db5cf34ef555028682d |
|
BLAKE2b-256 | 9fd12233a21591fd7c3b3d789ed841c193110390616e0ee1923e40d26f3ff8eb |