Skip to main content

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.

Release files for PrettyPrints 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PrettyPrints 2.0.2
File Size Uploaded
PrettyPrints-2.0.2.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PrettyPrints 2.0.2
File Interpreter ABI Platform
PrettyPrints-2.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / PrettyPrints-2.0.2.tar.gz

Download URL PrettyPrints-2.0.2.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
151b15624e5c45c22a091e1c7a0cfde1bf6a5c01251eff2a668a083135bbd34f
BLAKE2b-256 checksum
How to use checksums
6c1253bfa58fc0c9506b36cdc4e07277b24336c5ebc8413d462acca1ce7f04b8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / PrettyPrints-2.0.2-py3-none-any.whl

Download URL PrettyPrints-2.0.2-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caf16933a656fb1651b86dd43a78a55bac92fdb206ef2bbb88929ddc1a63e564
BLAKE2b-256 checksum
How to use checksums
71b89c4ba7154be60113d9071972c5029be0cdf1d2cf695b8842bb54075852a2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page