dumpit
List all python object attributes with descriptions
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
980599f4f50cf689d4d282207e6183e8ca67cf1491bfbb772f62fe4d8942ebf5
|
|
| MD5 |
698c59a7974f4aa5dd22aea384d24515
|
|
| BLAKE2b-256 |
303d49a5ba9f8c42fc3476b5977bbfefefef2ebf34ff844edd6b709564310dff
|
Provenance
The following attestation bundles were made for dumpit-0.6.1.tar.gz:
Publisher:
publish.yml on arrrlo/dumpit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dumpit-0.6.1.tar.gz -
Subject digest:
980599f4f50cf689d4d282207e6183e8ca67cf1491bfbb772f62fe4d8942ebf5 - Sigstore transparency entry: 2506294481
- Sigstore integration time:
-
Permalink:
arrrlo/dumpit@a906e56442bcd7e01ee2b9529044def28f7d30c0 -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/arrrlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a906e56442bcd7e01ee2b9529044def28f7d30c0 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe9e48cb29281e710291357631472f305cc74fd26d5318476d8203de9686b10e
|
|
| MD5 |
8dbf3a4f7400f0b2929ed0f32be37ea9
|
|
| BLAKE2b-256 |
a0c7fc9a3fea8765fef001f611512a1768ad610ee98a93850f90b4c4f32a8f13
|
Provenance
The following attestation bundles were made for dumpit-0.6.1-py3-none-any.whl:
Publisher:
publish.yml on arrrlo/dumpit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dumpit-0.6.1-py3-none-any.whl -
Subject digest:
fe9e48cb29281e710291357631472f305cc74fd26d5318476d8203de9686b10e - Sigstore transparency entry: 2506294666
- Sigstore integration time:
-
Permalink:
arrrlo/dumpit@a906e56442bcd7e01ee2b9529044def28f7d30c0 -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/arrrlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a906e56442bcd7e01ee2b9529044def28f7d30c0 -
Trigger Event:
release
-
Statement type: