here-debugger


Namehere-debugger JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/Bibhash7/Here-Debugger
SummaryA user friendly debugger, just like print statement, but much more.
upload_time2024-08-04 17:45:29
maintainerNone
docs_urlNone
authorBibhash Ghosh
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Here-Debugger
This user-friendly debugger simplifies the debugging process by accepting any number of variables and printing their names, values, and line numbers. It also offers options to add search text and include variable type information for enhanced clarity.

Pypi: https://pypi.org/project/here-debugger/

## Features:
- Prints variable names and values
- Displays line number of the variables
- Option to add search text
- Option to include variable type information

## Installation
To install the debugger, use:
```pip install here-debugger```

## Usage
1. Print variable names and values.
   ```
   from here_debugger.debug import here_debug
   a = 2
   b = "Bibhash"
   here_debug(a, b)
   ```
   Output:
   ```File: <current_file>: Line-4: a = 2 | b = Bibhash |```

2. Add search text:
    ```
   from here_debugger.debug import here_debug
   a = 2
   b = "Bibhash"
   here_debug(a,b, custom_search_text="Debug-")
   ```
   Output:
   ```Debug-: File: <current_file>: Line-4: a = 2 | b = Bibhash |```

3. Print variable type information:
   ```
   from here_debugger.debug import here_debug
   a = 2
   b = "Bibhash"
   c = [2,2]
   d = {}
   here_debugger(a,b,c,d, custom_search_text="Debug-", include_types=True)
   ```
   Output: ```Debug-: File: <current_file>: Line-6: a = 2, type = <class 'int'> | b = Bibhash, type = <class 'str'> | c = [2, 2], type = <class 'list'> | d = {}, type = <class 'dict'> | ```

4. Update: Now supports constants:
   ```
   from here_debugger.debug import here_debug
   a = 2
   here_debug(a,"Bibhash", custom_search_text="Debug-")
   ```
   Output:
   ```Debug-: File: <current_file>: Line-4: a = 2 | Bibhash |```

## Test Case Coverage: 98%
[![here-debugger-coverage-report.png](https://i.postimg.cc/859qd2Kv/here-debugger-coverage-report.png)](https://postimg.cc/5Y57bRM9)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Bibhash7/Here-Debugger",
    "name": "here-debugger",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Bibhash Ghosh",
    "author_email": "tranceispermanemt@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/cb/e1/0a629733955ea095d56c6b5cc63ce650f84f14dfa85c3b2ae2a941434770/here_debugger-2.0.0.tar.gz",
    "platform": null,
    "description": "# Here-Debugger\r\nThis user-friendly debugger simplifies the debugging process by accepting any number of variables and printing their names, values, and line numbers. It also offers options to add search text and include variable type information for enhanced clarity.\r\n\r\nPypi: https://pypi.org/project/here-debugger/\r\n\r\n## Features:\r\n- Prints variable names and values\r\n- Displays line number of the variables\r\n- Option to add search text\r\n- Option to include variable type information\r\n\r\n## Installation\r\nTo install the debugger, use:\r\n```pip install here-debugger```\r\n\r\n## Usage\r\n1. Print variable names and values.\r\n   ```\r\n   from here_debugger.debug import here_debug\r\n   a = 2\r\n   b = \"Bibhash\"\r\n   here_debug(a, b)\r\n   ```\r\n   Output:\r\n   ```File: <current_file>: Line-4: a = 2 | b = Bibhash |```\r\n\r\n2. Add search text:\r\n    ```\r\n   from here_debugger.debug import here_debug\r\n   a = 2\r\n   b = \"Bibhash\"\r\n   here_debug(a,b, custom_search_text=\"Debug-\")\r\n   ```\r\n   Output:\r\n   ```Debug-: File: <current_file>: Line-4: a = 2 | b = Bibhash |```\r\n\r\n3. Print variable type information:\r\n   ```\r\n   from here_debugger.debug import here_debug\r\n   a = 2\r\n   b = \"Bibhash\"\r\n   c = [2,2]\r\n   d = {}\r\n   here_debugger(a,b,c,d, custom_search_text=\"Debug-\", include_types=True)\r\n   ```\r\n   Output: ```Debug-: File: <current_file>: Line-6: a = 2, type = <class 'int'> | b = Bibhash, type = <class 'str'> | c = [2, 2], type = <class 'list'> | d = {}, type = <class 'dict'> | ```\r\n\r\n4. Update: Now supports constants:\r\n   ```\r\n   from here_debugger.debug import here_debug\r\n   a = 2\r\n   here_debug(a,\"Bibhash\", custom_search_text=\"Debug-\")\r\n   ```\r\n   Output:\r\n   ```Debug-: File: <current_file>: Line-4: a = 2 | Bibhash |```\r\n\r\n## Test Case Coverage: 98%\r\n[![here-debugger-coverage-report.png](https://i.postimg.cc/859qd2Kv/here-debugger-coverage-report.png)](https://postimg.cc/5Y57bRM9)\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A user friendly debugger, just like print statement, but much more.",
    "version": "2.0.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/Bibhash7/Here-Debugger/issues",
        "Homepage": "https://github.com/Bibhash7/Here-Debugger"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95844d90be74a05eab549e5044d70f332df744c111b4673c41509373201af694",
                "md5": "2bdbc81392d6a16debdf1844fdd86718",
                "sha256": "4c0b5f756b70f0b5b294b665e90120a21449039a73910deabaf85544493cb4a4"
            },
            "downloads": -1,
            "filename": "here_debugger-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2bdbc81392d6a16debdf1844fdd86718",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3672,
            "upload_time": "2024-08-04T17:45:25",
            "upload_time_iso_8601": "2024-08-04T17:45:25.946698Z",
            "url": "https://files.pythonhosted.org/packages/95/84/4d90be74a05eab549e5044d70f332df744c111b4673c41509373201af694/here_debugger-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cbe10a629733955ea095d56c6b5cc63ce650f84f14dfa85c3b2ae2a941434770",
                "md5": "88f24365af95c506059b8b254e582272",
                "sha256": "57826675bddd3733a7e9f0ca78ae5a4816a4f0bc7ebf9590202cd403c5e7dd1e"
            },
            "downloads": -1,
            "filename": "here_debugger-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "88f24365af95c506059b8b254e582272",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3899,
            "upload_time": "2024-08-04T17:45:29",
            "upload_time_iso_8601": "2024-08-04T17:45:29.201404Z",
            "url": "https://files.pythonhosted.org/packages/cb/e1/0a629733955ea095d56c6b5cc63ce650f84f14dfa85c3b2ae2a941434770/here_debugger-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-04 17:45:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Bibhash7",
    "github_project": "Here-Debugger",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "here-debugger"
}
        
Elapsed time: 0.28952s