Skip to main content

Some set of poetry plugins

Project description

Poem Plugins

Pypi Coverage Status

A set of plugins for Poetry.

How to use

Make sure you have Poetry version 1.2.0 or above. Read below for instructions to install it if you haven't.

Install Poem Plugins

Install this plugin to your Poetry:

$ poetry self add poem-plugins

Add tool section in project pyproject.toml

[tool.poem-plugins.version]
enabled = true
provider = "git"
# Create a file with version inside a project
write_version_file = true
# Save new version on pyproject
update_pyproject = true


[tool.poem-plugins.version.git]
# Version tags must be starts with this prefix
version_prefix = "v"
# Version format with commit hash (long) or not (short)
format = "short"

Create a git tag, for example:

$ git tag v0.1

Next, build your project. It will show an output like:

$ poetry build
poem-plugins: Setting version to: 0.1.0
Building awesome_package (0.1.0)
  - Building sdist
  - Built awesome_package-0.1.0.tar.gz
  - Building wheel
  - Built awesome_package-0.1.0-py3-none-any.whl```

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

poem_plugins-0.13.0.dev0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

poem_plugins-0.13.0.dev0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file poem_plugins-0.13.0.dev0.tar.gz.

File metadata

  • Download URL: poem_plugins-0.13.0.dev0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.4 Darwin/21.6.0

File hashes

Hashes for poem_plugins-0.13.0.dev0.tar.gz
Algorithm Hash digest
SHA256 e76ea1ae1228b2fa7677e423d3c56fbf4c6ed8d7b1f0bd0980b3b08c25d3a579
MD5 6193fc7c3d1e23a0d3df2eb040b07b1f
BLAKE2b-256 4b7f01f5b7b306b001b29e2c1b5a9164af535d8d34e390964d1b30fca989ea95

See more details on using hashes here.

File details

Details for the file poem_plugins-0.13.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for poem_plugins-0.13.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddd3dadee538aacfcc6700f01c0194442fb0cadd1827f805580a6cc757833774
MD5 35ada6338d1fd65699d8d403b1be8c3f
BLAKE2b-256 18fcee7ddb2da5af3d1591e659c0706e8990939a1b12d65b2083da5f986902ff

See more details on using hashes here.

Supported by

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