Skip to main content

Add all the badges with Badgie!

Project description

Badgie

pipeline status coverage report latest release pre-commit security: bandit cici enabled code style: prettier

Badgie scans the contents of your repository and adds badges based on what it finds.

Badgie requires Git and will only run in Git repositories.

Using Badgie

Install Badgie:

python3 -m pip install badgie

Add Badgie tags to your README:

<!-- BADGIE TIME -->
<!-- END BADGIE TIME -->

Run Badgie:

badgie -w README.md

And enjoy magic badges:

<!-- BADGIE TIME -->
<!-- END BADGIE TIME -->

Use as a pre-commit hook

Badgie can be used as a pre-commit hook, so you can get fresh badges on every commit.

Add the following to a .pre-commit-config.yaml file. Note the empty rev tag:

repos:
  - repo: https://gitlab.com/saferatday0/badgie
    rev: ""
    hooks:
      - id: badgie

Run pre-commit autoupdate to pin to the latest version:

pre-commit autoupdate

Run pre-commit directly or install as a hook:

# directly
pre-commit

# as a Git hook
pre-commit install
git commit -m "..."

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

badgie-0.15.2.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

badgie-0.15.2-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file badgie-0.15.2.tar.gz.

File metadata

  • Download URL: badgie-0.15.2.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for badgie-0.15.2.tar.gz
Algorithm Hash digest
SHA256 b46a210fe96d86e83c2ba662ffe17a4ab2cf77f80d1d06fd39ff3568a9a33efb
MD5 926302a0ef65795124489d7c99ad56bb
BLAKE2b-256 c7509adfc885b160c9737d01bbcc2bfb3b5cf85bee7fd7479e1600668ec7bd0f

See more details on using hashes here.

File details

Details for the file badgie-0.15.2-py3-none-any.whl.

File metadata

  • Download URL: badgie-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for badgie-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e8f5c0d69c5ed6ba9693769817647d149e68bb8239f639c1c77d9a26f7cd195
MD5 420ca4c8e6722bf21c7149293f4e7d9a
BLAKE2b-256 237c37d5e402289f03f71b9e43bdf83f48432a4da7ea0e1401e3fafeb0c1f854

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page