Texts content similarity scoring plugin
Project description
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bf4d7d8fa58bf65634ab6b7651cdc7aa1a83fd62085b85a9d7ecd010f803e35
|
|
| MD5 |
7d99a4ec6a43e4385a464ef2505d3f19
|
|
| BLAKE2b-256 |
0352d4ba054aafa9f3dd900021175b4fe0e7e1056afeb8c1b543f07ec3915384
|
Provenance
The following attestation bundles were made for pytest_texts_score-0.2.1.tar.gz:
Publisher:
pypi.yml on VodilaPat/pytest-texts-score
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytest_texts_score-0.2.1.tar.gz -
Subject digest:
7bf4d7d8fa58bf65634ab6b7651cdc7aa1a83fd62085b85a9d7ecd010f803e35 - Sigstore transparency entry: 727492527
- Sigstore integration time:
-
Permalink:
VodilaPat/pytest-texts-score@eaa467e3669ad6e06ab6f227178034f7066be57c -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/VodilaPat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@eaa467e3669ad6e06ab6f227178034f7066be57c -
Trigger Event:
push
-
Statement type:
File details
Details for the file pytest_texts_score-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pytest_texts_score-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c496184e2c2b9c44fb6d51c104e65348ceccd3c4feef0144ad08d21b36f0c3c6
|
|
| MD5 |
29c64cde8f466461fe4371a695faa65f
|
|
| BLAKE2b-256 |
40b1761de74257b74aa294db63e9c849c447cc56d2de3c220807ff2689d63397
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytest_texts_score-0.2.1-py3-none-any.whl -
Subject digest:
c496184e2c2b9c44fb6d51c104e65348ceccd3c4feef0144ad08d21b36f0c3c6 - Sigstore transparency entry: 727492542
- Sigstore integration time:
-
Permalink:
VodilaPat/pytest-texts-score@eaa467e3669ad6e06ab6f227178034f7066be57c -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/VodilaPat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@eaa467e3669ad6e06ab6f227178034f7066be57c -
Trigger Event:
push
-
Statement type: