{"id":17837936,"url":"https://github.com/sampoder/pyclid","last_synced_at":"2025-04-02T13:46:05.114Z","repository":{"id":55585262,"uuid":"182083382","full_name":"sampoder/pyclid","owner":"sampoder","description":"🤔 Pyclid is a simple python module / library that calculates the highest common factor based on Euclid's Algorithm.","archived":false,"fork":false,"pushed_at":"2020-06-10T06:59:27.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T04:44:30.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sampoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-04-18T12:26:43.000Z","updated_at":"2022-08-10T16:19:51.000Z","dependencies_parsed_at":"2022-08-15T03:40:40.154Z","dependency_job_id":null,"html_url":"https://github.com/sampoder/pyclid","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/sampoder%2Fpyclid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sampoder%2Fpyclid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sampoder%2Fpyclid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sampoder%2Fpyclid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sampoder","download_url":"https://codeload.github.com/sampoder/pyclid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246827558,"owners_count":20840461,"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":[],"created_at":"2024-10-27T20:49:28.949Z","updated_at":"2025-04-02T13:46:05.089Z","avatar_url":"https://github.com/sampoder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤔 pyclid\n![Python](https://img.shields.io/badge/Built%20With-Python-yellow.svg) ![Progress](https://img.shields.io/badge/Progress-Beta-orange.svg)\n\nPyclid is a simple python library that calculates the highest common factor based on [Euclid's Algorithm](https://en.wikipedia.org/wiki/Euclidean_algorithm).\n\n## Set Up\n\nTo create an example python script that uses the Pyclid library run the simple commands below with Terminal, Command Prompt or your OS's alternative. Then use a text editor to edit the file we will create.\n\nNote: You will need to install [Python](https://www.python.org/downloads/).\n\n## Linux \u0026 Mac \n\n```bash\nmkdir Pyclid-Example\n\ncd Pyclid-Example\n\ngit clone https://github.com/sampoder/pyclid.git\n\ntouch example.py\n\nnano example.py #Include all the python code below.\n\n#Make sure to save the file correctly\n\npython example.py\n```\n\n## Windows \n\n```bash\nmkdir Pyclid-Example\n\ncd Pyclid-Example\n\ngit clone https://github.com/sampoder/pyclid.git\n\necho . -\u003e example.py #We will delete the dot later\n\nedit example.py #Include all the python code below and delete the \".\" we made.\n\n#Make sure to save the file correctly\n\npython example.py\n```\n\n## Python Code\n\nPlace the below code in your example.py document\n\n```python\nfrom Pyclid import pyclid #Here we import our library\n \nx = pyclid.returnHCF(288,160) #Here we call the library with our two numbers. \n\n# Important: Make sure our larger number comes first.\n\nprint(x) #Here we display our results\n```\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nIf you find a bug please report it using GitHub Issues.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsampoder%2Fpyclid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsampoder%2Fpyclid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsampoder%2Fpyclid/lists"}