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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42dfe1de92fa74edddd0a244190f595d6db6b84bb18d34b2c50fa143183024d7 |
|
MD5 | 9ee34acd884a7419653880c9779a69e5 |
|
BLAKE2b-256 | 7a987f5946d7ba4411e8a202c1acad78e4fc61f19a03c6a0ed6cffb3d8e870a3 |
Close
Hashes for github_secret_syncer-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fc07eacfc821ab8dc7ebf2bdb7a3f7c8a76abc0b20b2302f9610f9fda8ed6de |
|
MD5 | 7de7c5bb0b7dea3e63fafcd787848635 |
|
BLAKE2b-256 | be38aa3264a16fd9fb02a19869786d0d1dfed88e86faee81c6c80fe8fac567f3 |