Skip to main content

inkline-py

Overview

Display colorized ASCII art and info directly in the terminal.

How to use

To use this pypi, add it as a dependency in your pyproject.toml:

dependencies = [
    "chromakitx>=1.0.5",
    "inkline>=1.0.5"
]

Example code:

from inkline import (AsciiArt, InfoConfig)

from chromakitx import AnsiColor

logo: str = """
{2}            .:--::////::--.`
{1}        `/yNMMNho{2}////////////:.
{1}      `+NMMMMMMMMmy{2}/////////////:`
{0}    `-:::{1}ohNMMMMMMMNy{2}/////////////:`
{0}   .::::::::{1}odMMMMMMMNy{2}/////////////-
{0}  -:::::::::::{1}/hMMMMMMMmo{2}////////////-
{0} .::::::::::::::{1}oMMMMMMMMh{2}////////////-
{0}`:::::::::::::{1}/dMMMMMMMMMMNo{2}///////////`
{0}-::::::::::::{1}sMMMMMMmMMMMMMMy{2}//////////-
{0}-::::::::::{1}/dMMMMMMs{0}:{1}+NMMMMMMd{2}/////////:
{0}-:::::::::{1}+NMMMMMm/{0}:::{1}/dMMMMMMm+{2}///////:
{0}-::::::::{1}sMMMMMMh{0}:::::::{1}dMMMMMMm+{2}//////-
{0}`:::::::{1}sMMMMMMy{0}:::::::::{1}dMMMMMMm+{2}/////`
{0} .:::::{1}sMMMMMMs{0}:::::::::::{1}mMMMMMMd{2}////-
{0}  -:::{1}sMMMMMMy{0}::::::::::::{1}/NMMMMMMh{2}//-
{0}   .:{1}+MMMMMMd{0}::::::::::::::{1}oMMMMMMMo{2}-
{1}    `yMMMMMN/{0}:::::::::::::::{1}hMMMMMh.
{1}      -yMMMo{0}::::::::::::::::{1}/MMMy-
{1}        `/s{0}::::::::::::::::::{1}o/`
{0}            ``.---::::---..`
"""

art: AsciiArt = AsciiArt(text=logo, colors=[
    AnsiColor.BrightCyan,
    AnsiColor.BrightBlue,
    AnsiColor.BrightMagenta
], bold=True, info=InfoConfig(
    lines=["Hello World!", "This is Inkline.", "Made with ❤️ in Python.", "Developer: CELESTIFYX Team"]
))

print(art.render())

Result

screenshot

Metadata

Release files for inkline 1.0.5

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

Built distribution (wheel)

Table of built distributions (wheels) for inkline 1.0.5
File Interpreter ABI Platform Actions
inkline-1.0.5-py3-none-any.whl Python 3 none any Details for inkline-1.0.5-py3-none-any.whl

Release files / inkline-1.0.5-py3-none-any.whl

Download URL inkline-1.0.5-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3046e665a69c3e04cfed8d25a135c29e8db900e80fe86f28bc970206e7bbced
BLAKE2b-256 checksum
How to use checksums
46a80b05664ea910ee7a5960be391edb28576301db10a0679e897f35aaa911be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for inkline 1.0.5

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