Skip to main content

psprint - Prompt String Print

Project description

Gist

Source Code Repository

source Repository

pages Documentation

Badges

Pipeline Coverage PyPI - version PyPI - format PyPi - pyversion

Description

Prompt-String-like Print.

[ INFO ] Print statements with a flexible descriptor prefix for better readability.

What does it do

#!/usr/bin/env python3
# -*- coding: utf-8; mode: python; -*-

print()
print("*** WITHOUT PSPRINT ***")
print("An output statement which informs the user")
print("This statement requests the user to act")
print("A debugging output useless to the user")
print()

from psprint import print
print()
print("*** WITH PSPRINT ***")
print("An output statement which informs the user", mark=1)
print("This statement requests the user to act", mark=2)
print("A debugging output useless to the user", mark='bug')
print ()

Screenshot:

screenshot

With extensive personalization on-the-fly and through configuration files

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

psprint-1!1.2.5.tar.gz (74.3 kB view details)

Uploaded Source

Built Distribution

psprint-1!1.2.5-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file psprint-1!1.2.5.tar.gz.

File metadata

  • Download URL: psprint-1!1.2.5.tar.gz
  • Upload date:
  • Size: 74.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for psprint-1!1.2.5.tar.gz
Algorithm Hash digest
SHA256 b98c196a037638712b0ddada706b1f0ac6cedbb9a834fe3fe9af82a9dae82313
MD5 b7c357ccb11cd84d0adc2f6307bde906
BLAKE2b-256 39120bef2bf041f78d35934766627dfac42bb9b7f8228e2adcd2f2d8954a60a9

See more details on using hashes here.

File details

Details for the file psprint-1!1.2.5-py3-none-any.whl.

File metadata

  • Download URL: psprint-1!1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for psprint-1!1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a795f7115a792bb7da1046e5d23b61489ce0880a5b27f1ce9005008e0e5197
MD5 77b9e7452b1acd9e6f424a49ea44a5be
BLAKE2b-256 545f8be2d06547d0b7b60da5962399485a1757f396deaa93bc5c4589e6cf931c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page