Skip to main content

about

ascii .txt image rendering with python *i use this to make ascii drawings on my page lol

installation

WORKS IN WSL2 and DEBIAN/UBUNTU *NIX

using pip

pip install ascii-img-stuff

# the python binary is installed to $HOME/.local/bin/ascii
# run the ascii command and fill in the details it asks for
ascii

using git

git clone "https://github.com/hashirkz/ascii_stuff"
cd ascii_stuff
./setup.sh

# installs python program to ~/.local/bin/ascii
ascii

example

sleepyzzz:/mnt/c/users/hashi/documents/ascii_stuff$ ascii
path to img: ./imgs/pfp.jpg
height for .txt file: 40
invert y/n: n
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::.::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::-:::::::::::::::::::::::::::::::..:::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::--:::..................:.::::::::..::........:::::::::::::::::::
::::::::::::::::::::::::::::::::::::............::::::::.............................:::::::::::::::
:::::::::::::::::::::::::::..:...:...::::.....:..:::::::::...................:::::......::::::::::::
:::::::::::::::::::::::::..::...::..::::::::...::::::::::.......::..........:::::::::...::::-:::::::
::::::::::::::::::::::....:::..::..:::::::::::::...::.:.........::::...... .:::::::::::...::::::::::
:::::---::----:::::......::::..::..:::::::::::::....:..............:::......::::::::::---:.:::::::::
::::----------:...::....::::..::::::::::::::::::.....::............:::...::::--:---=------....::::::
::::::------::..::-:...:::::..:::::::::::::::.::......::.::...::.::::::....::::.:--=-==--:..:..:::::
:::::::::::.....:::..:---:::..:::::::::::::::.::..:....:..:...:::::..::....:.....:::---:::...:.:::::
:::::::..............::-::::.::::::::::::::.......::..............   .::..:..:. .....::::::....:::::
:::........::..............:..::::::::::::......::::........          .:..:..:..........:::.........
:::::...::::::............:::..:..:::::::..:...:::::...                ..:................:::-:.....
::::..::::::::::::.......::::.....:::::::.:..:::..                       ..................:::::...:
:...:::::::::::.:::....:::::......::::::....                    ..        .::.................:::...
..:::::::::::----::..:.:::..............                       ...         ....:.........:...:::::..
::::::::-------==:::::.:::.......                              ..      ........:....................
::::::.:---------:::::::....                      .              .......::.....:....................
::......::::-::::::.....                                    ..:..:::....::.....:....:::.....::......
...::::::::....::..                      .            ...::.:::.::.....:::..:... .:..:::........::::
:::::::::......:::.       ..          .  ..      ...::::::::::..:......:::::......:..:::..:::::::...
:..........::..:::....    ..                ...:::::.......::...:::....:...  ......:.....:::::::::::
::........::..::...::.     ..          ....:::::...      .....::::..::.. ..   ...........:..........
::.....:::::.:::..:::.            ....::::::::::...   .......::::..:::.  ....   .......:::::::::::..
....::::::----::.::::...      .....:::::::::::::.............::::::::.    ..:.........::::::::::::::
:::::::::::::...::::...............:::::::::::::::........::::::::::...  ....::::.............::::::
:::::::... .....:........    .......::::::::::::::::...:::::::::::...::.  .....::::::::.............
.....:......::.::..:...   .. ........::::::::::::::::.:::::::::....:::::.  .................::::::::
::::.....:::::.....:.........::.............:::::::::::::::::....::::::::...................::::::::
:.....::::::::...............:::.....::...   ....    ..  ......::::::::::::.....::.........:::::::::
...::::::::::::..............:......:::....:::::::..     ..:::..:::::::::::::::.........::::::::::::
.:::::........::...::..............::...::::::::::::::.....::::.....:::::....:::::::::::::::::::::::
:::....::::::::..................:.....:::::::::::::::::::::::::::::::.....::::::::::::.............
.....:::::..........::................::::::::::::::::::::::::::::::::::::::::::::::.....  .. ...
. .:::::.....:::::::........::...... .::::::::::::::::::::::::::::::::::::::::::::...  .....  ....
...:::.....::::::::...::::::::...... .::::::::::::::::::::::::::::::::::::::::::..............     .
:.:::....::::::::.:::::::::::....:::..::::::::::::::::::::::.::::::::::::::::::.::::::::::.......  .
:.:::.. :::::::.:::::::::::....::::::..:::::::::::::::::::::..:::::---::----::.::.::::::::::::. ..

saved to: pfp.txt

Metadata

Release files for ascii-img-stuff 0.2.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 ascii-img-stuff 0.2.0
File Size Uploaded Provenance Actions
ascii_img_stuff-0.2.0.tar.gz 2.3 kB Without provenance Details for ascii_img_stuff-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ascii-img-stuff 0.2.0
File Interpreter ABI Platform Actions
ascii_img_stuff-0.2.0-py3-none-any.whl Python 3 none any Details for ascii_img_stuff-0.2.0-py3-none-any.whl

Total release size: 4.9 kB

Release files / ascii_img_stuff-0.2.0.tar.gz

Download URL ascii_img_stuff-0.2.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e3017a74d29579e3f92adb9423223d082b3143d94141a6dae735ae9a876a71a9
BLAKE2b-256 checksum
How to use checksums
932a117a9ca3f0b188b568f803b59f2c949fa804d6e5703a148c5849e498c79f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / ascii_img_stuff-0.2.0-py3-none-any.whl

Download URL ascii_img_stuff-0.2.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e69f10ccb703b9e3d9ec132bb582ef853abfcb08c5a4fae9cde6169dfabfc49
BLAKE2b-256 checksum
How to use checksums
9350d9b5de31863b90c6b845bc9d6fe010dbe8c6bf79c408f975b2b583e3577a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for ascii-img-stuff 0.2.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.

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.

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