Github Secret Syncer.
Project description
Github Secret Syncer
Synchronize Github secrets with local .env
file.
Quickstart
Install it with pip:
pip install github-secret-syncer
Have a .env
and quickstart.py
from pathlib import Path
import github_secret_syncer
base_dir = Path(__file__).parent
github_secret_syncer.sync_secrets(
dotenv_path=base_dir / ".env",
owner="your_github_username",
repo="your_github_repo_name",
pat="your_github_personal_access_token",
)
You will get some output like this:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file github-secret-syncer-0.0.7.tar.gz
.
File metadata
- Download URL: github-secret-syncer-0.0.7.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fda61440a39f6ec9744eade7436a287caa0130dc0e94b63df152f112f4ff0ca |
|
MD5 | 0c32dbd4d877e64e53832e00d339049f |
|
BLAKE2b-256 | df2868e241249eeae9251b013a8cd20fd80ebea1e3c4807d04c719174deeda11 |
File details
Details for the file github_secret_syncer-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: github_secret_syncer-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbf45f270667a3b57e2181cc7f534563787e21ff16fbbfc158de93a8073ee483 |
|
MD5 | c630f30951def3649f80f005a03f866a |
|
BLAKE2b-256 | 12f39c8a76dd0e4db343302f74867b0b68152508c96149905c2453f108ef02a8 |