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

Uploaded Source

Built Distribution

psprint-1!1.1.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psprint-1!1.1.0.tar.gz
  • Upload date:
  • Size: 65.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 a395de77b08aa42a61634efa71e93cc99ceed7e2e99a4890ea5c321b4c2b7d13
MD5 66ef988815def072a72280a5bccebdb2
BLAKE2b-256 c0dfbe0e8f31711ece32b225add12c3e4ba35ece974ab0daaf02db942231e14d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psprint-1!1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff0ec55ad4c2bafcafd787004ea2c07fa5d119970609dbd055aea9b2c51f9111
MD5 5d6803ffa5555ac4b5a8ec5b19fbf593
BLAKE2b-256 81a411bf04074d5ffade22c67b05c4defefa0d236248aa0897bfaaa37ae6e50c

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