This package allows you to define and manipulate databases as regular Python objects. See the vignette examples.
@doctable.schemadecorator. In addition to providing the schema definition for the table, this class operates much like a dataclass to encapsulate your retrieved or inserted data. See the schema guide for more details.
DocTable. The base class provides methods for inserting, retrieving, and changing database rows.
DocTableinterface to store and retrieve data from the database.
ParsePipeline. This class can distribute your text parsing across multiple processes, and can be used to create
ParseTreeobjects to be stored in your database.
pip install doctable
pip install --upgrade git+https://github.com/devincornell/doctable.git@master
DocTableOverview » API » Vignette »
Object-oriented interface for querying and manipulating database tables.
Various tools for parsing and storing documents into databases.
ParsePipelineoverview / API
doctable includes a number of other tools for text analysis and database management.
This demonstration shows a typical DocTable workflow. We show how to create a new DocTable, insert NSS document text and metadata, and parse data for storage in the table.See NSS Example »