{"id":18622110,"url":"https://github.com/0xpuddi/algorithms","last_synced_at":"2025-06-20T14:10:25.516Z","repository":{"id":223945073,"uuid":"761814636","full_name":"0xPuddi/Algorithms","owner":"0xPuddi","description":"A collection of algos written in python, detailed with time and space complexity","archived":false,"fork":false,"pushed_at":"2024-06-28T14:17:12.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T14:08:44.105Z","etag":null,"topics":["algorithms","data-structures","python3"],"latest_commit_sha":null,"homepage":"","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/0xPuddi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-22T14:42:34.000Z","updated_at":"2024-08-26T10:47:16.000Z","dependencies_parsed_at":"2024-03-16T20:06:24.343Z","dependency_job_id":"7ab10312-941e-42b6-a79c-d0fa60760f91","html_url":"https://github.com/0xPuddi/Algorithms","commit_stats":null,"previous_names":["puddi1/algorithms","0xpuddi/algorithms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xPuddi/Algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FAlgorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FAlgorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FAlgorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FAlgorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xPuddi","download_url":"https://codeload.github.com/0xPuddi/Algorithms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FAlgorithms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260959193,"owners_count":23088821,"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":["algorithms","data-structures","python3"],"created_at":"2024-11-07T04:15:37.874Z","updated_at":"2025-06-20T14:10:20.499Z","avatar_url":"https://github.com/0xPuddi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algorithms\n\nThis is a collection of algos written in python, detailed with time and space complexity\n\n## Usage\nTo run any algorithm simply,\n\nClone the repo:\n```sh\ngit clone git@github.com:Puddi1/Algorithms.git ./algos\ncd algos\n```\n\nCreate a python3 environment for the project:\n```sh\npython3 -m venv .myvenv\n```\n\nActivate it:\n```sh\nsource .myvenv/bin/activate\n```\n\nInstall needed packages:\n```sh\npip install -r requirements.txt\n```\n\nFinally, run an algorithm from top level directory as a module:\n```sh\npython3 -m src.algorithms.\u003cscript name\u003e\n```\n\nOr a data strcture:\n```sh\npython3 -m src.data_structures.\u003cscript name\u003e\n```\n\nRunning files from top level directory as a module is needed as there are both algorithms and data structures, which are two submodules, that import each others.\n\nTo exit the environment:\n```sh\ndeactivate\n```\n\n\n## Todo\nThe repo really needs some cleaning","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpuddi%2Falgorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xpuddi%2Falgorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpuddi%2Falgorithms/lists"}