ops-py-github-tools
Description
A collection of various GitHub Tools:
- Create or get GitHub Repo Milestones
- Get GitHub repo Pull Requests info
- Create GitHub repo issue templates
- Perform requests to GitHub
Installation pip install ops-py-github-tools
Usage
Please refer to github_tools_examples.py
Create desired template based on the title of the GitHub Issue
Example:
python3 -m github_tools.github_issue_templates --title "📇 mc-isb: Monitoring documentation" --templates_dir .github/ISSUE_TEMPLATE \
--template_filenames c_epic.md c_epic_maintenance.md d_collection.md d_collection_maintenance.md e_task.md --team_alias myt --team_name "My Team" \
--team_alias_placeholder "<team_alias>" --team_name_placeholder "<team_name>" \
--write_templates "" --templates_version v2.0.1 > template.md
Example output:
cat template.md
---
name: "\U0001f4c7 Collection"
about: "Group(s) of tasks"
title: "\U0001f4c7 c-myt:"
version: "v2.0.1"
---
## Purpose
> Remember the goal type of your tasks here. If any existing tasks are related to another :trophy: Goal type, they should be moved to respective :crown: Epic -> inside that specific :card_index: collection.
### Summary
DevOps link: `none` / AB#ticketNumber
This collection includes tasks related to..... <!-- Summarise overall reason for tasks in this collection -->
#### Acceptance Criteria
- None
#### Task(s)
- [ ] None
#### Pull Requests
- [ ] None
Metadata
Release files for ops-py-github-tools 1.1.5
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 |
|---|---|---|---|---|
| ops_py_github_tools-1.1.5.tar.gz | 10.3 kB | With provenance | Details for ops_py_github_tools-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ops_py_github_tools-1.1.5-py3-none-any.whl | Python 3 | none | any | Details for ops_py_github_tools-1.1.5-py3-none-any.whl |
Total release size: 21.7 kB
Release files / ops_py_github_tools-1.1.5.tar.gz
| Download URL | ops_py_github_tools-1.1.5.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12365ae9b198464efdb4af7a44b471febe6f77f1d553555f6e7fdcc9e058d5ee
|
|
BLAKE2b-256 checksum How to use checksums |
c571bb8b687d80588eaa1c2181fe275fb57688e9b279e3e2f12019424f91ad1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 18, 2024.
Transparency logRelease files / ops_py_github_tools-1.1.5-py3-none-any.whl
| Download URL | ops_py_github_tools-1.1.5-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af997663052f2cfb542781487ad245fc41b83c70ef29b9fa5192619a629fa227
|
|
BLAKE2b-256 checksum How to use checksums |
df554f75c7d000f9ddfc93cfee1f311e612ce85a2d1a0d08a435d2a20417598d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 18, 2024.
Transparency logSecurity for ops-py-github-tools 1.1.5
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 ops_py_github_tools-1.1.5.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 18, 2024.
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.