{"id":13781894,"url":"https://github.com/navdeep-G/showme","last_synced_at":"2025-05-11T15:32:06.303Z","repository":{"id":57466933,"uuid":"774647","full_name":"navdeep-G/showme","owner":"navdeep-G","description":"Quick application debugging and analysis for Python","archived":false,"fork":false,"pushed_at":"2023-01-31T18:34:09.000Z","size":33,"stargazers_count":190,"open_issues_count":2,"forks_count":17,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-01T12:04:20.728Z","etag":null,"topics":["debugging","python"],"latest_commit_sha":null,"homepage":"https://github.com/navdeep-G/showme","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/navdeep-G.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2010-07-14T14:11:36.000Z","updated_at":"2025-04-29T17:14:01.000Z","dependencies_parsed_at":"2023-02-16T19:30:38.664Z","dependency_job_id":null,"html_url":"https://github.com/navdeep-G/showme","commit_stats":null,"previous_names":["kennethreitz/showme"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fshowme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fshowme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fshowme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fshowme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navdeep-G","download_url":"https://codeload.github.com/navdeep-G/showme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253588625,"owners_count":21932289,"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":["debugging","python"],"created_at":"2024-08-03T18:01:30.495Z","updated_at":"2025-05-11T15:32:05.973Z","avatar_url":"https://github.com/navdeep-G.png","language":"Python","readme":"ShowMe -- Quick and easy debugging for Python\n=============================================\n\nShowMe is a simple set of extremely useful function decorators for Python.\nIt allows you to view trace information, execution time, cputime, and function\ndocumentation.\n\n\nInstallation\n------------\n\nTo use **showme**, simply:\n\n``pip install showme``\n\nor, if you must:\n\n``easy_install showme``\n\n\nUsage\n-----\n\nPrint passed-in arguments and function calls. ::\n\n    @showme.trace\n    def complex_function(a, b, c, **kwargs):\n        ...\n    \n    \n    \u003e\u003e\u003e complex_function('alpha', 'beta', False, debug=True)\n    calling haystack.submodule.complex_function with \n       args: ({'a': 'alpha', 'b': 'beta', 'c': False},)\n       kwargs: {'debug': True}\n\n\nPrint function execution time. ::\n\n    @showme.time\n    def some_function(a):\n        ...\n    \n    \u003e\u003e\u003e some_function()\n    Execution speed of __main__.some_function:\n    0.000688076019287 seconds\n    \nPrint function cpu-execution time. ::\n\n    @showme.cputime\n    def complex_function(a, b, c):\n        ...\n\n    \u003e\u003e\u003e complex_function()\n    CPU time for __main__.complex_function:\n         3 function calls in 0.013 CPU seconds\n        \n   ncalls  tottime  percall  cumtime  percall filename:lineno(function)\n        1    0.013    0.013    0.013    0.013 test_time.py:6(test)\n        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}\n        1    0.000    0.000    0.000    0.000 {range}\n\n\n.. Print local variables available at runtime. ::\n..  \n..  @showme.locals\n..  def complex_function(a, b, c):\n..      ...\n\n\nPretty print function documentation. ::\n    \n    @showme.docs\n    def complex_function():\n        \"\"\"Example Documentation for complex_function.\"\"\"\n        ...\n        \n    \u003e\u003e\u003e complex_function()\n    Documentation for __main__.complex_function:\n    Example Documentation for complex_function.\n    \n","funding_links":[],"categories":["Python decorator in the wild"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavdeep-G%2Fshowme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavdeep-G%2Fshowme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavdeep-G%2Fshowme/lists"}