printo


Nameprinto JSON
Version 0.0.4 PyPI version JSON
download
home_pageNone
SummaryPrint objects with data beautifully
upload_time2024-07-23 21:02:34
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords print serialization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # printo: print objects with data beautifully

[![Downloads](https://static.pepy.tech/badge/printo/month)](https://pepy.tech/project/printo)
[![Downloads](https://static.pepy.tech/badge/printo)](https://pepy.tech/project/printo)
[![codecov](https://codecov.io/gh/pomponchik/printo/graph/badge.svg?token=r72d56t1hj)](https://codecov.io/gh/pomponchik/printo)
[![Lines of code](https://sloc.xyz/github/pomponchik/printo/?category=code)](https://github.com/boyter/scc/)
[![Hits-of-Code](https://hitsofcode.com/github/pomponchik/printo?branch=main)](https://hitsofcode.com/github/pomponchik/printo/view?branch=main)
[![Test-Package](https://github.com/pomponchik/printo/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/pomponchik/printo/actions/workflows/tests_and_coverage.yml)
[![Python versions](https://img.shields.io/pypi/pyversions/printo.svg)](https://pypi.python.org/pypi/printo)
[![PyPI version](https://badge.fury.io/py/printo.svg)](https://badge.fury.io/py/printo)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)


A mini library for writing beautiful [`__repr__`](https://docs.python.org/3/reference/datamodel.html#object.__repr__) for your classes.

Install it:

```bash
pip install printo
```

And use:

```python
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')
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "printo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "print, serialization",
    "author": null,
    "author_email": "Evgeniy Blinov <zheni-b@yandex.ru>",
    "download_url": "https://files.pythonhosted.org/packages/21/34/9194c8d98c300cf55d51367888fb18a21b9f60869c5248cbaa66f0436fa0/printo-0.0.4.tar.gz",
    "platform": null,
    "description": "# printo: print objects with data beautifully\n\n[![Downloads](https://static.pepy.tech/badge/printo/month)](https://pepy.tech/project/printo)\n[![Downloads](https://static.pepy.tech/badge/printo)](https://pepy.tech/project/printo)\n[![codecov](https://codecov.io/gh/pomponchik/printo/graph/badge.svg?token=r72d56t1hj)](https://codecov.io/gh/pomponchik/printo)\n[![Lines of code](https://sloc.xyz/github/pomponchik/printo/?category=code)](https://github.com/boyter/scc/)\n[![Hits-of-Code](https://hitsofcode.com/github/pomponchik/printo?branch=main)](https://hitsofcode.com/github/pomponchik/printo/view?branch=main)\n[![Test-Package](https://github.com/pomponchik/printo/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/pomponchik/printo/actions/workflows/tests_and_coverage.yml)\n[![Python versions](https://img.shields.io/pypi/pyversions/printo.svg)](https://pypi.python.org/pypi/printo)\n[![PyPI version](https://badge.fury.io/py/printo.svg)](https://badge.fury.io/py/printo)\n[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n\nA mini library for writing beautiful [`__repr__`](https://docs.python.org/3/reference/datamodel.html#object.__repr__) for your classes.\n\nInstall it:\n\n```bash\npip install printo\n```\n\nAnd use:\n\n```python\nfrom printo import descript_data_object\n\nprint(descript_data_object('MyClassName', (1, 2, 'some text'), {'variable_name': 1, 'second_variable_name': 'kek'}))\n# > MyClassName(1, 2, 'some text', variable_name=1, second_variable_name='kek')\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Print objects with data beautifully",
    "version": "0.0.4",
    "project_urls": {
        "Source": "https://github.com/pomponchik/printo",
        "Tracker": "https://github.com/pomponchik/printo/issues"
    },
    "split_keywords": [
        "print",
        " serialization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "373e599cda6ca372819ae878ad61688e18ca15e056ee2428f63ad93575417be9",
                "md5": "cb9bf24542e5f9a2040bb6fcbf825697",
                "sha256": "4c59f9c59a44587bc53db8a5504dabe72db7d0e6db4ca8dfe83ce52af3f37b0e"
            },
            "downloads": -1,
            "filename": "printo-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb9bf24542e5f9a2040bb6fcbf825697",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 3563,
            "upload_time": "2024-07-23T21:02:33",
            "upload_time_iso_8601": "2024-07-23T21:02:33.628478Z",
            "url": "https://files.pythonhosted.org/packages/37/3e/599cda6ca372819ae878ad61688e18ca15e056ee2428f63ad93575417be9/printo-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21349194c8d98c300cf55d51367888fb18a21b9f60869c5248cbaa66f0436fa0",
                "md5": "3270f0bf5d4e14de06c90495a5326580",
                "sha256": "dbaa68a84e814c5c5279b588f07dae51182e2f7e7c9c154aa98a688f0cbf78a9"
            },
            "downloads": -1,
            "filename": "printo-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "3270f0bf5d4e14de06c90495a5326580",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3830,
            "upload_time": "2024-07-23T21:02:34",
            "upload_time_iso_8601": "2024-07-23T21:02:34.983328Z",
            "url": "https://files.pythonhosted.org/packages/21/34/9194c8d98c300cf55d51367888fb18a21b9f60869c5248cbaa66f0436fa0/printo-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-23 21:02:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pomponchik",
    "github_project": "printo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "printo"
}
        
Elapsed time: 0.26742s