Python package for printing a nicely formatted header.
Project description
header-printer
Python package for printing a nicely formatted header.
Installation
Run the following command to install:
pip install header-printer
Usage
In you script import and use function print_header
.
from header_printer import print_header
print_header('Some text')
Header will be stretched to the full length of the terminal. The provided text will be centered.
********************************************
Some text
********************************************
Development
To install all dependencies required for local development, run:
make install-dev
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
header-printer-0.0.7.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file header-printer-0.0.7.tar.gz
.
File metadata
- Download URL: header-printer-0.0.7.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aac9a2a847028393aca1c93e152094842f4544a536e8355fb059825843b5f726 |
|
MD5 | 6769149081e592107959f34dc62d266d |
|
BLAKE2b-256 | 88e9c7c88fda840302c959eeae31067ffa493342357d6b68286c9c60a42ffa90 |
File details
Details for the file header_printer-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: header_printer-0.0.7-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d8773b1ba9c6c68a39531c9ecad82f9973c0e21fb93300cb21f36f98e8eab3 |
|
MD5 | d5d427b05e9ee2c4e341a1360cd16421 |
|
BLAKE2b-256 | 73dd013d75fb01fdb1414ca1f494198d6a6cae1430e5d465cbad1805027e4a69 |