Skip to main content

Extralit
Extralit

Extract structured data from scientific literature with human validation

CI Codecov Downloads

Extralit is an open-source platform that transforms how researchers extract structured data from scientific literature. Want to get started? Check out our documentation.

Why use Extralit?

Accelerate Scientific Data Collection

Manual data extraction from research papers is slow and error-prone, often taking 6-12 months for systematic reviews. Extralit combines AI-powered extraction with human validation to reduce this to weeks while maintaining research-grade accuracy.

Take Control of Your Research Data

Most scientific data extraction tools are inflexible black boxes. Extralit is different - it's open source and puts you in control. Define custom extraction schemas, validate results, and integrate with your existing research workflows.

Scale Your Literature Reviews

Whether you're conducting a systematic review, meta-analysis, or building a scientific knowledge base, Extralit helps you efficiently process hundreds of papers. Our platform handles complex tables, figures, and relationships while preserving scientific rigor.

🏘️ Community

We're an open-source project built for researchers, by researchers. Here's how to get involved:

  • Slack Community: Connect with other researchers and developers
  • Documentation: Learn how to use and contribute to Extralit
  • Roadmap: See what we're building and share your ideas

Real-World Impact

Extralit is already accelerating research at leading institutions:

  • Gates Foundation: Reduced systematic review time for malaria intervention studies from 6 months to 6 weeks
  • Life Science Research: Streamlined extraction of clinical trial endpoints, genetic markers, and intervention protocols
  • Meta-Analysis: Enabled rapid synthesis of evidence across hundreds of papers while maintaining rigorous validation

👨‍💻 Getting Started

Installation

Install Extralit using pip:

pip install extralit

Initialize the client:

import extralit as ex

client = ex.Extralit(
    api_url="https://your-deployment-url",
    api_key="your-api-key"
)

Create an extraction schema

Define the fields the dataset will display and the questions annotators answer:

settings = ex.Settings(
    fields=[
        ex.TextField(name="text", title="Document Text"),
        ex.ImageField(name="image", required=False),
    ],
    questions=[
        ex.LabelQuestion(name="label", labels=["positive", "negative"]),
        ex.TextQuestion(name="comment", use_markdown=False),
    ],
    guidelines="Classify the sentiment and provide a comment.",
)

Add documents and start extraction

Create a dataset with the schema, then log records. Pre-filled values (e.g. from an LLM) become suggestions that annotators can accept or override.

dataset = ex.Dataset(name="my_extraction_dataset", settings=settings).create()

records = [
    {"text": "This product is amazing!", "label": "positive"},
    {"text": "Terrible experience.", "label": "negative"},
]
dataset.records.log(records)

for record in dataset.records(with_suggestions=True):
    print(record.id, record.fields)

Need more help? Check out our detailed tutorials.

🥇 Contributors

Want to contribute? Great! Check out our contribution guide or join our Slack community.

Metadata

Release files for extralit 0.7.2

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

Source distribution (sdist)

Source distribution for extralit 0.7.2
File Size Uploaded Provenance Actions
extralit-0.7.2.tar.gz 10.4 MB Without provenance Details for extralit-0.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for extralit 0.7.2
File Interpreter ABI Platform Actions
extralit-0.7.2-py3-none-any.whl Python 3 none any Details for extralit-0.7.2-py3-none-any.whl

Total release size: 10.6 MB

Release files / extralit-0.7.2.tar.gz

Download URL extralit-0.7.2.tar.gz
Size 10.4 MB
Tags Source
SHA-256 checksum
How to use checksums
6b83a062f331cdefe3f12e54ed2485f34b98837bf465ff777725aea52cbbea33
BLAKE2b-256 checksum
How to use checksums
364baae238430d4a928ffebddb3f6211a96147d51fbfc12e5f55933364e215e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / extralit-0.7.2-py3-none-any.whl

Download URL extralit-0.7.2-py3-none-any.whl
Size 193.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7071bdd69a5bb8718bd67145e5af53db19628482ab5f3a974264fbc710387ad
BLAKE2b-256 checksum
How to use checksums
7506c7846a16b0fccb0080c7284620448b26778ec8585e0b725e187fc77c9b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for extralit 0.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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