Skip to main content

Override print formatter

Project description

installation

python3 -m pip install opprint

usage

op(arg, var=None, format=False, yml=False)

from opPrint import op
greeting = 'hello world!'

# basic
op(greeting)

# with label
op('op says...', greeting)

# with standard format
op(greeting, format=True)

# with yaml format
op(greeting, format=True, yml=True)

# with all params
op('op says...', greeting, format=True, yml=True)

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

opprint-1.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

opprint-1.0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file opprint-1.0.2.tar.gz.

File metadata

  • Download URL: opprint-1.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for opprint-1.0.2.tar.gz
Algorithm Hash digest
SHA256 28ea4b95183524ac8aed9ab8c0cd57d9c22ce9c9d53e5ae1c60bcbb683b0ec76
MD5 6d45f0a7eac2b069c252c25a11c90c54
BLAKE2b-256 5f6c889866277bf335dfbf36831a1841173ad392a93ae36267d0b4d09aba5f2e

See more details on using hashes here.

File details

Details for the file opprint-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: opprint-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for opprint-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a1e492e2a2576e6c55ae5aec7364eb5978b952a9f6e878c6f7d184d47412462
MD5 fc4b66c1188354c4a4b2f196910a716f
BLAKE2b-256 a4bdd629e8e98e8cf37be7d604f1dfd5cf397ee204fb5b741bd6180347314bcc

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