Skip to main content

A small and lightweight library for Python 3.x and PyPy3 to print texts as banners. No Figlet needed, it's Pure Python!

Project description

pybanner v1.0.0

A small and lightweight library for Python 3.x and PyPy3 to print texts as banners. No Figlet needed, it's Pure Python!

For a while, only 2 fonts are converted:

  • clr5x6.flf
  • clr6x6.flf
  • More fonts are coming...

Installation

pip install pybanner

Usage

from pybanner import banner5x6, banner6x6

banner5x6.print("FONT5x6") # default spacing 1 between letters
print("")
banner6x6.print("FONT6x6") # default spacing 1 between letters
print("")
banner6x6.print("FONT6x6 SPACING 0",spacing=0)

Output:

 ####   ##   #  # #####  ####         ##
 #     #  #  ## #   #    #     #  #  #
 ###   #  #  # ##   #    ###    ##   ###
 #     #  #  #  #   #       #   ##   #  #
 #      ##   #  #   #    ###   #  #   ##

 #####   ###   #   #  #####   ###           ###
 #      #   #  ##  #    #    #      #  #   #
 ####   #   #  # # #    #    ####    ##    ####
 #      #   #  #  ##    #    #   #   ##    #   #
 #       ###   #   #    #     ###   #  #    ###

 #####  ###  #   # #####  ###         ###         #### ####    #    ###   ###  #   #  ####        ###
 #     #   # ##  #   #   #     #  #  #           #     #   #  # #  #   #   #   ##  # #           #  ##
 ####  #   # # # #   #   ####   ##   ####         ###  ####  #   # #       #   # # # #  ##       # # #
 #     #   # #  ##   #   #   #  ##   #   #           # #     ##### #   #   #   #  ## #   #       ##  #
 #      ###  #   #   #    ###  #  #   ###        ####  #     #   #  ###   ###  #   #  ####        ###

Sugestions, request of new fonts, feedbacks, bugs...

Open an issue or e-mail me: ricardoabuchaim at gmail.com

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybanner-1.0.0.tar.gz (8.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page