Save data from GitHub to a SQLite database
Project description
github-to-sqlite
Save data from GitHub to a SQLite database.
How to install
$ pip install github-to-sqlite
Authentication
Create a GitHub personal access token: https://github.com/settings/tokens
Run this command and paste in your new token:
$ github-to-sqlite auth
This 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.
Retrieving issues for a repository
The issues
command retrieves all of the issues belonging to a specified repository.
$ github-to-sqlite issues github.db simonw/datasette
If an auth.json
file is present it will use the token from that file. It works without authentication for public repositories but you should be aware that GitHub have strict IP-based rate limits for unauthenticated requests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file github_to_sqlite-0.1-py3-none-any.whl
.
File metadata
- Download URL: github_to_sqlite-0.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d19202d5acb914ea34a2a946e62e921369ffb65b47d8ab02224d7a520c47b14 |
|
MD5 | 7b49db2d2715cdbed6dde330efe2f18c |
|
BLAKE2b-256 | f18d0cc6eb474a87af737a6522095d5b70ebe8ce4f4e975e3c2d3e88af80581d |