Skip to main content

Create titles for command-line tools easily.

Project description

TitlesArt

TitlesArt is a Python library that makes it easy to create artistic titles for command-line tools. With this library, you can convert text into visually appealing ASCII art, which can be used as headers or titles in your terminal-based applications.

Installation

To use TitlesArt, you can install it directly in your Python environment. If you're using a virtual environment (which is highly recommended), install the dependencies by running:

pip install -r requirements.txt
pip install titlesart

Usage

1. Importing the Library:

You can use the library by importing the titles_art module and calling the appropriate functions.

from titles_art import main

# Text you want to convert into ASCII art
text = "HELLO WORLD"

# Convert the text into its ASCII art representation
ascii_art = main.textToCol(text)

# Print the ASCII art
main.printText(ascii_art)

2. Available Functions:

  • textToCol(text): Converts the input text into a list of ASCII art representations.
  • printText(text_arrays): Prints the ASCII art in a readable format on the console.

Example

Here is a simple example of how to use the library to create and print a title:

from titles_art import main

text = "hello world"
ascii_art = main.textToCol(text)
main.printText(ascii_art)

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature: git checkout -b new-feature.
  3. Make your changes and commit them: git commit -am 'Add new feature'.
  4. Push to your forked repository: git push origin new-feature.
  5. Open a Pull Request to propose your changes.

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

titlesart-1.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

TitlesArt-1.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file titlesart-1.0.2.tar.gz.

File metadata

  • Download URL: titlesart-1.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for titlesart-1.0.2.tar.gz
Algorithm Hash digest
SHA256 367eef1ec66c59c403331ac1fcb5d257f156f169b21a2c2124436618a180befc
MD5 0c4e59c5e23beab22e9396ceb3b48c16
BLAKE2b-256 3493a54e0c8b21c1fb3f5b71ef17c4a2468f6f4ea5c94c370f2decba323f9b17

See more details on using hashes here.

File details

Details for the file TitlesArt-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: TitlesArt-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for TitlesArt-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e0cd8261e2c99d80b7538e9f52b8e0755901eb5d4196bf8009f48b4f0bb3dea
MD5 2ceda073419c4975cc2039627dcaacc3
BLAKE2b-256 d405d3b67fe42bd8469cbcfab0269c8ccd4dc83bf2f546c83f8969234496793f

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