Skip to main content

Print python objects like a boss

Project description

dumpit

Print python objects like a boss

PyPI version Build Status GitHub GitHub last commit

Installation

Works with python 3.x

pip install dumpit

Print object to standard output

from dumpit import pdumpit

pdumpit(__some_object__)

Export object to string as text

from dumpit import fdumpit

my_var = fdumpit(__some_object__)

Coloring

from dumpit import fdumpit, pdumpit

# default is colors='terminal'
my_var = pdumpit(__some_object__, colors=False)

# default is colors=False
my_var = fdumpit(__some_object__, colors='terminal')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dumpit, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size dumpit-0.2.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page