Skip to main content

ungreat matching of strings module

Project description

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

  • str1 and str2 -- strings, which you are matching
  • mkdefolt -- coefficient, which set value of equal characters. Can get value in the range of 0 to 1.
  • mismatching_chars -- value of mismatching characters between str1 and str2 This function return a list with result and status of work, like: ['python', 'True'] ['mismatching skills', 'False', 2]

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, mkdefolt=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)

You can see source code on Github repository of project.

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

unmatch-1.0.5.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

unmatch-1.0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file unmatch-1.0.5.tar.gz.

File metadata

  • Download URL: unmatch-1.0.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for unmatch-1.0.5.tar.gz
Algorithm Hash digest
SHA256 e5bdfaa18830cd7c9bfd7d2a401d7300c27e3c6238760ac8fa2e478b39724603
MD5 58418be719e5d43a0a78d3c6ccf06924
BLAKE2b-256 31fca409b240214045a052bc943340fb9eb0d3b9bb50fff05397958b030bdfb1

See more details on using hashes here.

File details

Details for the file unmatch-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: unmatch-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for unmatch-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 abef59a6558a6dd6ef4f04e4b1b3865fa1ba474d5abf8b8d05c3c318922d97e2
MD5 3f374c01bb83e786a1369bb16f33d8e0
BLAKE2b-256 d010e8d229bac3056707abbc205634f05f1c7b5396b7dda4ec9bbf5d6b9f0832

See more details on using hashes here.

Supported by

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