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 details)

Uploaded Source

File details

Details for the file pybanner-1.0.0.tar.gz.

File metadata

  • Download URL: pybanner-1.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for pybanner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a78e6b91ea28089e79c35988e4f5a733097708d852400daca5ab47626ed55be5
MD5 c8dfcd91f1057b7c109ccfc3c1c71316
BLAKE2b-256 50b8f902f2cc9209985402316e6b9fa492db2b70f4c69057bfbb8404eb83efea

See more details on using hashes here.

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