{"id":20777601,"url":"https://github.com/semgrep/poetry-codeartifact-plugin","last_synced_at":"2025-10-08T10:54:27.694Z","repository":{"id":59769811,"uuid":"528031788","full_name":"semgrep/poetry-codeartifact-plugin","owner":"semgrep","description":"A Poetry plugin for interfacing with CodeArtifact repositories","archived":false,"fork":false,"pushed_at":"2024-02-21T20:27:12.000Z","size":212,"stargazers_count":17,"open_issues_count":4,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-30T18:42:35.229Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/semgrep.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}},"created_at":"2022-08-23T14:37:37.000Z","updated_at":"2025-01-31T10:18:13.000Z","dependencies_parsed_at":"2024-01-12T00:33:18.985Z","dependency_job_id":"3a7318dd-6515-4d67-bdba-1d0997dccdd4","html_url":"https://github.com/semgrep/poetry-codeartifact-plugin","commit_stats":null,"previous_names":["semgrep/poetry-codeartifact-plugin","returntocorp/poetry-codeartifact-plugin"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/semgrep/poetry-codeartifact-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semgrep%2Fpoetry-codeartifact-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semgrep%2Fpoetry-codeartifact-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semgrep%2Fpoetry-codeartifact-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semgrep%2Fpoetry-codeartifact-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semgrep","download_url":"https://codeload.github.com/semgrep/poetry-codeartifact-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semgrep%2Fpoetry-codeartifact-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278931659,"owners_count":26070788,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-17T13:16:15.064Z","updated_at":"2025-10-08T10:54:27.663Z","avatar_url":"https://github.com/semgrep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poetry-codeartifact-plugin\n\nThis Poetry plugin automatically refreshes your authorization token when working with CodeArtifact repositories.\n\n## Installation\n\nRun this to install the plugin:\n`poetry self add poetry-codeartifact-plugin`\n\nAnd to remove:\n`poetry self remove poetry-codeartifact-plugin`\n\n## Usage\n\nNo configuration or workflow changes are needed. If the plugin detects a HTTP 401 or 403 from a CodeArtifact URL, it will refresh your authorization token and retry the request.\n\nThis assumes that your local AWS creds are up-to-date -- if not, your command will still fail.\n\n\n## Adding a CodeArtifact repository\n\nAdd this snippet to your project's `pyproject.toml`:\n\n```toml\n[[tool.poetry.source]]\nname = \"codeartifact-pypi\"  # arbitrary, just don't reuse repository names between CodeArtifact repos\nurl = \"https://DOMAIN-123412341234.d.codeartifact.us-west-2.amazonaws.com/REPO/pypi/simple/\"  # get this URL from your CodeArtifact dashboard or the GetRepositoryEndpoint API call\n```\n\nLearn more about Poetry repositories here: https://python-poetry.org/docs/repositories/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemgrep%2Fpoetry-codeartifact-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemgrep%2Fpoetry-codeartifact-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemgrep%2Fpoetry-codeartifact-plugin/lists"}