Skip to main content

ansi to plain text converter

Project description

ansi2txt

ansi to plain text converter

Related

Here are some related projects

Acknowledgements

This code base is a translation/port of the ansi2txt.c code base from colorized-logs to Python3 and Bash. This project came about because I liked the original ansi2txt's output but did not want to have to compile it or ship binaries around. I ported ansi2txt.c → ansi2txt.py but then came across an environment without python so went ansi2txt.py → ansi2txt.sh.

License

AGPLv3 AND MIT

Running Tests

To run tests, run the following command

bats ansi2txt.bats

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

ansi2txt-0.2.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

ansi2txt-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file ansi2txt-0.2.0.tar.gz.

File metadata

  • Download URL: ansi2txt-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.12

File hashes

Hashes for ansi2txt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0b3a2ace8ede8ef9c8729e723a632cec6964e743ac0b53a8c27fc0a06aef8dac
MD5 3ad40da9a44cee6228b73ce0cc7c94b5
BLAKE2b-256 d7146fd3639e976a29b84e8b2508388b96559771cbb31ac75b92ec2790022dec

See more details on using hashes here.

File details

Details for the file ansi2txt-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ansi2txt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.12

File hashes

Hashes for ansi2txt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57a5d48671b3e577fa9d98329232f7a34fde17cd75e3721debd1abf72e2dad9a
MD5 550f0fa3c1148c6268d717e703f0e959
BLAKE2b-256 1a2b0aefb3839ee24351ac5f3449895a5e8218af71cddc1945ec9af2eab2d612

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