Skip to main content

A flexible schema specification and parser for information extraction tasks.

Project description

Information Extraction Schema

A flexible input schema for GLiNER style multi-task models.

Python

uv add ie_schema # or pip install
from dataclasses import dataclasses
from ie_schema import IESchema

@dataclass
class BusinessRecord:
    business_name: str
    address_line1: str
    address_line2: str | None
    email: str | None
    website: str | None
    phone: str | None

business_location_schema = IESchema.from(BusinessLocation)
print(business_location_schema)

Rust

cargo add ie-schema

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ie_schema-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (176.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

File details

Details for the file ie_schema-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: ie_schema-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 176.7 kB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ie_schema-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 adefa6bf91613f160a1a9f15d6141540edb7edec3a9aa21bafc2300767589cf5
MD5 822715d6da5e0e15f0686f266b1cc3be
BLAKE2b-256 55f988246b93600206a27d28bf570d6bda8da8842608775220079b808dd62bce

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