Skip to main content

term2md

This is a text processing utility that will convert input containing ANSI escape sequences into nearly-equivalent Markdown.

This is not currently a universal converter, since Markdown cannot express all of the formatting possible with the ANSI control characters. However, it does a reasonable job of handling green, red, and bold text.

term2md was written originally so that output from a tool designed for terminal output could be added via continuous integration as comments on pull requests.

Installation

$ pip install term2md

In addition to installing the core Python module, it will also install a term2md executable script for you.

Release files for term2md 0.3.4

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

Source distribution (sdist)

Source distribution for term2md 0.3.4
File Size Uploaded
term2md-0.3.4.tar.gz 3.5 kB Details

Release files / term2md-0.3.4.tar.gz

Download URL term2md-0.3.4.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
da0d2732dd7d18ba9e2a53a7bcfcbeeb1626f74e75b4c70e7f19df85d96aa2bf
BLAKE2b-256 checksum
How to use checksums
dae3db5d11c92b1364d39a9f0708ba8a9f5819e15820dc9ab6ee41f37dd23564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.3.4 This release

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

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