{"id":25250008,"url":"https://github.com/zyv/github-issues-import","last_synced_at":"2026-04-01T20:43:37.439Z","repository":{"id":276467978,"uuid":"929022381","full_name":"zyv/github-issues-import","owner":"zyv","description":"Modern, typesafe Python client for GitHub's unofficial API for importing issues","archived":false,"fork":false,"pushed_at":"2025-07-01T05:27:21.000Z","size":211,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T06:27:45.325Z","etag":null,"topics":["github","github-api","github-issues-migrate","httpx","pydantic"],"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/zyv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["zyv"]}},"created_at":"2025-02-07T17:03:10.000Z","updated_at":"2025-07-01T05:27:24.000Z","dependencies_parsed_at":"2025-02-27T07:44:44.808Z","dependency_job_id":"8dab2f40-90ad-430a-a1f4-eba3c07b4f15","html_url":"https://github.com/zyv/github-issues-import","commit_stats":null,"previous_names":["zyv/github-issues-import"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/zyv/github-issues-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyv%2Fgithub-issues-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyv%2Fgithub-issues-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyv%2Fgithub-issues-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyv%2Fgithub-issues-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zyv","download_url":"https://codeload.github.com/zyv/github-issues-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyv%2Fgithub-issues-import/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266914602,"owners_count":24005594,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github","github-api","github-issues-migrate","httpx","pydantic"],"created_at":"2025-02-12T03:52:01.781Z","updated_at":"2026-04-01T20:43:37.401Z","avatar_url":"https://github.com/zyv.png","language":"Python","readme":"# GitHub Issues Import API Client for Python\n\n[![PyPI License](https://img.shields.io/pypi/l/github-issues-import)](https://github.com/zyv/github-issues-import/blob/main/LICENSE)\n[![PyPI project](https://img.shields.io/pypi/v/github-issues-import.svg?logo=python\u0026logoColor=edb641)](https://pypi.python.org/pypi/github-issues-import)\n![Python versions](https://img.shields.io/pypi/pyversions/github-issues-import.svg?logo=python\u0026logoColor=edb641)\n[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://docs.pydantic.dev/latest/contributing/#badges)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![CI](https://github.com/zyv/github-issues-import/workflows/CI/badge.svg)](https://github.com/zyv/github-issues-import/actions)\n\nModern, typesafe Python client for GitHub's unofficial API for importing issues.\n\nThis package is based on the [API description](https://gist.github.com/jonmagic/5282384165e0f86ef105) by [jonmagic](https://github.com/jonmagic). Unlike the official REST or GraphQL APIs, this API allows you to keep the timestamps of the imported issues and comments.\n\n## Installation\n\n```shell\n$ pip install github-issues-import\n```\n\n## Dependencies\n\n* [Pydantic V2](https://pydantic.dev)\n* [httpx](https://www.python-httpx.org)\n\n## Usage\n\n```python\nimport os\nfrom github_issues_import.client import ApiClient, HttpClient\nfrom github_issues_import.models import IssueImportRequest, Issue, Comment\n\nclient = ApiClient(http_client=HttpClient(token=os.environ[\"GITHUB_TOKEN\"]))\n\nstatus = client.import_issue(\"jonmagic\", \"i-got-issues\", IssueImportRequest(\n    issue=Issue(\n        title=\"My money, mo issues\",\n        body=\"Required!\"\n    ),\n    comments=[Comment(body=\"talk talk\")],\n))\n\nresult = client.get_status(status.url)\nprint(result)\n```\n\n### Advanced usage\n\n```python\nimport os\nimport httpx\nfrom github_issues_import.client import ApiClient, HttpClient\n\n# httpx client options\nclient1 = ApiClient(http_client=HttpClient(token=os.environ[\"GITHUB_TOKEN\"], timeout=60))\n\n# own httpx-based client\nclient2 = ApiClient(http_client=httpx.Client(base_url=HttpClient.BASE_URL))\n```\n\n## Development\n\nTo release a new version and publish it to PyPI:\n\n* Bump version with `hatch` and commit\n  * `hatch version minor` or `hatch version patch`\n* Create GitHub release (and tag)\n","funding_links":["https://github.com/sponsors/zyv"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyv%2Fgithub-issues-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyv%2Fgithub-issues-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyv%2Fgithub-issues-import/lists"}