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.5.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file printo-0.0.5.tar.gz
.
File metadata
- Download URL: printo-0.0.5.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
26d64101b5ab67384e7fbc106a9f7b4a7879529b5a0c4cb7f7aa97e9fff38bab
|
|
MD5 |
1754b766415fc1708f0d5fa27ccfdbb0
|
|
BLAKE2b-256 |
32fa16c851b0f3d8734901181d2650df237c9ec0c8a4a8942cf11226d08cbcb7
|
Provenance
The following attestation bundles were made for printo-0.0.5.tar.gz
:
Publisher:
release.yml
on pomponchik/printo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
printo-0.0.5.tar.gz
-
Subject digest:
26d64101b5ab67384e7fbc106a9f7b4a7879529b5a0c4cb7f7aa97e9fff38bab
- Sigstore transparency entry: 175985616
- Sigstore integration time:
-
Permalink:
pomponchik/printo@cba2f98d0e7985d9dc4c1de71ab49a44891148a4
-
Branch / Tag:
refs/heads/main
- Owner: https://github.com/pomponchik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@cba2f98d0e7985d9dc4c1de71ab49a44891148a4
-
Trigger Event:
push
-
Statement type:
File details
Details for the file printo-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: printo-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a9bfb1a5fc718032b28f850e44cb5c30c35b33473b7a03d6d9f238bfd65689ca
|
|
MD5 |
9119651217af26dd2cae13abe31d7ee6
|
|
BLAKE2b-256 |
7a8d1eda3435344cd6c6c57d70a9d5b818102988853811a8a103bb66e72684f5
|
Provenance
The following attestation bundles were made for printo-0.0.5-py3-none-any.whl
:
Publisher:
release.yml
on pomponchik/printo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
printo-0.0.5-py3-none-any.whl
-
Subject digest:
a9bfb1a5fc718032b28f850e44cb5c30c35b33473b7a03d6d9f238bfd65689ca
- Sigstore transparency entry: 175985617
- Sigstore integration time:
-
Permalink:
pomponchik/printo@cba2f98d0e7985d9dc4c1de71ab49a44891148a4
-
Branch / Tag:
refs/heads/main
- Owner: https://github.com/pomponchik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@cba2f98d0e7985d9dc4c1de71ab49a44891148a4
-
Trigger Event:
push
-
Statement type: