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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: psprint-1!1.0.3.tar.gz
  • Upload date:
  • Size: 64.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for psprint-1!1.0.3.tar.gz
Algorithm Hash digest
SHA256 dbf6b17bf41511d32173afb40e5d1935dcd859aa5e702448a3ef32493bc76f62
MD5 29bbc96efaf092ab9f3a5817e9b3a9ab
BLAKE2b-256 9d4c6b8190aac7c0839fb3d626f35ee9806d304acac0cd8c7a4c5f0e2bf3b49f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psprint-1!1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for psprint-1!1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 403c9b8da81689f4c425ffaf9b50f13fc37ddfbe363b3f2be3d7a96ebbfbb48a
MD5 6f551e9daf7f1d57b6f89a30608c3fae
BLAKE2b-256 6d4db843bf775acaaad01bb4f756ee285fd17703253dacc0db99564cf687291c

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