Skip to main content

The lazy way for pretty print spacings.

Project description

PrettyPrints

A must-have for all lazy python enthusiasts who wants pretty prints in the terminal window!

Is what I would like to say, but to be real, I am probably the only one who gets annoyed at ugly prints from my python script when I resize my terminal window.

This python package is 100% more work than what is worth.

Installation

  • Install with pip
pip install git+https://github.com/salhol/prettyprints.git#egg=PrettyPrints
  • Install with setup.py
cd C:\Users\user\Downloads\PrettyPrints\
setup.py install
  • Install with pip from PyPi
pip install PrettyPrints

Features

  • Print spacings that will always be the same width as your terminal window
  • Print centered text
  • Bragging rights to your friends that you wasted time on this

How to use

from PrettyPrints import *
print(TW())
Dashed()
Dotted()
Equal()
Squared()
Spacing()
Spacing("*")
Centered("Text to center")
Centered("Text to center with dots",".")

Screenshot of example


Please note that I suck at coding, therefore, continue at your own risk.

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

PrettyPrints-2.0.2.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

PrettyPrints-2.0.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file PrettyPrints-2.0.2.tar.gz.

File metadata

  • Download URL: PrettyPrints-2.0.2.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for PrettyPrints-2.0.2.tar.gz
Algorithm Hash digest
SHA256 151b15624e5c45c22a091e1c7a0cfde1bf6a5c01251eff2a668a083135bbd34f
MD5 cfe680c9f03db033140fa170fc76acef
BLAKE2b-256 6c1253bfa58fc0c9506b36cdc4e07277b24336c5ebc8413d462acca1ce7f04b8

See more details on using hashes here.

File details

Details for the file PrettyPrints-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: PrettyPrints-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for PrettyPrints-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 caf16933a656fb1651b86dd43a78a55bac92fdb206ef2bbb88929ddc1a63e564
MD5 8de1c739fe5c65d7c7d2c6b7c7b415c7
BLAKE2b-256 71b89c4ba7154be60113d9071972c5029be0cdf1d2cf695b8842bb54075852a2

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