{"id":17551016,"url":"https://github.com/brianlusina/pythonsnips","last_synced_at":"2025-04-24T02:12:23.438Z","repository":{"id":41016094,"uuid":"60041832","full_name":"BrianLusina/PythonSnips","owner":"BrianLusina","description":"Python Snippets containing small Python :snake: programs, algorithms and puzzles","archived":false,"fork":false,"pushed_at":"2025-03-18T05:40:47.000Z","size":21591,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-24T02:12:15.410Z","etag":null,"topics":["algorithms","hacktoberfest","python-snippets"],"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/BrianLusina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-05-30T22:13:08.000Z","updated_at":"2025-03-18T05:40:51.000Z","dependencies_parsed_at":"2023-10-11T07:37:45.804Z","dependency_job_id":"4db9b385-552b-403e-a159-5d93b7b69700","html_url":"https://github.com/BrianLusina/PythonSnips","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLusina%2FPythonSnips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLusina%2FPythonSnips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLusina%2FPythonSnips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLusina%2FPythonSnips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrianLusina","download_url":"https://codeload.github.com/BrianLusina/PythonSnips/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250546086,"owners_count":21448260,"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","hacktoberfest","python-snippets"],"created_at":"2024-10-21T04:44:38.602Z","updated_at":"2025-04-24T02:12:23.421Z","avatar_url":"https://github.com/BrianLusina.png","language":"Python","readme":"## Python Snippets\n\n[![Build Status](https://travis-ci.org/BrianLusina/Python_Snippets.svg?branch=master)](https://travis-ci.org/BrianLusina/Python_Snippets)\n\nRepository for some of my simple [Python](https://www.python.org/ \"Python\") functions and snippets. Each directory\nand/or python package has a readme for more information about the Python program\n\nClone the repo\n\n``` sh\ngit clone\n\n```\n\nActivate a virtual env\n\n``` sh\nvirtualenv venv\n```\n\nor activate a virtual env with Python 3.+(this is recommended as most snippets run on Python3)\n\n``` sh\nvirtualenv -p python3 venv\n```\n\ninstall the requirements\n\n``` sh\npoetry install\n```\n\n**Enjoy!**\n\n### Running tests\n\nTo run tests use `py.test`\n\n``` sh\n$ py.test tests\n```\n\n\u003e This will run all the tests in the tests directory\n\nTo add tests, name your test folders `test_\u003cMODULE_TO_TEST\u003e.py`. This is to enable py.test to detect your tests. Place\nthese tests in the `tests` folder.\n\n#### Special file (documenter)\n\nI call this special because it prints out the documentation for Python built in functions Python has many built-in\nfunctions, and if you do not know how to use it, you can read document online or find some books. But Python has a\nbuilt-in document function for every built-in functions. Prints some Python built-in functions documents, such as abs(),\nint(), raw_input()\n\n\u003e Hint The built-in document method is __doc__ is used\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianlusina%2Fpythonsnips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianlusina%2Fpythonsnips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianlusina%2Fpythonsnips/lists"}