Skip to main content

PyPrintPlus

A better way of printing logs in Python.

Want to support the development and stay updated?

Become a Patreon Donate using Liberapay

Installation

pip install pyprintplus

Functions

print()

Print a message together with the current file and time (or runtime).

Example:

from pyprintplus import Log

Log().print(text='Email sent',filename='send_email.py')

Input options:

text = str filename = str (default: None) script_started_time = int (UNIXtime, default: None)

show_message()

Show a message in a speech bubble, making it more engaging for real humans.

Example:

from pyprintplus import Log

Log().show_message(text='Hello! Lets setup your new website!')

Input options:

text = str

show_messages()

Show one or multiple messages automatically in a speech bubble, one after the other, after a few seconds delay.

Example:

from pyprintplus import Log

Log().show_messages(list_messages=['Email was sent.','What do you want to do next?'])

Input options:

list_messages = list

Metadata

Release files for pyprintplus 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyprintplus 1.0.4
File Size Uploaded
pyprintplus-1.0.4.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyprintplus 1.0.4
File Interpreter ABI Platform
pyprintplus-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / pyprintplus-1.0.4.tar.gz

Download URL pyprintplus-1.0.4.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5dbacc9a0c987a1ee5c7274794a4529d39326c62a0501f1ad5fa539bde0e7fd1
BLAKE2b-256 checksum
How to use checksums
fba851120e3b817d809ff14611739ef6cbfd22e61cd72e16bfa7927abddce7a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / pyprintplus-1.0.4-py3-none-any.whl

Download URL pyprintplus-1.0.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ece1f29794ed6bedd4ce52621d61533dcccdd2bced50c55a18dc0e139d8dd9f5
BLAKE2b-256 checksum
How to use checksums
d4e83d3daef524d28e9b26153eac3d044c22f4ed249ca783a94fc0d9571f1ff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page