Skip to main content

psprint - Prompt String Print

Project description

Gist

Source Code Repository

source Repository

Badges

Documentation Status tests 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

screenshot

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.0.4.tar.gz (64.2 kB view details)

Uploaded Source

Built Distribution

psprint-1!1.0.4-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psprint-1!1.0.4.tar.gz
  • Upload date:
  • Size: 64.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 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.0.4.tar.gz
Algorithm Hash digest
SHA256 6eaa6fff89dd47cdd05a9c4866267da64015bffe645e0a72767908952ca3ad14
MD5 5366d6b9414f0221a122a26b2a86d897
BLAKE2b-256 eaf347433c138e20956046af550b3222ccd512150ed9c9d6523476914c1ee8c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psprint-1!1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 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.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 52c2047d1ff5205cd4a45af95716161ff349c1fb3e891565e2440ec8aade72bc
MD5 b5fee1d96d6c08467300b9023594c53e
BLAKE2b-256 2c15f4c0b065f1bc7ece2d95ebea8a0279e0d1a571d21c53395661a2ba0388f2

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