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",
github_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
Close
Hashes for github-secret-syncer-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 709f2ef7e608ebd953a2c220c82f1c8d0402a5294db558ab6d8ae08101b2fb2e |
|
MD5 | 8f3c1d39259ed77549cea7d926a8e349 |
|
BLAKE2b-256 | 063daf8616c84c1274f16c15a22e4fccdbd5e03eebde4508e2b3e0c5b727b373 |
Close
Hashes for github_secret_syncer-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc122c4f1fcf457cd8e374a76a9325e0de52f32262c9cb7a56c88aaa446392c |
|
MD5 | a53cff60bc2fb953de78b3e0f831dbbc |
|
BLAKE2b-256 | 903de0f070ef04c1725be78be19e89c007701d3b4da07746e82cde5e3f703128 |