Skip to main content

get-crates-version

A badger plugin that looks up the latest published version of a crate from crates.io.

By default it resolves the crate name from a Cargo.toml in the current directory (with basic support for workspaces), then queries the crates.io API and returns a crates.io: <version> badge entry. You can also pass an explicit crate name to skip the Cargo.toml lookup.

This package is not meant to be used as a standalone library — badger loads plugin.py's run() function directly as its entrypoint.

Download files

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

Source Distribution

badgerp_get_crates_version-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

badgerp_get_crates_version-0.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file badgerp_get_crates_version-0.1.1.tar.gz.

File metadata

  • Download URL: badgerp_get_crates_version-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for badgerp_get_crates_version-0.1.1.tar.gz
Algorithm Hash digest
SHA256 99d96f97521620b283f2b70abb78053e4eb08694876365fa9564c4c453e8a9b9
MD5 93d6c25b7efd7f100fcc0670ee99abb5
BLAKE2b-256 25fb81539d01c36868c5ff284d792275b44ef34241e5b6cc95d90796c3d25b2b

See more details on using hashes here.

File details

Details for the file badgerp_get_crates_version-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: badgerp_get_crates_version-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for badgerp_get_crates_version-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb36ae6a6c85a306f764f2148e3e5ec768dd7902fc89341ea3c3ee9a4c2d7cb6
MD5 ae2cfb5109deb408194d8ad974a83b3f
BLAKE2b-256 2cae414be8e59b3c67a1d74b767ccc35ec88d384cc8ea4896729e931f868d531

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 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