Skip to main content

A Python library for converting images and videos into ASCII art.

Project description

Ascii Art Python

Une bibliothèque Python permettant de convertir facilement des images et des vidéos en ASCII Art.

Installation

Vous pouvez installer la bibliothèque localement ou (si vous la publiez plus tard) via pip :

pip install .

Dependencies

This project uses the following libraries:

  • Pillow (image manipulation)
  • opencv-python (video reading and writing)
  • tqdm (progress bar)
  • requests

Usage

Here is a basic example of how to use the library:

from ascii_art_python.new_school import ImageAscii
from PIL import Image

# Load an image with Pillow
img = Image.open("mon_image.jpg")

# Convert to ASCII
ascii_converter = ImageAscii(img)
ascii_converter.export("mon_export", export_type="txt")

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

ascii_art_python-0.1.0.tar.gz (263.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ascii_art_python-0.1.0-py3-none-any.whl (262.8 kB view details)

Uploaded Python 3

File details

Details for the file ascii_art_python-0.1.0.tar.gz.

File metadata

  • Download URL: ascii_art_python-0.1.0.tar.gz
  • Upload date:
  • Size: 263.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ascii_art_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5ca63a85d5598dc869dabf815c50e52b95d2d29b61e3898d1dfb855dccff85d
MD5 438bf3e372b3bcf08b3c4635cfff1d72
BLAKE2b-256 cea39ef89c1685c4224917c11f61f35eb6c7de7be2880d3cdbf567f55db24082

See more details on using hashes here.

File details

Details for the file ascii_art_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ascii_art_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b650c18317e818201e709397421c620aa714b84180756e52bc3a67aa5038978e
MD5 4149ce1ba36ffaf1008354591e3c847b
BLAKE2b-256 68898ad7486567c3bcf6d8dca5429af6285ed400eba01ef5144539fc823d5b2d

See more details on using hashes here.

Supported by

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