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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: psprint-1!1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 48745c69a4e29f410f228a0b07cd8c64ea313e2465907de006f9148a0c415422
MD5 b6178e49c5422136b202f5713b26c703
BLAKE2b-256 016345b351ba11a3def7a57d4697d52716159aa19f8651647dba82559b71d0ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psprint-1!1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6885f561a2114987ee8b89c5a7ac993551f08d4a3f4217290874c8cb14fd4951
MD5 c55af51a65461aacf64e3e27e8a477c5
BLAKE2b-256 e1fd05cf60b855eeec650e156fabed0874148c4a600634489b122929abf1424a

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