Repo Maestro
Repo Maestro is a code repositories configuration file manager.
It fetches repositories data from GitHub, stored in a Repo Maestro configuration file, and then generates output files using Jinja2 templates rendered with the repositories data.
Installation
pip3 install repomaestro
Usage
Initialise a Repo Maestro configuration file with GitHub repositories data:
GITHUB_TOKEN=<github_token> repomaestro init --conf-file .repomaestro.yaml --github-id cliffano
Please note that the fetched GitHub repositories data are based on the ones accessible using the provided GITHUB_TOKEN, which can include repositories owned by multiple users and orgs.
When --github-ids flag is provided, only the repositories owned by the specified user or org will be included in Repo Maestro configuration file.
Generate output file based on a Jinja2 template:
repomaestro gen --conf-file path/to/.repomaestro.yaml --template-file path/to/some-template.j2 --out-file path/to/some-output.json
Show help guide:
repomaestro --help
Templates
Template parameters:
| Parameter | Description |
|---|---|
repos |
Repositories data with repository name as key and a map of repository properties git_url, homepage, keywords, and ssh_url as values. |
The repos parameter can then be used in Jinja2 templates like this:
{
"repos": {
{% for repo_name, repo_data in repos.items() %}
"{{ repo_name }}": {
"git_url": "{{ repo_data.git_url }}",
"homepage": "{{ repo_data.homepage }}",
"keywords": {{ repo_data.keywords }}
}{% if not loop.last %},{% endif %}
{% endfor %}
}
}
Colophon
Build reports:
Metadata
Release files for repomaestro 2.1.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 | |
|---|---|---|---|---|
| repomaestro-2.1.0.tar.gz | 8.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repomaestro-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / repomaestro-2.1.0.tar.gz
| Download URL | repomaestro-2.1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13cd82c59998c90eea96f65770848316a8ab03084aa5b28a040c2001dd10fcf
|
|
BLAKE2b-256 checksum How to use checksums |
8a1487353812e1e2c2df5af500ab3256cf6969c4965a201ade24005fb1e3cd62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure
|
Release files / repomaestro-2.1.0-py3-none-any.whl
| Download URL | repomaestro-2.1.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
898f1cfea57877499b74a899d4e524a1ed2c63326cf086202efaeb0bfb0fa6ee
|
|
BLAKE2b-256 checksum How to use checksums |
81d045faaadc9de2fc3c1930a003c3d5c4e551c6c5459c2e382eadcc8840959a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure
|
Security for repomaestro 2.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.