Skip to main content

poetry_analysis

Python Version from PEP 621 TOML PyPI - Version License Github Action tests

Rule-based tool to extract repetition patterns and other lyric features from poetry, or other text data where the newline is a meaningful segment boundary.

Lyric features that can be extracted with this tool includes

  • end rhyme schemes
  • alliteration
  • anaphora
  • lyrical subject

poetry_analysis has been developed alongside NORN Poems, a corpus of Norwegian poetry from the 1890's, which is freely available to use with this tool.

Installation

This library requires python >= 3.11. Create and activate a virtual environment before installing, e.g. with uv:

# Create environment with uv
uv venv --python 3.11

# Activate environment
source .venv/bin/activate

# Install poetry_analysis
pip install poetry-analysis

Contact

This tool was developed as a collaboration project between a literary scholar and a computational linguist in the NORN project:

  • Ranveig Kvinnsland GitHub icon Email icon
  • Ingerid Dale GitHub icon Email icon

If you discover any bugs, have any questions, or suggestions for improvements, please open an issue and assign an appropriate label to it. Contributions and pull requests are also welcome! Please check out the contributing section in the repo for guidelines.

Metadata

Release files for poetry-analysis 0.3.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-analysis 0.3.15
File Size Uploaded Provenance Actions
poetry_analysis-0.3.15.tar.gz 38.8 kB Without provenance Details for poetry_analysis-0.3.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for poetry-analysis 0.3.15
File Interpreter ABI Platform Actions
poetry_analysis-0.3.15-py3-none-any.whl Python 3 none any Details for poetry_analysis-0.3.15-py3-none-any.whl

Total release size: 60.1 kB

Release files / poetry_analysis-0.3.15.tar.gz

Download URL poetry_analysis-0.3.15.tar.gz
Size 38.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8f2eca168658ac3d41d29259e04344aadc91975ed232c4b326592974bf87caaa
BLAKE2b-256 checksum
How to use checksums
f4f95480637976021244a9c2b427f7a65dd892b5237c52d7e67f3b3249921180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.12.3 Linux/6.8.0-100-generic

Release files / poetry_analysis-0.3.15-py3-none-any.whl

Download URL poetry_analysis-0.3.15-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e748111afd81124ac19507e9318743fa6318c6ffd8949a51fc5ad4eb223d500
BLAKE2b-256 checksum
How to use checksums
0a4cdea24c2c5d7d0679b2dca8acf2712d3065f7bf09ccbfbd5632de9f2b53c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.12.3 Linux/6.8.0-100-generic

Security for poetry-analysis 0.3.15

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page