Skip to main content

psprint - Prompt String Print

Project description

Description

Prompt-String-like Print.

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

Documentation

Documentation Status

Source Code

source Repository

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

Uploaded Source

Built Distribution

psprint-21.2.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file psprint-21.2.1.tar.gz.

File metadata

  • Download URL: psprint-21.2.1.tar.gz
  • Upload date:
  • Size: 41.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for psprint-21.2.1.tar.gz
Algorithm Hash digest
SHA256 e9e573fe5bdbc2b3d282f525ff71bd4c80a40b565b2869488e16a97b75acdd2c
MD5 b4b5810e685c9c765073044d5093a5da
BLAKE2b-256 d860d8a0acd09f49c5a91431f4a608ba6fd49ce4e8709c0c57cbb9abb0eda4a5

See more details on using hashes here.

File details

Details for the file psprint-21.2.1-py3-none-any.whl.

File metadata

  • Download URL: psprint-21.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for psprint-21.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e509bc9152e10b9889f9584837919361dc3163eec829f4f594bb43a05ffb828
MD5 5e2b01ee57b07fdfdc0db4062dd5e538
BLAKE2b-256 48df44194177de88eb7c5dcbf8e14932348499c15933c804448797f66b7839d4

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