Skip to main content

Texts content similarity scoring plugin

Project description

PyPI version Python versions See Build Status on GitHub Actions

Texts content similarity scoring plugin


This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.

Features

  • TODO

Requirements

  • TODO

Installation

  • TODO

You can install “pytest-texts-score” via pip from PyPI:

$ pip install pytest-texts-score

Usage

Direct import

from pytest_texts_score import texts_expect_f1_equal

def test_texts_expect_f1_equal():
    texts_expect_f1_equal(`EXPECTED_TEXT`, `GIVEN_TEXT`, 1.0)

Fixture

def test_f1_equal_with_fixture(texts_score):
    texts_score["expect_f1_equal"](`EXPECTED_TEXT`,
                                `GIVEN_TEXT`,
                                target=1.0)

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, “pytest-texts-score” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

pytest_texts_score-0.2.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_texts_score-0.2.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest_texts_score-0.2.0.tar.gz.

File metadata

  • Download URL: pytest_texts_score-0.2.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pytest_texts_score-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e4a606fcf84f63d877817f4d979a8dc02db007415e411dfdfd541f6170e63d84
MD5 a1d5c65114179ec7b496638c0d6f4f09
BLAKE2b-256 4909a582f0bcc02b5b61c315f7a9880da3ab5cf62f1360b68e42ae766e68dc16

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_texts_score-0.2.0.tar.gz:

Publisher: pypi.yml on VodilaPat/pytest-texts-score

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytest_texts_score-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_texts_score-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82cdf69c66517c8035e5cc17df5c0819dfa15d71b8b1f0bd70583daacf816b72
MD5 1d68b88d1c1a5d075d8d2d894c4ad7a5
BLAKE2b-256 bbd744deb7d7bd90afce0c0a100d42a8def1f89cc7c8486cd6234512d018433f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_texts_score-0.2.0-py3-none-any.whl:

Publisher: pypi.yml on VodilaPat/pytest-texts-score

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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