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

Uploaded Source

Built Distribution

psprint-1!1.3.1-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psprint-1!1.3.1.tar.gz
  • Upload date:
  • Size: 72.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for psprint-1!1.3.1.tar.gz
Algorithm Hash digest
SHA256 634faa55d2af219c4bc9d9286de1b225ad50417db57ab3daa5b9eebc524e3c0f
MD5 60515470ae42f1ec9c1189b0ce2fbbf8
BLAKE2b-256 abc297599aa2255995fc5fbd1256ff689078ad6ba6a0669a499bb923691eef5c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psprint-1!1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for psprint-1!1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd59d6949dba1017f4afd42c6665ea6259b20ea9e86a5cbe54016ffccfb05106
MD5 f5684d4e7ded75ca109fa450e442829d
BLAKE2b-256 ec10362837eff30f302009303bd4812b238b6376f3f712c3991f58bc84b182cf

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