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_plugin = "git-long"
# Version tags must be starts with this prefix
git_version_prefix = "v"
# Create a file with version inside a project
write_version_file = true
# Save new version on pyproject
update_pyproject = true

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+g5ee9240
Building awesome_package (0.1.0+g5ee9240)
  - Building sdist
  - Built awesome_package-0.1.0+g5ee9240.tar.gz
  - Building wheel
  - Built awesome_package-0.1.0+g5ee9240-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.12.12.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

poem_plugins-0.12.12-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file poem_plugins-0.12.12.tar.gz.

File metadata

  • Download URL: poem_plugins-0.12.12.tar.gz
  • Upload date:
  • Size: 6.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.12.12.tar.gz
Algorithm Hash digest
SHA256 19f2974d32823af815ac6c26249df799e1d94779659203f335ac7b9d6957567c
MD5 96888612f3f31b387f2ffb88857adf40
BLAKE2b-256 50a8660be79c176ae065095e677695ceb495cd3065b79cd579c46b7cdb48fbfd

See more details on using hashes here.

File details

Details for the file poem_plugins-0.12.12-py3-none-any.whl.

File metadata

  • Download URL: poem_plugins-0.12.12-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • 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.12.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f9b36e4beb65ec451a5b6aef2b0a7ded7ac4e60ad39b0c17b291df9a4e49b0d5
MD5 787b1a6f360fdb95d83af757de537744
BLAKE2b-256 26503ead561685170c6eabb6de4c8efed99837546cf9abc3f70e2639f53d68ba

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