Skip to main content

Magneto Python library

Project description

Magneto

Magneto is an innovative framework designed to enhance schema matching (SM) by intelligently combining small, pre-trained language models (SLMs) with large language models (LLMs). Our approach is structured to be both cost-effective and broadly applicable.

Installation

You can install the latest stable version of Magneto from PyPI:

pip install magneto-python

Usage

After the installation, you can use the stand-alone version of Magneto like this:

from magneto import Magneto
import pandas as pd

source = pd.DataFrame({"column_1": ["a1", "b1", "c1"], "col_2": ["a2", "b2", "c2"]})
target = pd.DataFrame({"column_1a": ["a1", "b1", "c1"], "col2": ["a2", "b2", "c2"]})

mode = "header_values_verbose"
mag = Magneto(encoding_mode=mode)
matches = mag.get_matches(source, target)

print(matches)

See our GitHub repository for more examples.

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

magneto_python-0.2.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

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

magneto_python-0.2.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file magneto_python-0.2.0.tar.gz.

File metadata

  • Download URL: magneto_python-0.2.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for magneto_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 746049285b02ecb11d282823938307a317a9d0b3066db41c966a2cc0a2cfb7e2
MD5 52c8a6a654f67900ff9d973ee8ad2d07
BLAKE2b-256 6d8b214222cf368eb3d8d8a54e5b64ac939d31061bb2533f501fbee858dddcb0

See more details on using hashes here.

File details

Details for the file magneto_python-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: magneto_python-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for magneto_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e26422ba2e706ccd98e153edee08524f3036a92bbcc6354f9c7f3cf18eb3e57
MD5 38b1bd7ae18fcd291f2deb635e72ac2b
BLAKE2b-256 702de05a07cfc609582a1cde9eece5948d79fd903e26a410dedefd2c93a975fa

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