Skip to main content

print_msg module

Python 3.4, 3.5, 3.6, 3.7 pypi version requirements

wheel license commit activity goto counter

This module helps to print status messages in color depending on their content.

Installation:

Github:

  1. $ git clone https://github.com/shvetsovdmitry/print-msg/
  2. $ cd print-msg/
  3. $ python3 setup.py sdist
  4. $ cd dist/
  5. $ sudo pip install print_msg-0.9.3.tar.gz

pip:

$ sudo pip install print-msg

Using:

import print_msg

print_msg(status='%status_code%', msg='%message%', end='%optional%')

Status codes:

  • 'ok' -> [--OK--] %Message%;
  • 'error' -> [-ERROR-] %Message%;
  • 'status' -> [STATUS] %Message%;
  • 'time' -> [-TIME-] Execution time -> %time%;

Metadata

Release files for print-msg 0.9.4.2

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

Source distribution (sdist)

Source distribution for print-msg 0.9.4.2
File Size Uploaded
print_msg-0.9.4.2.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for print-msg 0.9.4.2
File Interpreter ABI Platform
print_msg-0.9.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release history Release notifications | RSS feed

This release

0.9.4.2 This release

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