- Creates customisable ASCII title cards
- Python 3.x
- Install all dependencies from the requirements.txt file.
pip3 install -r requirements.txt
- Copy title_generator.py into your project.
- Create an object specifying input parameters.
- To access the ASCII title, use the 'title' attribute.
Param | Purpose | Default |
---|---|---|
text | Text used for the title card | N/A |
font | Available Fonts | 'big' |
width | Character length that the title wraps at | '79' |
justify | Align 'left', 'center' or 'right' | 'left' |
author | Program/script author | (blank) |
target | Which line displays the author. Value is 'n' from last | '2' |
from title_generator import TitleGen
title_obj = TitleGen(text="Project Name", author="Primus27", target=3)
print(title_obj.title)
- Title generator
- Ability to add author to title