An all-repos extension to read values from environment variables.
Project description
all-repos-envvar
An all-repos extension to read values from environment variables.
Installation
Install this via pip (or your favourite package manager):
pip install all-repos-envvar
Usage
This library should be installed alongside all-repos so that it's findable at import time. It provides a custom source and push to get the GitHub API key from an environment variable GITHUB_API_KEY, allowing you to omit it from the config:
{
"output_dir": "output",
"source": "all_repos_envvar.source",
"source_settings": {
"username": "browniebroke"
},
"push": "all_repos_envvar.push",
"push_settings": {
"username": "browniebroke"
}
}
I wanted this feature, but it looks like it won't be implemented in the main repo, hence this little extension. The source module extends all_repos.source.github and the push module extends all_repos.push.github_pull_request
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Bruno Alla 💻 🤔 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Credits
This package was created with Cookiecutter and the browniebroke/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file all-repos-envvar-0.2.0.tar.gz.
File metadata
- Download URL: all-repos-envvar-0.2.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68e9f1a50c1c214f685a0240bc3c81d0ad8f64121527ac9874e19b7ea85a861a
|
|
| MD5 |
231213c0424c2decb72069986fe8e722
|
|
| BLAKE2b-256 |
1c61d11b846d376d8a649f1c106e220899a60bbfad9035c401a0aba43d2f0aa6
|
File details
Details for the file all_repos_envvar-0.2.0-py3-none-any.whl.
File metadata
- Download URL: all_repos_envvar-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e00f4d00ee5a58a1dd646018d4d47d97389ae0999d01e4abbeb2f47f66207a56
|
|
| MD5 |
4695f95f60739177d1e4884636c43789
|
|
| BLAKE2b-256 |
29e1687878dcbd719b8d29448c4e8bc2b01ca8e5df0124b4b4d1884f15c89bf6
|