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

Uploaded Source

Built Distribution

psprint-1!1.3.4-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psprint-1!1.3.4.tar.gz
  • Upload date:
  • Size: 75.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.15

File hashes

Hashes for psprint-1!1.3.4.tar.gz
Algorithm Hash digest
SHA256 831a7077e8155155d87f119f2f79a4a46b5d3102959173cc02574bb237a9f524
MD5 11933c7be6a43f4cd49f3049996027f0
BLAKE2b-256 2da3050c8143a434dde21901167fd5639c4aa29b9ee143b220e78ba74636afdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psprint-1!1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.15

File hashes

Hashes for psprint-1!1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cdf0c4d397068dc4bf805bce2cc24e4449d5274185b534dedf8a35eb84b78c0f
MD5 6af022aad72472df8d31bc64a7dff684
BLAKE2b-256 1efe3624c4ae5734d98ec1a00652883bbb2ae80554197e490b9c7ec24184fcb4

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