Print objects with data beautifully
Project description
printo: print objects with data beautifully
A mini library for writing beautiful __repr__
for your classes.
Install it:
pip install printo
And use:
from printo import descript_data_object
print(descript_data_object('MyClassName', (1, 2, 'some text'), {'variable_name': 1, 'second_variable_name': 'kek'}))
# > MyClassName(1, 2, "some text", variable_name=1, second_variable_name="kek")
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
printo-0.0.3.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file printo-0.0.3.tar.gz
.
File metadata
- Download URL: printo-0.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea48d923063177eb3f44f6f35f93d79df705d0b51d11fc91a598bcdd08938e63 |
|
MD5 | c76c8281de41ffb9af3df97286740d4d |
|
BLAKE2b-256 | ea1832ccfbf6f856bf3ab2162eb2f00ef76316214bd28ece98d6653af6c78535 |
File details
Details for the file printo-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: printo-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6532a36ec4e8b9fe0df3b566c085d658164de7ddc39e5609e20b1fc08388c9f |
|
MD5 | 61c0e1e7e5ae413db44efcb52b95f539 |
|
BLAKE2b-256 | 761bae7007e80d05fcbca034b4f2978f25da4766af5d6d4ea288de7052be3df4 |