Skip to main content

Classic Unix banner command on steroids with TTF support as shared library.

Project description

▙▄▄                ▗▟█▙  ▟█▙    ▐▄▄              ▄▄▄▄▄▄▄▄▄█             ▗█    ▙▄▖
▜██████████▄▖        ▀    ▀ ▗█  ▝█████████▙▄ ▗▟██████████▀▚▖   ▗▄█████████▛   ▜█████████▙▄
█▙▄▀▀▀▀▀▀█████▖  ▗▄███████████  █▄▄▀▀▀▀▜█████ ████▀     ▗███▌ ▟██████▀▀▀▀▄▄█▌ █▙▄▛▀▀▀▀▜████▌
████      ▟███▌ ▟████▀   ▀▀▀▀▄▌ ████     ████ ████▖     ▐███▌ ████▀    ▄████▌ ████     ▐███▌
██████████████  ████      ▐███▌ ████     ████ ▝█████████████▌ ██████████████▌ ████▄▄▄▄▄▟███▌
████     ▝▜███▌ ████      ▐███▌ ████     ████    ▀▀▘    ▀███▌ ████▙▖     ▄▄▄  ████████████▀
████      ▟███▌ ████▖     ▟███▌ ████     ████  ▄▄        ███▘ ▝▜████████████  ████  ▝███▙
██████████████  ▝█████████████▌ ▄▄▄▄     ▄▄▄▄   ▜▄▄▄▟███████    ▝▀▀▀▀▀▀▀▀▀▀▘  ████    ▜███▖
▀▀▀▀▀▀▀▀▀▀▀▀▀     ▀▀▀▀▀▀▀▀▝▀▀▀▘ ▝▘▝▘     ▝▘▝▘  ▐█▀▀▀▀▀▀▀▀▀▀                   ▀▀▀▀     ▝▀▀▀▘
                                               ▝              *** LUBRARY ***

What it is?

Bänger (pronounced just banger) is a modern tribute to the classic Unix banner command line utility that produces text banners, with additional features added a top: multiple built-in ASCII character set and support for rendering any TTF/OTF font with Unicode! This package contains the main functionality of the tool in form of a Python library, which can be used to create banners in your own Python code.

Command line tool (banger)

If you are looking for the command line tool instead, see the banger project.

Examples

from banger_lib import Banger

banger = Banger(font="fire")
banger.add_text("Hello World")
output = banger.render()

License

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

banger_lib-1.2.0.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

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

banger_lib-1.2.0-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file banger_lib-1.2.0.tar.gz.

File metadata

  • Download URL: banger_lib-1.2.0.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for banger_lib-1.2.0.tar.gz
Algorithm Hash digest
SHA256 842c84ab2873b37ecc68fedf75677e36874c0bfb0f1419cf2dad4fb28f832721
MD5 039540a6d00119cf065351ad288264ae
BLAKE2b-256 bee2451f2802f1a572bfb57067141b79e9480e937495eb0022ac02d380aea84e

See more details on using hashes here.

File details

Details for the file banger_lib-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: banger_lib-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for banger_lib-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a54661f5ddb59da0962233ee546c0201a93816b3eb6c1ad034950c315454ba25
MD5 2391fa78be9b123a3738be37cf2f9a6e
BLAKE2b-256 9d07083756ed13dc3d534448c01de8e756e0e021a8e4f9b0e64b1e246a6a6c51

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