{"id":25847758,"url":"https://github.com/alyshmahell/pyprofyler","last_synced_at":"2026-06-03T20:31:18.425Z","repository":{"id":37601859,"uuid":"178643551","full_name":"AlyShmahell/PyProfyler","owner":"AlyShmahell","description":"a simple memory profiler for python programs.","archived":false,"fork":false,"pushed_at":"2022-06-21T21:51:07.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T04:04:52.042Z","etag":null,"topics":["application","memory","profiler","python"],"latest_commit_sha":null,"homepage":null,"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/AlyShmahell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-31T04:46:09.000Z","updated_at":"2020-04-18T11:10:45.000Z","dependencies_parsed_at":"2022-08-25T22:12:20.297Z","dependency_job_id":null,"html_url":"https://github.com/AlyShmahell/PyProfyler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlyShmahell%2FPyProfyler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlyShmahell%2FPyProfyler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlyShmahell%2FPyProfyler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlyShmahell%2FPyProfyler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlyShmahell","download_url":"https://codeload.github.com/AlyShmahell/PyProfyler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241354232,"owners_count":19949215,"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":["application","memory","profiler","python"],"created_at":"2025-03-01T10:35:21.182Z","updated_at":"2025-11-25T03:03:25.540Z","avatar_url":"https://github.com/AlyShmahell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyProfyler\na simple memory profiler for python programs.\n\n## Installation:\n```sh\nsudo pip3 install git+https://github.com/AlyShmahell/PyProfyler\n```\nor  \n```sh\nsudo pip3 install pyprofyler\n```\n## Example:\n```python\nfrom pyprofyler import PyProfyler\n\ndef wrapped_function():\n    array = []\n    for i in range(1,1000000):\n        array.append(i)\n    return array\n\n@PyProfyler\ndef decorated_function():\n    a_list = []\n    for i in range(1,1000000):\n        a_list.append(i)\n    return a_list\n\nif __name__ == '__main__':\n    ##############################################\n    #    Profiling a function by wrapping it     #\n    ##############################################\n    wrapped_profile = PyProfyler(wrapped_function)\n    # \"Not Profiled Yet\" Message\n    print(wrapped_profile)\n    result = wrapped_profile()\n    # Profile Message, through __str__\n    print(wrapped_profile)\n    # Function Execution Result\n    print(f\"execution result: {result[10]}\")\n    # Profile Message, through __getitem__\n    print(wrapped_profile['profile'])\n    ##############################################\n    #      Profiling a decorated function        #\n    ##############################################\n    # \"Not Profiled Yet\" Message\n    print(decorated_function)\n    result = decorated_function()\n    # Profile Message, through __str__\n    print(decorated_function)\n    # Function Execution Result\n    print(f\"execution result: {result[10]}\")\n    # Profile Message, through __getitem__\n    print(decorated_function['profile'])\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyshmahell%2Fpyprofyler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falyshmahell%2Fpyprofyler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyshmahell%2Fpyprofyler/lists"}