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]
provider = "git"
# Create a file with version inside a project, default: false
write_version_file = true
# Save new version on pyproject, default: false
update_pyproject = true


[tool.poem-plugins.version.git]
# Version tags must be starts with this prefix, default: 'v'
version_prefix = "v"
# Version format with commit hash (long) or not (short), default: '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.14.0.dev1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

poem_plugins-0.14.0.dev1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file poem_plugins-0.14.0.dev1.tar.gz.

File metadata

  • Download URL: poem_plugins-0.14.0.dev1.tar.gz
  • Upload date:
  • Size: 7.3 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.14.0.dev1.tar.gz
Algorithm Hash digest
SHA256 5a298befc898fe29a8894caa65869c9cbbd7896e2d5f781e9caa7b2c3b0779e2
MD5 a24cba680adc7887f0b44e37bdb6424c
BLAKE2b-256 1bfdf1db343ee5c1d879a59e03e0c9c364c39cdf796443d95158277a6dd1456a

See more details on using hashes here.

File details

Details for the file poem_plugins-0.14.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for poem_plugins-0.14.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf7da0e3244da40faf14a4981413d52b974cd9935216932037e562b7a4f02bb9
MD5 a00be8cec9c9364f42fc297af129cd39
BLAKE2b-256 d855d5fbff5135317f8d92ee2b534b6f655287d27d1f3042ddfe1ad541009433

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