Skip to main content

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.

Metadata

Release files for magneto-python 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magneto-python 0.2.0
File Size Uploaded
magneto_python-0.2.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for magneto-python 0.2.0
File Interpreter ABI Platform
magneto_python-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 43.1 kB

Release files / magneto_python-0.2.0.tar.gz

Download URL magneto_python-0.2.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
746049285b02ecb11d282823938307a317a9d0b3066db41c966a2cc0a2cfb7e2
BLAKE2b-256 checksum
How to use checksums
6d8b214222cf368eb3d8d8a54e5b64ac939d31061bb2533f501fbee858dddcb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release files / magneto_python-0.2.0-py3-none-any.whl

Download URL magneto_python-0.2.0-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e26422ba2e706ccd98e153edee08524f3036a92bbcc6354f9c7f3cf18eb3e57
BLAKE2b-256 checksum
How to use checksums
702de05a07cfc609582a1cde9eece5948d79fd903e26a410dedefd2c93a975fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page