# vardump
Colored Python vardump for CLI
a small wrapper function to output the colored variable prints to the terminal. The peculiarity of the library is that, like in PHP, the var_dump function is in the global scope. You just need to write import vardump in one startup file and then the var_dump function will be available in all modules that you connect to this script.
## Installation
```python
pip install varsdump
```
##Enable
```python
# app.py
import varsdump
import some_controller
...
var_dump(...)
...
```
##Usage
```python
# some_controller.py
some_obj = {
'int': 123,
'str': 'abc',
'dict': {
'list': [1,2,3]
}
}
var_dump(some_obj)
```
## For update use:
```
pip install vardump --upgrade
```
Raw data
{
"_id": null,
"home_page": "https://github.com/frontdevops/vardump",
"name": "varsdump",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10.8",
"maintainer_email": "",
"keywords": "pypi,config,library,varsdump,var,dump,vardump,vardump",
"author": "Alexander Majorov",
"author_email": "Alexander Majorov <alexander.majorov@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/3c/23/1623e3390bcabb189da0a64144d46c4630cb415e22e91575ef531d23a251/varsdump-1.0.2.tar.gz",
"platform": null,
"description": "# vardump\nColored Python vardump for CLI\n\na small wrapper function to output the colored variable prints to the terminal. The peculiarity of the library is that, like in PHP, the var_dump function is in the global scope. You just need to write import vardump in one startup file and then the var_dump function will be available in all modules that you connect to this script.\n\n## Installation\n```python\npip install varsdump\n```\n\n##Enable\n```python\n# app.py\nimport varsdump\nimport some_controller\n\n...\nvar_dump(...)\n...\n```\n\n##Usage\n```python\n# some_controller.py\n\nsome_obj = {\n 'int': 123,\n 'str': 'abc',\n 'dict': {\n 'list': [1,2,3]\n }\n}\n\nvar_dump(some_obj)\n```\n\n## For update use:\n```\npip install vardump --upgrade\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple library for easy handling of .env files and environment variables configurations",
"version": "1.0.2",
"split_keywords": [
"pypi",
"config",
"library",
"varsdump",
"var",
"dump",
"vardump",
"vardump"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "34995ef69f4e202b827e45f823752d482c3e5ae1ab6db6291d1b062d0eb390f0",
"md5": "ef605271f485a8122ed820fec35ea72b",
"sha256": "7ba5043181c01e0fd033b6ca0fc0d3ffe78f8cb5463b2ae0d3d328327ee29a9a"
},
"downloads": -1,
"filename": "varsdump-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ef605271f485a8122ed820fec35ea72b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10.8",
"size": 3354,
"upload_time": "2023-04-21T16:42:03",
"upload_time_iso_8601": "2023-04-21T16:42:03.247149Z",
"url": "https://files.pythonhosted.org/packages/34/99/5ef69f4e202b827e45f823752d482c3e5ae1ab6db6291d1b062d0eb390f0/varsdump-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3c231623e3390bcabb189da0a64144d46c4630cb415e22e91575ef531d23a251",
"md5": "d8fe5c77e2864a7eeac9190869460cf9",
"sha256": "d72b623d62ab578eeeccd79b957909f4f3a7550cb321bf980b510559e7ed8761"
},
"downloads": -1,
"filename": "varsdump-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "d8fe5c77e2864a7eeac9190869460cf9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10.8",
"size": 4848,
"upload_time": "2023-04-21T16:42:12",
"upload_time_iso_8601": "2023-04-21T16:42:12.579764Z",
"url": "https://files.pythonhosted.org/packages/3c/23/1623e3390bcabb189da0a64144d46c4630cb415e22e91575ef531d23a251/varsdump-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-21 16:42:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "frontdevops",
"github_project": "vardump",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "varsdump"
}