Skip to main content

ArchiTXT: Text-to-Database Structuring Tool

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. PyPI - Status PyPI - Version PyPI - Python Version GitHub Actions Workflow Status SWH DOI

ArchiTXT is a Python library and CLI tool that automatically converts unstructured text corpora into structured, database-ready data. It infers database schemas directly from text and generates corresponding structured instances using a meta-grammar and iterative tree-rewriting process.

ArchiTXT is designed for researchers, data engineers, and NLP practitioners who need a transparent and auditable process to transform raw textual data into storable, queryable and machine-learning-ready datasets.

Why ArchiTXT?

Working with unstructured text becomes complex when you need:

  • Structured storage
  • Queryable entities and relations
  • Reproducible data modeling

ArchiTXT bridges this gap by:

  • Discovering latent structural patterns in annotated corpora
  • Automatically generating database schemas
  • Producing structured instances aligned with the inferred schema
  • Ensuring transparency through rule-based rewriting

Installation

To install ArchiTXT, make sure you have Python 3.10+ and pip installed. Then, run:

pip install architxt

For the development version, you can install it directly through GIT using

pip install git+https://github.com/Neplex/ArchiTXT.git

Usage

ArchiTXT is built to work seamlessly with BRAT-annotated corpora that includes pre-labeled named entities. It can parse the texts using either CoreNLP or SpaCy, depending on your preference and setup. See the documentation for more information.

For CoreNLP, it requires access to a CoreNLP server, which you can set up using the Docker Compose configuration available in the source repository. To deploy it, you can use the following command:

docker compose up -d corenlp

After parsing the annotated texts into ArchiTXT's internal representation, you can infer a database schema and instance based on the annotated entities and generate structured instances accordingly. See the documentation for more information.

The result can be exported as a relational or property graph database. See the documentation for more information.

ArchiTXT is available as a Python library but also provides a command-line interface (CLI) for users who prefer working in the terminal. You can run the CLI using:

architxt --help

Sponsors

This work has received support under the JUNON Program, with financial support from Région Centre-Val de Loire (France).

JUNON Program logo UO logo LIFO logo

Metadata

Release files for architxt 0.7.1

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

Source distribution (sdist)

Source distribution for architxt 0.7.1
File Size Uploaded
architxt-0.7.1.tar.gz 118.5 kB Details

Built distribution (wheel)

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

Total release size: 263.2 kB

Release files / architxt-0.7.1.tar.gz

Download URL architxt-0.7.1.tar.gz
Size 118.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b4e4c1e142be93a8d317d0d43fcbb1433f27c5097335cc0a5eb72c1044c706b0
BLAKE2b-256 checksum
How to use checksums
ed4bf0d6411630a4ab62ae9e6db30e99fca4c3e324c23f09dd2fbffc388e84b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 1, 2026.

Transparency log

Release files / architxt-0.7.1-py3-none-any.whl

Download URL architxt-0.7.1-py3-none-any.whl
Size 144.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3caa900541cb3ec68bbce86bb27c37a91ecf0ddd45f445ead9d1183dae42bde
BLAKE2b-256 checksum
How to use checksums
5fdda5ce9010ca1ec8dfb7500b1ef23f1d436ce3f6cf22f92ae91d32dbaf51b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

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