Skip to main content

A version source plugin to the hatchling.build python build backend that obtains a version by running a command.

Project description

PyPI - Version

hatch-command-version

A version source plugin to the hatchling.build python build backend that obtains a version by running a command.

[build-system]
requires = [
    "hatchling",
    "hatch-command-version",        # pull in this plugin
]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "command"                   # pick this version source plugin
command = "path/to/custom-generator" # the command to execute

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

hatch_command_version-1.0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

hatch_command_version-1.0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file hatch_command_version-1.0.1.tar.gz.

File metadata

  • Download URL: hatch_command_version-1.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hatch_command_version-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7e18b8cfd5ef8ff4d672908f291e10a0e56260efc62752a5b0d07074cdfb841d
MD5 5061f5d41559f73af73de40a09cceb03
BLAKE2b-256 7b7b19bf9dda1aa3a68f98ef8eac3a94121277450f3b557de90c884664803bdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_command_version-1.0.1.tar.gz:

Publisher: python-publish.yml on mmcshane/hatch-command-version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hatch_command_version-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_command_version-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16de897dd6e4a96a152d9444085e1638361895e95b7ce3b77c5c8877df2393f4
MD5 54c936354dd835ba5da4ebd8041855a9
BLAKE2b-256 e1e7efbcaeb9d009a5e1a7aa8a9ac25986f06999dfdb7a4da3d0469f4c1b36c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_command_version-1.0.1-py3-none-any.whl:

Publisher: python-publish.yml on mmcshane/hatch-command-version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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