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.4.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file printo-0.0.4.tar.gz
.
File metadata
- Download URL: printo-0.0.4.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 | dbaa68a84e814c5c5279b588f07dae51182e2f7e7c9c154aa98a688f0cbf78a9 |
|
MD5 | 3270f0bf5d4e14de06c90495a5326580 |
|
BLAKE2b-256 | 21349194c8d98c300cf55d51367888fb18a21b9f60869c5248cbaa66f0436fa0 |
File details
Details for the file printo-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: printo-0.0.4-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 | 4c59f9c59a44587bc53db8a5504dabe72db7d0e6db4ca8dfe83ce52af3f37b0e |
|
MD5 | cb9bf24542e5f9a2040bb6fcbf825697 |
|
BLAKE2b-256 | 373e599cda6ca372819ae878ad61688e18ca15e056ee2428f63ad93575417be9 |