{"id":16237276,"url":"https://github.com/christopherpickering/pre-commit-hooks","last_synced_at":"2026-03-05T18:03:54.209Z","repository":{"id":57453898,"uuid":"364967555","full_name":"christopherpickering/pre-commit-hooks","owner":"christopherpickering","description":"Pre-commit hook to convert Poetry dependencies to pip requirements file","archived":false,"fork":false,"pushed_at":"2026-03-02T16:23:31.000Z","size":19539,"stargazers_count":3,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-02T19:50:14.185Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christopherpickering.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"christopherpickering","custom":"https://venmo.com/code?user_id=3118520086822912596\u0026created=1655827155"}},"created_at":"2021-05-06T16:08:30.000Z","updated_at":"2024-12-30T22:26:01.000Z","dependencies_parsed_at":"2024-02-25T12:24:36.110Z","dependency_job_id":"10646489-66b1-4282-bce7-9dde920b16ee","html_url":"https://github.com/christopherpickering/pre-commit-hooks","commit_stats":{"total_commits":22,"total_committers":5,"mean_commits":4.4,"dds":0.5454545454545454,"last_synced_commit":"99a22bcc2b938983f252498316d989f0b4d6817a"},"previous_names":["christopherpickering/pre-commit-poetry-to-requirements"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/christopherpickering/pre-commit-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherpickering%2Fpre-commit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherpickering%2Fpre-commit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherpickering%2Fpre-commit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherpickering%2Fpre-commit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christopherpickering","download_url":"https://codeload.github.com/christopherpickering/pre-commit-hooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherpickering%2Fpre-commit-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30141298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10T13:35:09.293Z","updated_at":"2026-03-05T18:03:54.184Z","avatar_url":"https://github.com/christopherpickering.png","language":"Python","funding_links":["https://github.com/sponsors/christopherpickering","https://venmo.com/code?user_id=3118520086822912596\u0026created=1655827155"],"categories":[],"sub_categories":[],"readme":"# Pre-commit hooks\n\n[![codecov](https://codecov.io/gh/christopherpickering/pre-commit-hooks/branch/master/graph/badge.svg?token=TY1AWZZ2JB)](https://codecov.io/gh/christopherpickering/pre-commit-hooks)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/christopherpickering/pre-commit-hooks/master.svg)](https://results.pre-commit.ci/latest/github/christopherpickering/pre-commit-hooks/master)\n[![test](https://github.com/christopherpickering/pre-commit-hooks/actions/workflows/test.yaml/badge.svg)](https://github.com/christopherpickering/pre-commit-hooks/actions/workflows/test.yaml)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/poetry-to-requirements)\n![PyPI](https://img.shields.io/pypi/v/poetry-to-requirements)\n\n## Poetry to Pip requirements\n\nThis pre-commit hook can be used to generate a [requirements](https://pip.pypa.io/en/stable/user_guide/#requirements-files) file for pip from Poetry's dependency list.\n\n### General Usage\n\nIn each of your repos, add a file called .pre-commit-config.yaml with the following contents:\n\n```yaml\nrepos:\n  - repo: https://github.com/christopherpickering/pre-commit-hooks\n    rev: \u003cVERSION\u003e # Get the latest from: https://github.com/christopherpickering/pre-commit-hooks/releases\n    hooks:\n      - id: poetry-to-requirements\n        args: [--dev,--output=subfolder/requirements.txt]\n\n```\n\n### Arguments\n\n -  --dev: include dev requirements. Default= False\n -  --output=folder/requirements.txt: output file name. Default= requirements.txt. This path should be relative to the --input path.\n -  (optional) --input=path/to/project_root: path to the project root. Default= .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopherpickering%2Fpre-commit-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristopherpickering%2Fpre-commit-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopherpickering%2Fpre-commit-hooks/lists"}