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

Uploaded Source

Built Distribution

psprint-1!1.3.3-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psprint-1!1.3.3.tar.gz
  • Upload date:
  • Size: 51.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.2.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.13

File hashes

Hashes for psprint-1!1.3.3.tar.gz
Algorithm Hash digest
SHA256 54fd68c626e86c48b8a68526777e977ece9e72f9df6d8b4eab17d0ae2e88f12f
MD5 8699f7ab823d969ac696d74185b6b500
BLAKE2b-256 c0db7dd7a6c03698006b265159dcde1c0a1da6669eb255680f8bfb89fef153a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psprint-1!1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.2.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.13

File hashes

Hashes for psprint-1!1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 33baf96128445d55cd70afd81a6745449efa164c9c32e8604697d9d1fc2de0d2
MD5 4b5a8b376bf64afdf7b8d2a18b6feefa
BLAKE2b-256 727e03ed5f5b756db3ef01e55be38aad65dd2383614d46e33bb2b4c48a3e4984

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