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.1-py3-none-any.whl
.
File metadata
- Download URL: github_to_sqlite-0.1.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 | fb8adbf1040d7b2a5d565598c2c2e55261cdedfc4f5daf997e56070aae48780f |
|
MD5 | 09d20bafcc797d2a6755be3f3c5500ea |
|
BLAKE2b-256 | f232f328ec3667c391def83bc7f5d2422c7ff2b66dadf08fdc66d4f4d4d6a391 |