Skip to main content

dumpit

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

Installation

pip install dumpit

Usage

from dumpit import pdumpit, fdumpit

my_object = ...

# Print object to standard output
pdumpit(my_object)

#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)

Changelog

0.6.0

Fixed in 0.6.0
  • all_ parameter default value is now False
  • code formatting

0.5.0

Fixed in 0.5.0
  • Python 3 compatibility

0.4.2

Fixed in 0.4.2
  • Dependency version changed: Click 6.7 -> Click 7.0

0.4.1

Fixed in 0.4.1
  • Dunder methods description formatting and new lines.

0.4.0

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

0.3.0

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.

0.2.0

Added 0.2.0
  • Coloring support: Terminal colors for object attributes.

Download files

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

Source Distribution

dumpit-0.6.1.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dumpit-0.6.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file dumpit-0.6.1.tar.gz.

File metadata

  • Download URL: dumpit-0.6.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for dumpit-0.6.1.tar.gz
Algorithm Hash digest
SHA256 980599f4f50cf689d4d282207e6183e8ca67cf1491bfbb772f62fe4d8942ebf5
MD5 698c59a7974f4aa5dd22aea384d24515
BLAKE2b-256 303d49a5ba9f8c42fc3476b5977bbfefefef2ebf34ff844edd6b709564310dff

See more details on using hashes here.

Provenance

The following attestation bundles were made for dumpit-0.6.1.tar.gz:

Publisher: publish.yml on arrrlo/dumpit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dumpit-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: dumpit-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for dumpit-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe9e48cb29281e710291357631472f305cc74fd26d5318476d8203de9686b10e
MD5 8dbf3a4f7400f0b2929ed0f32be37ea9
BLAKE2b-256 a0c7fc9a3fea8765fef001f611512a1768ad610ee98a93850f90b4c4f32a8f13

See more details on using hashes here.

Provenance

The following attestation bundles were made for dumpit-0.6.1-py3-none-any.whl:

Publisher: publish.yml on arrrlo/dumpit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

2 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