Skip to main content

A simple, fast, dependencyless and intuitive library for creating boxes in the console 🎁

Project description

Boxen

PyPI - Downloads PyPI - License PyPI GitHub Sponsors GitHub repo size

A simple, fast, dependencyless and intuitive library for creating boxes in console 🎁

Installation

uv pip install boxen-python

Usage

from boxen import boxen

print(
    boxen(
        "Hello, World!",
        options={
            "padding": 3,
            "borderStyle": "double",
            "borderColor": "red",
            "dimBorder": False,
            "textAlignment": "center",
            "float": "center",
            "titleAlignment": "center",
        },
    )
)
# These are only few options, there are many more options available

Preview (A single image for now, there are several options for customization)

image

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

boxen_python-0.1.2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

boxen_python-0.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file boxen_python-0.1.2.tar.gz.

File metadata

  • Download URL: boxen_python-0.1.2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for boxen_python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5f338e58814e766827300022083b794869cbaa0ad6682f5ba6a841c7da8c5331
MD5 37a9939af7f632dedca1e2907d3452da
BLAKE2b-256 242ae1f22b5c54d961f332aa4c7e41b0397cfdc430a1e1ced463ca3782fbb1d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for boxen_python-0.1.2.tar.gz:

Publisher: publish.yml on itsmeadarsh2008/boxen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file boxen_python-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: boxen_python-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for boxen_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f58a96e9b47a8a9e280510e60eae321b2a5f7cdb3df35329a54c7d4017deacc4
MD5 0451d90b858ed5e23cee071ac5025b5a
BLAKE2b-256 8691f46203771556872684f029f925a1ca5ac870023fd15ff29fe3b964c31678

See more details on using hashes here.

Provenance

The following attestation bundles were made for boxen_python-0.1.2-py3-none-any.whl:

Publisher: publish.yml on itsmeadarsh2008/boxen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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