Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Print python objects like a boss

Project description


List all python object attributes with descriptions

PyPI version Build Status Codacy Badge

GitHub issues GitHub closed issues GitHub closed pull requests

PyPI - Python Version GitHub GitHub last commit

Terminal view


pip install dumpit


from dumpit import pdumpit, fdumpit

my_object = ...

# Print object to standard output

#Print object to standard output in vertical view
pdumpit(my_object, view_='vertical') # vertical | table

# Export object to string as text
my_var = fdumpit(my_object)

# Disable colors in terminal output
pdumpit(my_object, colors=False) # False | terminal

# Enable colors in string output
my_var = fdumpit(my_object, colors='terminal')

# Show dunder methods (magic methods)
pdumpit(my_object, all_=True)



Fixed in 0.6.0

  • all_ parameter default value is now False
  • code formatting


Fixed in 0.5.0

  • Python 3 compatibility


Fixed in 0.4.2

  • Dependency version changed: Click 6.7 -> Click 7.0


Fixed in 0.4.1

  • Dunder methods description formatting and new lines.


Added in 0.4.0

  • Descriptions for every objects attribute.
  • Separate dunders from other attributes.


Added in 0.3.0

  • Analyse is now view.
  • Table view support: Print object contents in table view in terminal.
  • Warnings: Prints warnings in terminal if unknown coloring or view is used.


Added 0.2.0

  • Coloring support: Terminal colors for object attributes.

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.6.0
Filename, size File type Python version Upload date Hashes
Filename, size dumpit-0.6.0-py3-none-any.whl (8.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dumpit-0.6.0.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page