Skip to main content

Print objects with data beautifully

Project description

printo: print objects with data beautifully

Downloads Downloads codecov Lines of code Hits-of-Code Test-Package Python versions PyPI version Checked with mypy Ruff

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)

Uploaded Source

Built Distribution

printo-0.0.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for printo-0.0.5.tar.gz
Algorithm Hash digest
SHA256 26d64101b5ab67384e7fbc106a9f7b4a7879529b5a0c4cb7f7aa97e9fff38bab
MD5 1754b766415fc1708f0d5fa27ccfdbb0
BLAKE2b-256 32fa16c851b0f3d8734901181d2650df237c9ec0c8a4a8942cf11226d08cbcb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for printo-0.0.5.tar.gz:

Publisher: release.yml on pomponchik/printo

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

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

Hashes for printo-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a9bfb1a5fc718032b28f850e44cb5c30c35b33473b7a03d6d9f238bfd65689ca
MD5 9119651217af26dd2cae13abe31d7ee6
BLAKE2b-256 7a8d1eda3435344cd6c6c57d70a9d5b818102988853811a8a103bb66e72684f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for printo-0.0.5-py3-none-any.whl:

Publisher: release.yml on pomponchik/printo

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page