euporie.core.convert.formats.ansi
Contain functions which convert data to formatted ansi text.
Functions
|
Call the command as a subprocess and return it's output as bytes. |
|
Return the ceiling of x as an Integral. |
|
Convert image data to ANSI text using chafa. |
|
Convert image data to ANSI text using ::chafa.py. |
|
Verify a list of external commands exist on the system. |
|
Get the current active (running) Application. |
|
Verify a list of python modules are importable. |
|
Convert HTML text to formatted ANSI using elinks. |
|
Convert HTML text to formatted ANSI using links. |
|
Convert HTML text to formatted ANSI using lynx. |
|
Convert HTML tables to ANSI text using |
|
Convert HTML text to formatted ANSI using w3m. |
|
Convert image data to ANSI text using catimg. |
|
Convert image data to ANSI text using icat. |
|
Convert image data to ANSI text using jp2a. |
|
Convert image data to ANSI text using timg. |
|
Convert image data to ANSI text using tiv. |
|
Convert image data to ANSI text using viu. |
|
Convert LaTeX to ANSI using |
|
Convert LaTeX to ANSI using |
|
Convert LaTeX to ANSI using |
|
Render LaTeX maths as unicode. |
|
Convert a PIL image to ANSI text using |
|
Convert a PIL image to ANSI text using |
|
Convert PNG data to ANSI text using img2txt. |
|
Draw placeholder ANSI text. |
|
Add a converter to the centralized format conversion system. |
|
Convert rich objects to formatted ANSI text. |
|
Remove the alpha channel from an image and set the background colour. |
Classes
partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords. |
- async euporie.core.convert.formats.ansi.html_to_ansi_elinks(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert HTML text to formatted ANSI using elinks.
- async euporie.core.convert.formats.ansi.html_to_ansi_links(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert HTML text to formatted ANSI using links.
- async euporie.core.convert.formats.ansi.html_to_ansi_lynx(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert HTML text to formatted ANSI using lynx.
- async euporie.core.convert.formats.ansi.html_to_ansi_py_htmlparser(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert HTML tables to ANSI text using
HTMLParser
.
- async euporie.core.convert.formats.ansi.html_to_ansi_w3m(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert HTML text to formatted ANSI using w3m.
- async euporie.core.convert.formats.ansi.image_to_ansi_catimg(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert image data to ANSI text using catimg.
- async euporie.core.convert.formats.ansi.image_to_ansi_icat(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert image data to ANSI text using icat.
- async euporie.core.convert.formats.ansi.image_to_ansi_jp2a(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert image data to ANSI text using jp2a.
- async euporie.core.convert.formats.ansi.image_to_ansi_timg(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert image data to ANSI text using timg.
- async euporie.core.convert.formats.ansi.image_to_ansi_tiv(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert image data to ANSI text using tiv.
- async euporie.core.convert.formats.ansi.image_to_ansi_viu(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert image data to ANSI text using viu.
- async euporie.core.convert.formats.ansi.latex_to_ansi_py_flatlatex(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert LaTeX to ANSI using
flatlatex
.
- async euporie.core.convert.formats.ansi.latex_to_ansi_py_pylatexenc(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert LaTeX to ANSI using
pylatexenc
.
- async euporie.core.convert.formats.ansi.latex_to_ansi_py_sympy(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert LaTeX to ANSI using
sympy
.
- async euporie.core.convert.formats.ansi.latex_to_ansi_utftex(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Render LaTeX maths as unicode.
- async euporie.core.convert.formats.ansi.pil_to_ansi_py_img2unicode(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert a PIL image to ANSI text using
img2unicode
.
- async euporie.core.convert.formats.ansi.pil_to_ansi_py_timg(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert a PIL image to ANSI text using
timg
.
- async euporie.core.convert.formats.ansi.png_to_ansi_img2txt(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str
Convert PNG data to ANSI text using img2txt.