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.

Download files

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

Source Distribution

extralit-0.7.0.tar.gz (10.4 MB view details)

Uploaded Source

Built Distribution

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

extralit-0.7.0-py3-none-any.whl (194.6 kB view details)

Uploaded Python 3

File details

Details for the file extralit-0.7.0.tar.gz.

File metadata

  • Download URL: extralit-0.7.0.tar.gz
  • Upload date:
  • Size: 10.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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}

File hashes

Hashes for extralit-0.7.0.tar.gz
Algorithm Hash digest
SHA256 7a2a611aed3399148990a55d60d1e8f233cadfeacf17d19ee1e1f70f36bc6c58
MD5 c3a04ce360abc2aef654bdd6cbf779c5
BLAKE2b-256 53830dfa8771473e6bbd3436a61443351565f6c1e3fdec8de5829ffa6e40ba41

See more details on using hashes here.

File details

Details for the file extralit-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: extralit-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 194.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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}

File hashes

Hashes for extralit-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5cc9874adc1e9edbec5859821723134126d6ee36a9919e82bf9b317d356d37f
MD5 61c28940ceb3e7d7434116671a2453bd
BLAKE2b-256 dfb636b7e8cd9048470e8ad7d9d9c72718bfda6ba46f01f118396adf51d023d3

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 Sentry Error logging StatusPage Status page