Skip to main content

from matchescu.data_sources import CsvDataSource

matchescu-reference-extraction

This package implements an entity reference extraction subsystem for entity resolution. The main concepts that are relevant here are:

  • a generic attribute-based data record implementation (can access data by str or int key),
  • various data_sources which support reading records from different data stores, and
  • generic extraction_engines that convert data records to entity references.

Development

Run the following commands to ensure you have a proper environment.

$ pyenv install 3.12
$ poetry install
$ poetry run pytest

When you contribute code, open a new feature/* or hotfix/* branch.

Usage

from matchescu.data_sources import CsvDataSource
from matchescu.extraction import Traits

traits = list(
    Traits().int(["id"])
    .string(["name", "description", "manufacturer"])
    .currency(["price"])
)
csv = CsvDataSource("./path/to/csv/file", list(traits))

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matchescu_reference_extraction-0.9.9.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file matchescu_reference_extraction-0.9.9.tar.gz.

File metadata

  • Download URL: matchescu_reference_extraction-0.9.9.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.17.0-1022-azure

File hashes

Hashes for matchescu_reference_extraction-0.9.9.tar.gz
Algorithm Hash digest
SHA256 53c8457377dca084075f9816d077bf40d72b6be9a9d84e40ae3e7119f094c397
MD5 3ff7ba289e620fdc4a4dbe1db54dca84
BLAKE2b-256 936213f654b3606b26fa3115e6602617e3bc71f10e6a5373160682d63ffa6e7c

See more details on using hashes here.

File details

Details for the file matchescu_reference_extraction-0.9.9-py3-none-any.whl.

File metadata

File hashes

Hashes for matchescu_reference_extraction-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4edf6fca24c2bfab10664515642e0f0039c723b797d8273391758b1ede208b85
MD5 0d227f9b0bec9eea9393ee9406f1a89a
BLAKE2b-256 5a135b57f5a64384cd5532fb848121a12dc0de685575507fd3f0b8dc5e0f994a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.9.11

2 files

0.9.10

2 files

This release

0.9.9 This release

2 files

0.9.8

2 files

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.5

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 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