gif2ascii
Example using command line
python -m gif2ascii -f anime.gif -w 80
python -m gif2ascii -f anime.gif --fit-terminal
python -m gif2ascii -f hehe.jpg -c ABCDEF -d 0.1
Example using Code
from gif2ascii import GifAscii
file_name = 'jujutsu.gif'
width = 80
GifAscii(file_name, width).output()
Available Options to constructor
usage: python -m gif2ascii [-h] -f F [-w W] [-d D] [-c C] [--fit-terminal] [--no-loop] [--screenfetch]
Gif to Ascii
options:
-h, --help show this help message and exit
-f F Input file, static image or gif file
-w W Width in chars
-d D Frame delay between frames for gif
-c C Characters to be used for ASCII output
--fit-terminal Fit entire terminal
--no-loop Loop gif animation
--screenfetch Create template for screenfetch
Examples:
python -m gif2ascii -f anime.gif -w 80
python -m gif2ascii -f anime.gif --fit-terminal
python -m gif2ascii -f john.jpg -c ABCDEF -d 0.1
Use with screenfetch
echo 'startline=0;fulloutput=($(python -m gif2ascii -f john.jpg -w 40 --screenfetch))' > /tmp/script.sh && screenfetch -E -a /tmp/script.sh
github.com/shobhit99
Metadata
Release files for gif2ascii 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gif2ascii-0.1.4.tar.gz | 4.2 kB | Without provenance | Details for gif2ascii-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gif2ascii-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for gif2ascii-0.1.4-py3-none-any.whl |
Total release size: 9.0 kB
Release files / gif2ascii-0.1.4.tar.gz
| Download URL | gif2ascii-0.1.4.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2a5c7cda787407ebfdbd43f9561240faefadc2919fdf85bcd2adf04c47bacd9
|
|
BLAKE2b-256 checksum How to use checksums |
5d1ce6c478fbfc4737f8d194bdffd572116a47abe07399cb85782be8fa76d9f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / gif2ascii-0.1.4-py3-none-any.whl
| Download URL | gif2ascii-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
635e86e200559fe67b92a3ab4441e6a95d70928e9f81a4e0909e706db887af5b
|
|
BLAKE2b-256 checksum How to use checksums |
5715c1a11597128b49ec856b1df660a332cf113a38f3da997e28ca5bca5ef679
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for gif2ascii 0.1.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.