UNMATCH
Welcome to documentation of ungreat matching of strings module. Here i will tell you how to use it.
ungreat_match(str1, str2, mkdefolt=0.7, mismatching_chars=5)
A function, which ungreat matching your strings and return a list with result
str1andstr2-- strings, which you are matchingmkdefault-- coefficient, which set percentage value of equal characters. Can get value in the range of 0 to 1.mismatching_chars-- value of mismatching characters betweenstr1andstr2This function return a list with result and status of work, like:['python', 'True'] ['mismatching skills', 'False', 'mismatching chars less than needs']
example of usage
It is a little test of library, which i were using when testing my lib. If you want to test or pass different value to the function, you can open your terminal or command prompt at folder path_to_your_virtual_environment/lib/site-packages/unmatch and run it by writing python test.py or python3 test.py at command prompt, if you on Windows, or terminal, if you on Linux.
Code of test.py:
from ungreat_matching import ungreat_match, num_match_max, num_match_min
test_data = [['python','Python'],
['python','python3.7'],
['PYTHON','python3.7'],
['PYTHON','python3.7.3']]
for data in test_data:
print(ungreat_match(data[0], data[1], mismatching_chars=5, mkdefault=0.7))
Here i am showing, how it works.
(All text, what you put in function ungreat_match will convert to lower case and result of function will always give you a lower case result)
What's new:
1.1.0:
- some changes in realization of library and optimization
- upgrade of documentation
You can see source code on Github repository of project.
Metadata
Release files for unmatch 1.2.1
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 |
|---|---|---|---|---|
| unmatch-1.2.1.tar.gz | 3.3 kB | Without provenance | Details for unmatch-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unmatch-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for unmatch-1.2.1-py3-none-any.whl |
Total release size: 7.1 kB
Release files / unmatch-1.2.1.tar.gz
| Download URL | unmatch-1.2.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ed76c7099a5797f12222621a921c2cef715c39813744d8dfde0c8e6ccb4f3b8
|
|
BLAKE2b-256 checksum How to use checksums |
746d70145eb70d450c69933ffaa7838bc8fe03f720f091f4acf9ff2ff1fc0467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / unmatch-1.2.1-py3-none-any.whl
| Download URL | unmatch-1.2.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80692545e62cc156ef77892ca0a183ea93bcd32e3401f19fc3f37822d8e9fc58
|
|
BLAKE2b-256 checksum How to use checksums |
c56a0ba912ae4fd43df60024c3a66c7e1d7eddcc631d9f113b62dbcbbaf4b285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for unmatch 1.2.1
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.