{"id":15722169,"url":"https://github.com/seem/circleci-to-sqlite","last_synced_at":"2026-05-09T01:02:48.229Z","repository":{"id":48452427,"uuid":"389147837","full_name":"seeM/circleci-to-sqlite","owner":"seeM","description":"Save data from CircleCI to a SQLite database","archived":false,"fork":false,"pushed_at":"2021-07-31T09:10:02.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T23:43:31.500Z","etag":null,"topics":["circleci","datasette","datasette-io","datasette-tool","dogsheep","sqlite"],"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/seeM.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}},"created_at":"2021-07-24T16:33:30.000Z","updated_at":"2021-07-31T09:07:06.000Z","dependencies_parsed_at":"2022-08-24T14:10:21.779Z","dependency_job_id":null,"html_url":"https://github.com/seeM/circleci-to-sqlite","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seeM%2Fcircleci-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seeM%2Fcircleci-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seeM%2Fcircleci-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seeM%2Fcircleci-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seeM","download_url":"https://codeload.github.com/seeM/circleci-to-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395572,"owners_count":20770240,"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":["circleci","datasette","datasette-io","datasette-tool","dogsheep","sqlite"],"created_at":"2024-10-03T22:04:46.919Z","updated_at":"2026-05-09T01:02:48.196Z","avatar_url":"https://github.com/seeM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# circleci-to-sqlite\n\n[![PyPI](https://img.shields.io/pypi/v/circleci-to-sqlite.svg)](https://pypi.org/project/circleci-to-sqlite/)\n[![Changelog](https://img.shields.io/github/v/release/seem/circleci-to-sqlite?include_prereleases\u0026label=changelog)](https://github.com/seem/circleci-to-sqlite/releases)\n[![Tests](https://github.com/seem/circleci-to-sqlite/workflows/Test/badge.svg)](https://github.com/seem/circleci-to-sqlite/actions?query=workflow%3ATest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/seem/circleci-to-sqlite/blob/main/LICENSE)\n\nSave data from CircleCI to a SQLite database.\n\n## How to install\n\n    $ pip install circleci-to-sqlite\n\n## Authentication\n\nCreate a CircleCI personal access token: https://app.circleci.com/settings/user/tokens\n\nRun this command and paste in your new token:\n\n    $ circleci-to-sqlite auth\n\nThis will create a file called `auth.json` in your current directory containing the required value. To save the file at a different path or filename, use the `--auth=myauth.json` option.\n\nAs an alternative to using an `auth.json` file you can add your access token to an environment variable called `CIRCLECI_TOKEN`.\n\n## Fetching all data for the current user\n\nThe [`circleci_to_sqlite.sh`](./circleci_to_sqlite.sh) example script shows how to download _all_ data for the current user's followed projects, skipping jobs that already have steps.\n\n    $ ./circleci_to_sqlite.sh\n\n## Fetching followed projects for the current user\n\nThe `projects` command retrieves all of the projects for the current user.\n\n    $ circleci-to-sqlite projects circleci.db\n\n## Fetching jobs for a project\n\nThe `jobs` command retrieves all of the jobs belonging to a project. A project is specified by its slug, which has the form `{vcs_type}/{username}/{reponame}`.\n\n    $ circleci-to-sqlite jobs circleci.db github/seem/circleci-to-sqlite\n\n## Fetching steps for a job\n\nThe `steps` command retrieves all of the steps and their actions belonging to a job.\n\n    $ circleci-to-sqlite steps circleci.db github/seem/circleci-to-sqlite 8\n\n## Development\n\nTo contribute to this tool, first checkout the code. Then create a new virtual environment:\n\n    cd circleci-to-sqlite\n    python -mvenv venv\n    source venv/bin/activate\n\nOr if you are using `pipenv`:\n\n    pipenv shell\n\nNow install the dependencies and tests:\n\n    pip install -e '.[test]'\n\nTo run the tests:\n\n    pytest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseem%2Fcircleci-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseem%2Fcircleci-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseem%2Fcircleci-to-sqlite/lists"}