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.1.tar.gz (18.1 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.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_texts_score-0.2.1.tar.gz
  • Upload date:
  • Size: 18.1 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.1.tar.gz
Algorithm Hash digest
SHA256 7bf4d7d8fa58bf65634ab6b7651cdc7aa1a83fd62085b85a9d7ecd010f803e35
MD5 7d99a4ec6a43e4385a464ef2505d3f19
BLAKE2b-256 0352d4ba054aafa9f3dd900021175b4fe0e7e1056afeb8c1b543f07ec3915384

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_texts_score-0.2.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_texts_score-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c496184e2c2b9c44fb6d51c104e65348ceccd3c4feef0144ad08d21b36f0c3c6
MD5 29c64cde8f466461fe4371a695faa65f
BLAKE2b-256 40b1761de74257b74aa294db63e9c849c447cc56d2de3c220807ff2689d63397

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_texts_score-0.2.1-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