Skip to main content

A small package for printing boxes

Project description

Boxprint

A small package to print boxes

Usage

from boxprint import bprint

bprint("hello world")
╭──────────────────────────────────────────────────────────────────────────────╮
│ Hello World                                                                  │
╰──────────────────────────────────────────────────────────────────────────────╯

Configurations

from boxprint import bprint, BoxTypes

"""
@param width
  Max width of the box
@param box_type
  The type of the box (LIGHT, HEAVY, DOUBLE, ROUND)
@param print_func
  The print function to use
"""
bprint("hello_world", width=40, box_type=BoxTypes.HEAVY, print_func=print)
bprint("Text\nWith\nMultiple\nLines")
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Hello World                          ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

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

boxprint-0.0.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

boxprint-0.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file boxprint-0.0.3.tar.gz.

File metadata

  • Download URL: boxprint-0.0.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.0

File hashes

Hashes for boxprint-0.0.3.tar.gz
Algorithm Hash digest
SHA256 880853aa303d02466c6a6b4b2781c5de7af178135a343e529a694c182fa6cf50
MD5 76632e0e1cc54936a49c0ab0dac81e51
BLAKE2b-256 15f47dbcb42ac8d1f73d15d04d02596ac4b58cff8a9fbcb461cd2aa3741ff487

See more details on using hashes here.

File details

Details for the file boxprint-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: boxprint-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.0

File hashes

Hashes for boxprint-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 338e9f91f4b718edfb41ab8a8d31677ed5cc4f632e2b99d540ca9a6f414073be
MD5 943fffb1321dafa7522dc9cc8b01170f
BLAKE2b-256 87ad8cd06656a1a7a1054ae9d788fe8fab7d3d00c8454bdd3bee0f0edc3f00e7

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