Skip to main content

pyconsole_util

The python console utility is a basic set of functions that print to the console in different formats for debugging, exploring, or printing nicely.

You can see some samples below and in the source code itself

alt text

util.startup(*args)

*args can be anything normally able to be printed with print()

When you are initializing variables, uploading to documents, setting up pins on a board, etc- use this to print out that those things are initializing.

Sends in yellow

util.title(*args)

*args can be anything normally able to be printed with print()

Whenever a new block of your code begins, use this block of code to display that.

Sends in white text with a green background

util.endline(*args)

*args can be anything normally able to be printed with print()

Whenever a block of code ends, use this to signal that

util.debug(*args, title=None)

*args can be anything normally able to be printed with print() title is an optional parameter that appears to the left of the location

Displays the absolute path to the file and the line number the function was called on, underlined. The other arguments will be printed out. All in red.

util.info(*arg)

*arg can be any object

Prints out all of the members of an object in teal, organizes dictionaries and arrays for print.

Release files for pyconsole-util 1.0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for pyconsole-util 1.0.1
File Interpreter ABI Platform
pyconsole_util-1.0.1-py3-none-any.whl Python 3 none any Details

Release files / pyconsole_util-1.0.1-py3-none-any.whl

Download URL pyconsole_util-1.0.1-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61932b40ce799c7b874fee561a63c121478e69aa985eb33c60bc3eb85a3f0ca5
BLAKE2b-256 checksum
How to use checksums
6c48db04d1f8c687bf7ef5fa059dd923740c0387920168588fa5c265bc895c60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

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