Poetry version from file plugin
This is a simple Poetry plugin that loads the project version dynamically from a VERSION file.
Usage
Add the plugin to the build system requirements:
[build-system]
requires = ["poetry-core", "poetry-version-from-file"]
The plugin must be enabled with this configuration:
[tool.poetry.plugins.version-from-file]
enabled = "true"
The create a file named VERSION and put your projects version nummber in it.
If you already have a file containing your projects version you can configure the plugin to use that file with the following settings in your pyproject.toml:
[tool.poetry.plugins.version-from-file]
file = "VERSION.txt"
Metadata
Release files for poetry-version-from-file 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poetry_version_from_file-1.1.0.tar.gz | 2.5 kB | Without provenance | Details for poetry_version_from_file-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetry_version_from_file-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for poetry_version_from_file-1.1.0-py3-none-any.whl |
Total release size: 5.8 kB
Release files / poetry_version_from_file-1.1.0.tar.gz
| Download URL | poetry_version_from_file-1.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb734e291ad56fd9ea113d3dbeb177965770435d6931e3baca8f9e7ed0e1eb9a
|
|
BLAKE2b-256 checksum How to use checksums |
1cbf744b59a53c0ecc75a4ce86eb122f1a61a4b2599a63d6717c45c25aa092f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.0 CPython/3.12.2 Linux/6.6.13-gentoo-x86_64
|
Release files / poetry_version_from_file-1.1.0-py3-none-any.whl
| Download URL | poetry_version_from_file-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cce25ce2b353b6994c6d2ec55635ee96d60ff1d92e1e17a359f73558755bffad
|
|
BLAKE2b-256 checksum How to use checksums |
46904bbf4b34915cde90ec20f116e2cb4166e0bed565c64fac5b10a6181425e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.0 CPython/3.12.2 Linux/6.6.13-gentoo-x86_64
|
Security for poetry-version-from-file 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.