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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafd4411ff51d2e5b7fd5a8a513a212c2a17642fa7487ff59ef89fcbe335ceaf |
|
MD5 | 5c162b26549577cd7794662462fc1096 |
|
BLAKE2b-256 | f5efbbf2c2afd1e5697e3d51fb80fc7d1d7cc1ee7a4f4ef91ddff133b3131201 |
Close
Hashes for github_secret_syncer-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b4996a8603808af9c786325bd79b0309f77c1d7f72cada76b121a7325dce718 |
|
MD5 | 45f245c13fd4c1f62be61e15944a4479 |
|
BLAKE2b-256 | dd87d2e63a46ee2d3214d92cc4decb75fc2c868fd2ca2cd6f071f5a075279b08 |