{"id":18918647,"url":"https://github.com/sparkmeter/sentry2csv","last_synced_at":"2025-04-15T10:33:04.343Z","repository":{"id":35163733,"uuid":"213063238","full_name":"sparkmeter/sentry2csv","owner":"sparkmeter","description":"Export Sentry issues to CSV","archived":false,"fork":false,"pushed_at":"2022-05-25T14:41:33.000Z","size":45,"stargazers_count":20,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T20:11:12.431Z","etag":null,"topics":["csv","hacktoberfest","reporting","sentry"],"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/sparkmeter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-05T19:59:21.000Z","updated_at":"2024-04-20T11:37:05.000Z","dependencies_parsed_at":"2022-07-24T18:17:42.833Z","dependency_job_id":null,"html_url":"https://github.com/sparkmeter/sentry2csv","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fsentry2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fsentry2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fsentry2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fsentry2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparkmeter","download_url":"https://codeload.github.com/sparkmeter/sentry2csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248768557,"owners_count":21158662,"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":["csv","hacktoberfest","reporting","sentry"],"created_at":"2024-11-08T10:33:00.776Z","updated_at":"2025-04-15T10:33:04.053Z","avatar_url":"https://github.com/sparkmeter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sentry2csv\n\n![](https://github.com/sparkmeter/sentry2csv/workflows/lint/badge.svg)\n[![](https://img.shields.io/pypi/v/sentry2csv)](https://pypi.org/project/sentry2csv/)\n![](https://img.shields.io/pypi/pyversions/sentry2csv)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![](https://img.shields.io/pypi/l/sentry2csv)](https://github.com/sparkmeter/sentry2csv/blob/master/LICENSE)\n\nDump Sentry issues to CSV for further analysis.\n\n```bash\n$ sentry2csv --token f9u3fdu821ed9j10sj19kjd991010 sparkmeter TopSecretProject13\nFetching issues page 1\nExported to sparkmeter-TopSecretProject13-export.csv\n$ head -2 sparkmeter-TopSecretProject13-export.csv\nError,Location,Details,Events,Users,Notes,Link\nAttributeError,secret_project.tasks.remove_every_zig,'NoneType' object has no attribute 'zig_count',12,1,,https://sentry.io/organizations/sparkmeter/issues/129481/\n```\n\n## Installation\n\n[sentry2csv is available on PyPI](https://pypi.org/project/sentry2csv/).\n\n**pipx (reccomended)**\n\n[pipx](https://pypi.org/project/pipx/) is a tool that allows you to install and run Python applications in isolated environments.\n\n1. Install pipx, following their instructions\n2. Install sentry2csv: `pipx install sentry2csv`\n\n**pip**\n\nAlternatively, you can install sentry2csv using standard pip.\n\n1. `pip3 install sentry2csv`\n\n\n## Use\n\n1. Get a Sentry API Token from https://sentry.io/settings/account/api/auth-tokens/\n2. Run the exporter: `sentry2csv --token \u003cAPI_TOKEN\u003e \u003cSENTRY_ORG\u003e \u003cSENTRY_PROJECT\u003e`\n    * For example, `sentry2csv --token f9u3fdu821ed9j10sj19kjd991010 sparkmeter TopSecretProject13`\n\nThis also accepts an optional `--enrich` flag. Enrichments augment issues with data from the latest event.\nAn enrichment is in the form of `dotted.sentry.path=CSV_Field_Name`, and multiple enrichments are comma-separated.\n\n## Development\n1. Clone this repository\n2. Create a virtualenv with Python 3.7 or greater\n   * e.g., `mkvirtualenv -p $(which python3.7) sentry2csv`\n3. Install the package in editable mode: `pip install -e .[dev]`\n4. Hack away!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkmeter%2Fsentry2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkmeter%2Fsentry2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkmeter%2Fsentry2csv/lists"}