Skip to main content

A package for the matching of company names

Project description

name_matching

Name matching

Name matching is a Python package for the matching of company names

Installation

To install the package, download the repo, navigate to the folder and run the setup in pip

pip install .

Usage

To see example usage of the package you can use the notebook folder. An example of the usage is also given below

from name_matching.name_matcher import NameMatcher

# initialise the name matcher
matcher = NameMatcher(column='name', 
                      number_of_matches=3, 
                      legal_suffixes=True, 
                      common_words=False, 
                      top_n=50, 
                      verbose=True)

# adjust the distance metrics to use
matcher.set_distance_metrics(discounted_levenshtein=False,
                             bag=True,
                             typo=True,
                             refined_soundex=True)

# load the data to which the names should be matched
matcher.load_and_process_master_data(df_gleif, transform=True)

# perform the name matching on the data you want matched
matches = matcher.match_names(to_be_matched=unknown_counterparties, column_matching='name')

Contributing

All contributions are welcome. For more substantial changes, please open an issue first to discuss what you would like to change.

License

MIT

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

name_matching-0.8.2.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

name_matching-0.8.2-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file name_matching-0.8.2.tar.gz.

File metadata

  • Download URL: name_matching-0.8.2.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for name_matching-0.8.2.tar.gz
Algorithm Hash digest
SHA256 3e404ffabf6867954f00c8baeb1d8b844e0e4da630d1326027811d3892127ecc
MD5 a107bd349a9022589fdf8c5332a70373
BLAKE2b-256 0817ffd53edb1c8e08d0cad08be1f5539cc28bfb0377f8d59c93fd105a30daa6

See more details on using hashes here.

File details

Details for the file name_matching-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: name_matching-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for name_matching-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 659970fa16f004c666ad1ecf0a40f704447f5c7bc1b17e0e45f6eca6b98e41e0
MD5 bde880d83d2ff4fda154aa8f43c8aab0
BLAKE2b-256 c7a3d18da6220af48b436786b0c4b6ebb8c74315503558a2135231321b03df73

See more details on using hashes here.

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