This release is a pre-release and may not be stable for production use.
Hunahpu
Colav Similairy
Description
Package with customized colav similarity algorithm.
Installation
Package
pip install hunahpu
Usage
This is a library package, so you can use it in your code as follows:
from hunahpu.ColavSimilarity import ColavSimilarity
paper1 = {}
paper1['title'] = 'My title one'
paper1["journal"] = "Journal one"
paper1["year"] = 2016
paper2 = {}
paper2['title'] = 'My title two'
paper2["journal"] = "Jornal two"
paper2["year"] = 2016
if ColavSimilarity(paper1, paper2):
print("The papers are similar")
else:
print("The papers are not similar")
it also allows several options for tunning such as:
ratio_thold: int
threshold for ratio matric
partial_thold: int
threshold for partial ratio
low_thold: int
low threshold for ratios
use_translation : str
enable translation support
use_parsing: boolean
use parsing to remove unneeded characters
example:
from hunahpu.ColavSimilarity import ColavSimilarity
paper1 = {}
paper1['title'] = 'My title one'
paper1["journal"] = "Journal one"
paper1["year"] = 2016
paper2 = {}
paper2['title'] = 'My title two'
paper2["journal"] = "Jornal two"
paper2["year"] = 2016
if ColavSimilarity(paper1, paper2, ratio_thold=90, partial_thold=92, low_thold=92, use_translation=True, use_parsing=True):
print("The papers are similar")
else:
print("The papers are not similar")
NOTE: translation does not work in all cases, so it is not recommended to use it.
License
BSD-3-Clause License
Links
Metadata
Release files for Hunahpu 0.0.5a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Hunahpu-0.0.5a0.tar.gz | 5.4 kB | Without provenance | Details for Hunahpu-0.0.5a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Hunahpu-0.0.5a0-py3-none-any.whl | Python 3 | none | any | Details for Hunahpu-0.0.5a0-py3-none-any.whl |
Total release size: 10.3 kB
Release files / Hunahpu-0.0.5a0.tar.gz
| Download URL | Hunahpu-0.0.5a0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
248ffc4aad06d13bb001f0a55cb125e587d7a39b660badcb52b53107ffdaa73d
|
|
BLAKE2b-256 checksum How to use checksums |
9c7e41d6c4d7285604800a07ce0cf1e8d30284aeba84896a2408c6383a9e54a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / Hunahpu-0.0.5a0-py3-none-any.whl
| Download URL | Hunahpu-0.0.5a0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd0c2a730e5cea2b3f1b59457f4c32fdb9520af1d76856864ca2d1c092f9e1f3
|
|
BLAKE2b-256 checksum How to use checksums |
769d0bb02c5ab1710ee77d6f0c94237b1ec9e9091e9bbc18f812f8c545aacf15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for Hunahpu 0.0.5a0
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.