Skip to main content

auto-ascii

A powerful, flexible, and easy-to-use Python package that converts images and videos into customizable ASCII art!

✨ Features

  • Images and Videos: Convert static images or entire videos to ASCII art.
  • Terminal Playback: Watch videos in real-time as an ASCII stream within your terminal.
  • Over 100 Presets: Choose from numerous languages and visual representations. From traditional standard ASCII, block characters, Braille, Japanese, Chinese, Cyrillic, or Emojis.
  • Exporting Options: Dump ASCII directly into .txt, auto-upscale results directly to .png/.jpg, or render an .mp4 video out of ASCII frames.
  • Aspect Ratio & Resolution Keeping: Keep the original picture aspect ratio or output native resolution text mappings up to 4K parity images explicitly.

Installation

Install directly via pip:

pip install auto-ascii

Quick Start

CLI Usage

# Convert an image and output to terminal
auto-ascii test_image.jpg -w 120

# Convert an image using Japanese Kanji and save as a high-res PNG image
auto-ascii input.jpg -c japanese_kanji -o ascii_art.png

# Play a video in the terminal as ASCII blocks with a 30 FPS cap
auto-ascii input.mp4 --video --fps 30 -c blocks

# Render an entire video into an ASCII MP4 output natively
auto-ascii input.mp4 --video -o output_ascii.mp4

Note: You can view all available charsets by running auto-ascii --help.

Python API Usage

Use auto-ascii directly in your Python code:

from auto_ascii import image_to_ascii, video_to_ascii

# Convert image to a raw ASCII string
ascii_art = image_to_ascii("image.jpg", new_width=100, char_set="emoji_faces")
print(ascii_art)

# Playback a video in the terminal (runs synchronously until finished)
video_to_ascii("video.mp4", new_width=80, char_set="braille")

# Output ASCII text back into an image programmatically
from auto_ascii.converter import ascii_to_image_obj
img = ascii_to_image_obj(ascii_art)
img.show()

License

MIT License

Metadata

Release files for auto-ascii 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-ascii 0.1.0
File Size Uploaded Provenance
auto_ascii-0.1.0.tar.gz 10.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-ascii 0.1.0
File Interpreter ABI Platform
auto_ascii-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / auto_ascii-0.1.0.tar.gz

Download URL auto_ascii-0.1.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8abb32a123b2038e7bb40d3efe1f5adf3392a97537376ec7dc332149ffcbee4f
BLAKE2b-256 checksum
How to use checksums
5fb295ad9015c8e129fe73399d89381c3a497b6a45798da4b54479682f9541f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.

Transparency log

Release files / auto_ascii-0.1.0-py3-none-any.whl

Download URL auto_ascii-0.1.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5f1c087cc1051a378fa9c1621d9f85767123d860604df72ebc626b30ff939ef
BLAKE2b-256 checksum
How to use checksums
50c55e7a62aac7bdcb92d24fc82eddc86e45f99c209bded1acf78d8e56079351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.

Transparency log

Security for auto-ascii 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for auto_ascii-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page