all-repos-envvar
Source Code: https://github.com/browniebroke/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 (reading from and .env file is also supported), 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"
}
}
The source module extends all_repos.source.github and the push module extends all_repos.push.github_pull_request.
Why
I wanted this feature, but at the time, it looked like it would never be implemented in the main repo, hence this little extension. Since then, the author of all-repos apparently changed their mind and support for reading from environment variable was added in early 2023, and it's now included since release v1.25.0.
The only extra feature that this package provides is to read from .env file, but this can be achieved by more general solutions like direnv.
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.
Metadata
Release files for all-repos-envvar 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| all_repos_envvar-2.0.0.tar.gz | 6.2 kB | With provenance | Details for all_repos_envvar-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| all_repos_envvar-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for all_repos_envvar-2.0.0-py3-none-any.whl |
Total release size: 11.7 kB
Release files / all_repos_envvar-2.0.0.tar.gz
| Download URL | all_repos_envvar-2.0.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
891480836fbe763708151d96d2b37b41087e636de126bbc7db8d126db8c82d43
|
|
BLAKE2b-256 checksum How to use checksums |
bd0efb8f8fa90f256d45d0f76dc2808450c8820abb25f4ce15462026f1755024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / all_repos_envvar-2.0.0-py3-none-any.whl
| Download URL | all_repos_envvar-2.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ee673f12e7b41a60f1f3401c604ef3c471bc139ec2e3b82d92db4021013d54b
|
|
BLAKE2b-256 checksum How to use checksums |
a01edb5b934b9b3e81d5e6ea2b88f8ac2fe7e835965509b5f0cdc9e02baafdfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for all-repos-envvar 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for all_repos_envvar-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.