{"id":20945990,"url":"https://github.com/jakubtesarek/dbgr","last_synced_at":"2025-10-07T02:01:53.086Z","repository":{"id":62567010,"uuid":"186434426","full_name":"JakubTesarek/dbgr","owner":"JakubTesarek","description":"Dbgr is a terminal tool to test and debug HTTP APIs.","archived":false,"fork":false,"pushed_at":"2021-03-13T23:28:31.000Z","size":174,"stargazers_count":8,"open_issues_count":25,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-01T09:02:57.234Z","etag":null,"topics":["http","http-client","python","python3","rest","rest-api","terminal","testing","testing-tools","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakubTesarek.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-13T14:19:17.000Z","updated_at":"2023-01-11T14:54:17.000Z","dependencies_parsed_at":"2022-11-03T16:30:27.997Z","dependency_job_id":null,"html_url":"https://github.com/JakubTesarek/dbgr","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakubTesarek%2Fdbgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakubTesarek%2Fdbgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakubTesarek%2Fdbgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakubTesarek%2Fdbgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakubTesarek","download_url":"https://codeload.github.com/JakubTesarek/dbgr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225269901,"owners_count":17447607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","http-client","python","python3","rest","rest-api","terminal","testing","testing-tools","tool"],"created_at":"2024-11-18T23:51:30.208Z","updated_at":"2025-10-07T02:01:48.049Z","avatar_url":"https://github.com/JakubTesarek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"DBGR: HTTP client that gives you full control\n=============================================\n\n|PyPI version| |License| |Build Status| |Code Coverage| |Documentation Status|\n\n.. |PyPI version| image:: https://badge.fury.io/py/dbgr.svg\n   :target: https://badge.fury.io/py/dbgr\n.. |License| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg\n   :target: https://opensource.org/licenses/Apache-2.0\n.. |Build Status| image:: https://travis-ci.org/JakubTesarek/dbgr.svg?branch=master\n   :target: https://travis-ci.org/JakubTesarek/dbgr\n.. |Code Coverage| image:: https://codecov.io/gh/JakubTesarek/dbgr/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/JakubTesarek/dbgr\n.. |Documentation Status| image:: https://readthedocs.org/projects/dbgr/badge/?version=latest\n   :target: https://dbgr.readthedocs.io/en/latest/?badge=latest\n\nDbgr [read 'ˌdiːˈbʌɡər'] is a interactive terminal tool to test and debug HTTP APIs.\nIt offers alternative to Postman_, Insomnia_ and other HTTP clients. It is designed\nfor programmers that prefer to use code instead of graphical tools and want full control\nover their HTTP requests.\n\n.. _postman: https://www.getpostman.com/\n.. _insomnia: https://insomnia.rest/\n\n   `Full documentation can be found on Read the Docs`_\n\n.. _`full documentation can be found on read the docs`: https://dbgr.readthedocs.io/en/latest/\n\nFeatures\n--------\n- `Terminal interface with autocomplete and bash history`_\n- `Full control over your requests with Python`_\n- `Recursive calls`_\n- `Local caching of responses`_\n- `Customizable interface`_\n\n.. _`Terminal interface with autocomplete and bash history`: https://dbgr.readthedocs.io/en/latest/terminal-interface.html\n.. _`Full control over your requests with Python`: https://dbgr.readthedocs.io/en/latest/requests.html#requests\n.. _`Recursive calls`: https://dbgr.readthedocs.io/en/latest/recursive-calls.html#recursive-calls\n.. _`Local caching of responses`: https://dbgr.readthedocs.io/en/latest/caching.html\n.. _`Customizable interface`: https://dbgr.readthedocs.io/en/latest/types.html#types\n\n|screencast|\n\n.. |screencast| image:: https://asciinema.org/a/uNs262JVwxY2d1BGZTdRvDsWH.svg\n        :alt: DBGR Basic Usage Example\n        :target: https://asciinema.org/a/uNs262JVwxY2d1BGZTdRvDsWH\n\nInstallation\n------------\nThe easiest way to install DBGR is via PyPi_:\n\n.. _pypi: https://pypi.org/project/dbgr/\n\n.. code-block:: bash\n\n    $ pip install dbgr\n    $ dbgr -v\n    1.1.0\n\nDBGR requires Python \u003e=3.6.\n\nQuick Start\n-----------\nFirst step when working with DBGR is to create a directory which will DBGR search\nfor requests and environment settings.\n\n   You can also `download the quickstart from Github`_.\n\n.. _download the quickstart from github: https://github.com/JakubTesarek/dbgr/tree/master/examples/quickstart\n\n\n.. code-block:: bash\n\n    $ mkdir quickstart\n    $ cd quickstart\n\nInside create your default environment file ``default.ini``. For now just place\na section header inside:\n\n.. code-block:: ini\n\n    [default]\n\nNow create another file, call it ``quickstart.py`` and place create your first request:\n\n.. code-block:: python\n\n    from dbgr import request\n\n    @request\n    async def get_example(session):\n        await session.get('http://example.com')\n\nYou can check that DBGR registered the request by running ``dbgr list``:\n\n.. code-block:: bash\n\n    $ dbgr list\n    quickstart:\n     - get_example\n\nTo execute it, run ``dbgr request get_example``:\n\n.. code-block:: bash\n\n    # Output in this example is shortened\n    \u003e GET http://example.com\n    \u003e 200 OK\n    \u003e\n    \u003e Request headers:\n    \u003e  Host: example.com\n    \u003e  Accept: */*\n    \u003e  Accept-Encoding: gzip, deflate\n    \u003e  User-Agent: Python/3.6 aiohttp/3.5.4\n    \u003c\n    \u003c Response headers:\n    \u003c  Content-Encoding: gzip\n    \u003c  Accept-Ranges: bytes\n    \u003c  Cache-Control: max-age=604800\n    \u003c  Content-Type: text/html; charset=UTF-8\n    \u003c  Date: Sun, 16 Jun 2019 15:29:41 GMT\n    \u003c  Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT\n    \u003c  Content-Length: 606\n    \u003c\n    \u003c Response data (text/html):\n    \u003c!doctype html\u003e\n    \u003chtml\u003e\n    \u003chead\u003e\n        \u003ctitle\u003eExample Domain\u003c/title\u003e\n        \u003cmeta charset=\"utf-8\" /\u003e\n        \u003cmeta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" /\u003e\n        \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /\u003e\n    \u003c/head\u003e\n\n    \u003cbody\u003e\n    \u003cdiv\u003e\n        \u003ch1\u003eExample Domain\u003c/h1\u003e\n        \u003cp\u003eThis domain is established to be used for illustrative examples in documents. You may use this\n        domain in examples without prior coordination or asking for permission.\u003c/p\u003e\n        \u003cp\u003e\u003ca href=\"http://www.iana.org/domains/example\"\u003eMore information...\u003c/a\u003e\u003c/p\u003e\n    \u003c/div\u003e\n    \u003c/body\u003e\n    \u003c/html\u003e\n    Result (NoneType)\n\n`Read the full documentation on Read the Docs`_\n\n.. _`read the full documentation on read the docs`: https://dbgr.readthedocs.io/en/latest/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubtesarek%2Fdbgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakubtesarek%2Fdbgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubtesarek%2Fdbgr/lists"}