{"id":20109186,"url":"https://github.com/pyupio/github-requirements","last_synced_at":"2025-05-06T10:31:17.226Z","repository":{"id":21682374,"uuid":"93755551","full_name":"pyupio/github-requirements","owner":"pyupio","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-12T18:27:35.000Z","size":15452,"stargazers_count":10,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T11:48:40.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pyupio.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":"2017-06-08T13:56:35.000Z","updated_at":"2025-02-06T04:50:57.000Z","dependencies_parsed_at":"2022-07-27T02:47:17.271Z","dependency_job_id":null,"html_url":"https://github.com/pyupio/github-requirements","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/pyupio%2Fgithub-requirements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyupio%2Fgithub-requirements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyupio%2Fgithub-requirements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyupio%2Fgithub-requirements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyupio","download_url":"https://codeload.github.com/pyupio/github-requirements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252665913,"owners_count":21785167,"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-11-13T18:07:21.742Z","updated_at":"2025-05-06T10:31:12.201Z","avatar_url":"https://github.com/pyupio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nA big bundle of requirements files from public GitHub repos.\n\n# Files\n\nRaw requirements data is in `data.json`. To read individual requirement files:\n\n```\nwith open('data.json') as f:\n    for line in f.readlines():\n        data = json.loads(line)\n```\n\nA pre-processed index is available at `index.json`. It contains a breakdown of all individual requirements for a given package.\n\n```\n{\n  \"sqlalchemy\": {\n    \"\": 1662,\n    \"==0.9.3\": 117,\n    \"\u003c=0.9.99,\u003e=0.9.7,\u003e=0.8.4,\u003c=0.8.99\": 56,\n    \"==1.0.14\": 189,\n    \"==1.0.9\": 237,\n    \"\u003e=1.0.4\": 8,\n    \"\u003e=0.9.7,\u003c1.1.0\": 121,\n    \"==1.0.13\": 221,\n    \"==1.0.4\": 629,\n    \"\u003e=0.7\": 24,\n    \"\u003e=0.7.8,\u003c=0.7.99\": 69,\n    \"==1.1.6\": 146,\n    \"==0.9.9\": 498,\n    \"==0.9.8\": 738,\n    \"==0.9.4\": 318,\n    \"==1.0.8\": 433,\n    \"==1.1.3\": 113,\n    \"==0.7.6\": 22\n    ...\n  }\n  ...\n}\n```\n\n\n# Query used\n```\nSELECT\n F.repo_name,\n F.path,\n C.content\nFROM (\n    SELECT\n      repo_name,\n      path,\n      id\n    FROM\n      [bigquery-public-data:github_repos.files]\n    WHERE\n      REGEXP_MATCH (path, r'.*requirements.*\\.(pip|txt)')\n    )\n    AS F\n\n    JOIN [bigquery-public-data:github_repos.contents] as C\n    ON F.ID = C.ID\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyupio%2Fgithub-requirements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyupio%2Fgithub-requirements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyupio%2Fgithub-requirements/lists"}