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.0.tar.gz (3.1 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.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: badgerp_get_crates_version-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.0.tar.gz
Algorithm Hash digest
SHA256 a3eb4224eafd9ee827c1b5fd14879387327bbbcb0c8b0b6fd7c83f6110e11805
MD5 ac13d3ac1fa40295ae27d16c206db792
BLAKE2b-256 d8416ef66945c018616ddbdcc38ed897d00b0c1a4f3bd67cd87217e24c6d9eef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: badgerp_get_crates_version-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5748229d5594befeab3da5befe28bf9a86c22b7ce94d145a3603bd3021a91fb5
MD5 b94d4879f54904536069fe68d55daaef
BLAKE2b-256 7073de3d44051899eca8b120462fd7de469a5b14e5a424dfdecd351b1e092438

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

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