![multiple_loader Logo](https://github.com/Domzou-kun/drint/blob/main/docs/img/logo.png?raw=true)
<div align="center">
<a href="">![PyPI](https://img.shields.io/pypi/v/drint)</a>
<a href="">![PyPI - Python Version](https://img.shields.io/pypi/pyversions/drint)</a>
<a href="">![PyPI - Format](https://img.shields.io/pypi/format/drint)</a>
<a href="">![PyPI - License](https://img.shields.io/pypi/l/drint)</a>
<a href="">[![Downloads](https://static.pepy.tech/personalized-badge/drint?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/drint)</a>
<a href="">![GitHub issues](https://img.shields.io/github/issues/Domzou-kun/drint)</a>
<br>
<a href="">![GitHub followers](https://img.shields.io/github/followers/Domzou-kun?style=social)</a>
<a href="">[![Twitter](https://badgen.net/badge/icon/tweet?icon=twitter&label)](https://twitter.com/intent/tweet?text="drint"%20is%20a%20recommended%20repository😊👍%0a&url=https://github.com/Domzou-kun/drint&hashtags=Github,Python)
</a>
</div>
<div align="center">
<br>
# **the latest version of 1.0.2🎉**
## Changes in the new version of **1.0.2**
**- Release. -**
<br>
</div>
---
# drint
`drint` is a library that outputs `dict` type objects in python to console and other applications, fully formatted and displayed. This will improve debugging, output, and other tasks.
---
## Description of drint
`drint` is a library that outputs dict type objects in python to console and other applications, fully formatted and displayed. In general, dict is displayed in python using `pprint`, etc., but this library can output dict in a more complete form than `pprint`.
---
## More about drint
`drint` displays dict types in perfect alignment.
Below is a test dict and an example of its display.
```Python
from dict_viewer.drint import drint
test_d3 = {
"e": "EEE",
"f": "FFF",
"g": "GGG"
}
test_d2 = {
"c": test_d3,
"d": "DDD"
}
test_d1 = {
"a": "AAA",
"b": test_d2
}
# drint
drint(test_d1)
```
The result is as follows:
```
{
"a": AAA
"b": {
"c": {
"e": EEE
"f": FFF
"g": GGG
}
"d": DDD
}
}
```
Compared to the output with pprint and print, it is clearly aligned.
```
# print
{'a': 'AAA', 'b': {'c': {'e': 'EEE', 'f': 'FFF', 'g': 'GGG'}, 'd': 'DDD'}}
# pprint
{'a': 'AAA', 'b': {'c': {'e': 'EEE', 'f': 'FFF', 'g': 'GGG'}, 'd': 'DDD'}}
# drint
{
"a": AAA
"b": {
"c": {
"e": EEE
"f": FFF
"g": GGG
}
"d": DDD
}
}
```
Also, with drint, indentation can be specified.
## Optional arguments, etc
The list of arguments, etc. that can be used in `drint` is as follows.
```
from dict_viewer.drint import drint
drint(
dict, # Required argument
indent # defalut value is 4
)
```
---
## Getting Started
### Installing
### Latest drint via [PyPI](https://pypi.org/project/drint/) (pip install)
![PyPI](https://img.shields.io/pypi/v/drint)
[![Downloads](https://static.pepy.tech/badge/drint/month)](https://pepy.tech/project/drint)
```
pip install drint
```
### Install by pip from github
```
pip install git+https://github.com/Domzou-kun/drint.git
```
or install via SSH
```
pip install git+git://github.com:Domzou-kun/drint.git
```
## Authors
Domzou
## link
- The link to PyPI is here.
- [PyPI project link](https://pypi.org/project/drint/)
## Version history
If you want to know about past versions, please refer to [version history](https://github.com/Domzou-kun/drint/blob/main/docs/version_history.txt).
## LICENSE
drint has a MIT license, as found in the [LICENSE file](https://github.com/Domzou-kun/drint/blob/main/LICENSE).
Raw data
{
"_id": null,
"home_page": "https://github.com/Domzou-kun/drint",
"name": "drint",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Python python dictionary dict type print pprint",
"author": "Domzou",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/93/ce/084f9819becfe2b64a315da2158db84a039a36f1c1fbb873c173d7c71364/drint-1.0.3.tar.gz",
"platform": null,
"description": "![multiple_loader Logo](https://github.com/Domzou-kun/drint/blob/main/docs/img/logo.png?raw=true)\r\n\r\n<div align=\"center\">\r\n \r\n <a href=\"\">![PyPI](https://img.shields.io/pypi/v/drint)</a>\r\n <a href=\"\">![PyPI - Python Version](https://img.shields.io/pypi/pyversions/drint)</a>\r\n <a href=\"\">![PyPI - Format](https://img.shields.io/pypi/format/drint)</a>\r\n <a href=\"\">![PyPI - License](https://img.shields.io/pypi/l/drint)</a>\r\n <a href=\"\">[![Downloads](https://static.pepy.tech/personalized-badge/drint?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/drint)</a>\r\n <a href=\"\">![GitHub issues](https://img.shields.io/github/issues/Domzou-kun/drint)</a>\r\n <br>\r\n <a href=\"\">![GitHub followers](https://img.shields.io/github/followers/Domzou-kun?style=social)</a>\r\n <a href=\"\">[![Twitter](https://badgen.net/badge/icon/tweet?icon=twitter&label)](https://twitter.com/intent/tweet?text=\"drint\"%20is%20a%20recommended%20repository\ud83d\ude0a\ud83d\udc4d%0a&url=https://github.com/Domzou-kun/drint&hashtags=Github,Python)\r\n </a>\r\n\r\n\r\n</div>\r\n\r\n<div align=\"center\">\r\n <br>\r\n \r\n # **the latest version of 1.0.2\ud83c\udf89**\r\n ## Changes in the new version of **1.0.2**\r\n **- Release. -** \r\n <br>\r\n\r\n</div>\r\n\r\n---\r\n# drint\r\n`drint` is a library that outputs `dict` type objects in python to console and other applications, fully formatted and displayed. This will improve debugging, output, and other tasks.\r\n\r\n---\r\n\r\n## Description of drint\r\n`drint` is a library that outputs dict type objects in python to console and other applications, fully formatted and displayed. In general, dict is displayed in python using `pprint`, etc., but this library can output dict in a more complete form than `pprint`.\r\n\r\n---\r\n\r\n## More about drint\r\n`drint` displays dict types in perfect alignment.\r\nBelow is a test dict and an example of its display.\r\n\r\n```Python\r\nfrom dict_viewer.drint import drint\r\n\r\ntest_d3 = {\r\n \"e\": \"EEE\",\r\n \"f\": \"FFF\",\r\n \"g\": \"GGG\"\r\n}\r\n\r\ntest_d2 = {\r\n \"c\": test_d3,\r\n \"d\": \"DDD\" \r\n}\r\n\r\ntest_d1 = {\r\n \"a\": \"AAA\",\r\n \"b\": test_d2\r\n}\r\n\r\n# drint\r\ndrint(test_d1)\r\n\r\n```\r\nThe result is as follows:\r\n\r\n```\r\n{\r\n \"a\": AAA\r\n \"b\": {\r\n \"c\": {\r\n \"e\": EEE\r\n \"f\": FFF\r\n \"g\": GGG\r\n }\r\n \"d\": DDD\r\n }\r\n}\r\n```\r\n\r\nCompared to the output with pprint and print, it is clearly aligned.\r\n```\r\n# print\r\n{'a': 'AAA', 'b': {'c': {'e': 'EEE', 'f': 'FFF', 'g': 'GGG'}, 'd': 'DDD'}}\r\n\r\n# pprint\r\n{'a': 'AAA', 'b': {'c': {'e': 'EEE', 'f': 'FFF', 'g': 'GGG'}, 'd': 'DDD'}}\r\n\r\n# drint\r\n{\r\n \"a\": AAA\r\n \"b\": {\r\n \"c\": {\r\n \"e\": EEE\r\n \"f\": FFF\r\n \"g\": GGG\r\n }\r\n \"d\": DDD\r\n }\r\n}\r\n```\r\n\r\nAlso, with drint, indentation can be specified.\r\n\r\n\r\n## Optional arguments, etc\r\nThe list of arguments, etc. that can be used in `drint` is as follows.\r\n```\r\nfrom dict_viewer.drint import drint\r\n\r\ndrint(\r\n dict, # Required argument\r\n indent # defalut value is 4\r\n)\r\n```\r\n\r\n---\r\n\r\n## Getting Started\r\n### Installing\r\n\r\n### Latest drint via [PyPI](https://pypi.org/project/drint/) (pip install)\r\n![PyPI](https://img.shields.io/pypi/v/drint)\r\n[![Downloads](https://static.pepy.tech/badge/drint/month)](https://pepy.tech/project/drint)\r\n```\r\npip install drint\r\n```\r\n\r\n### Install by pip from github\r\n\r\n```\r\npip install git+https://github.com/Domzou-kun/drint.git\r\n```\r\nor install via SSH\r\n```\r\npip install git+git://github.com:Domzou-kun/drint.git\r\n```\r\n\r\n## Authors\r\n\r\nDomzou\r\n\r\n## link\r\n - The link to PyPI is here. \r\n - [PyPI project link](https://pypi.org/project/drint/) \r\n\r\n## Version history\r\nIf you want to know about past versions, please refer to [version history](https://github.com/Domzou-kun/drint/blob/main/docs/version_history.txt).\r\n\r\n## LICENSE\r\ndrint has a MIT license, as found in the [LICENSE file](https://github.com/Domzou-kun/drint/blob/main/LICENSE).\r\n\r\n\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Providing a complete and beautiful display of dict",
"version": "1.0.3",
"project_urls": {
"Download": "https://github.com/Domzou-kun/drint",
"Homepage": "https://github.com/Domzou-kun/drint"
},
"split_keywords": [
"python",
"python",
"dictionary",
"dict",
"type",
"print",
"pprint"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b394bded7f901b9828c98da3d06fab0f301f91121549ae3ebd34c3ba7e0c9952",
"md5": "92a0ea6f5abe97cb3c4b8352611435e9",
"sha256": "1b28055411253f86841ef97e45b81ed93d5d1e12f5ed1bbaaf97ec14279b5e66"
},
"downloads": -1,
"filename": "drint-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "92a0ea6f5abe97cb3c4b8352611435e9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4103,
"upload_time": "2023-08-29T08:43:55",
"upload_time_iso_8601": "2023-08-29T08:43:55.522536Z",
"url": "https://files.pythonhosted.org/packages/b3/94/bded7f901b9828c98da3d06fab0f301f91121549ae3ebd34c3ba7e0c9952/drint-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "93ce084f9819becfe2b64a315da2158db84a039a36f1c1fbb873c173d7c71364",
"md5": "5365d7b1c7473d05eb3909baca96b900",
"sha256": "f938644f15c0b8cb2e12959307b172f4da95d01cbbcd183ea4aec718ae27b012"
},
"downloads": -1,
"filename": "drint-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "5365d7b1c7473d05eb3909baca96b900",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3784,
"upload_time": "2023-08-29T08:43:57",
"upload_time_iso_8601": "2023-08-29T08:43:57.165394Z",
"url": "https://files.pythonhosted.org/packages/93/ce/084f9819becfe2b64a315da2158db84a039a36f1c1fbb873c173d7c71364/drint-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-29 08:43:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Domzou-kun",
"github_project": "drint",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "drint"
}