Skip to main content

Github Actions Utils


GitHub

Create Pull Request Code Quality Release Upload Python Package

GitHub last commit Latest GitHub Release Date GitHub top language

GitHub Repo stars GitHub watchers GitHub issues GitHub pull requests GitHub Discussions

GitHub code size in bytes GitHub repo file count (file extension) GitHub contributors


PyPi

PyPI - Status PyPI - Python Version PyPI - Version


Sonarcloud

Quality Gate Status

Vulnerabilities Duplicated Lines (%) Reliability Rating Technical Debt Coverage Lines of Code Code Smells Maintainability Rating Security Rating Bugs

Sonarcloud

Coverage Status

GitHub

Log Utils

github group decorator

from github_actions_utils.log_utils import github_group

@github_group("foo")
def foo():
    code

Will produce in github action log

▸ foo

You can use the function parameters as input like:

@github_group("Running $cmd")
def run(cmd):
    code

When your code calls the run function will print user the value from cmd parameter:

run("nice command")
▸ Running nice command

Even if the value is an object and you want a value from the object attribute:

@github_group("Hello $(person.name)")
def hello(person):
    code
p = Person(name="Heitor")
hello(p)
▸ Hello Heitor

Release files for github-actions-utils 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for github-actions-utils 0.3.0
File Size Uploaded
github_actions_utils-0.3.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for github-actions-utils 0.3.0
File Interpreter ABI Platform
github_actions_utils-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / github_actions_utils-0.3.0.tar.gz

Download URL github_actions_utils-0.3.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
83fb8fd973e2bdd0ec83ad32991b303268d1ae3f0772a10eee0115631a27147b
BLAKE2b-256 checksum
How to use checksums
feb835c73d2023448dceb97f622ae3234ecba08607e647bf8c7e8dfe2071fb93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / github_actions_utils-0.3.0-py3-none-any.whl

Download URL github_actions_utils-0.3.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d95a9ffe5efae837c0734730dbc6dd6d7537fffe8198bcb313135a1af8cc9b5
BLAKE2b-256 checksum
How to use checksums
352fa5572ca5f4290f0acfb38163de215f4f54c41999a00713ab811e73d10820
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.14

2 release files

0.4.11

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.6

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page