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
Close
Hashes for github-secret-syncer-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44876f40a2ec726163abb6324018adcb7688e0ed97e9de50c511f0a831c14c5 |
|
MD5 | af70e88474c6282ab71b463566d95f72 |
|
BLAKE2b-256 | 6239351543d262b56b654d70c4f537868bda4d1115cd840cb0d7a41fdeee4c70 |
Close
Hashes for github_secret_syncer-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e8ae15aeaba23b0c638d94880ba1744f96516ffc85d2774fa9d87ddd1a6d36 |
|
MD5 | b997de2a7d451b481f75539f85f1fcde |
|
BLAKE2b-256 | 26944c04d1049f75af414c02cde21dade8b671b80a699411b4b2ada22b79557d |