doctable is a Python package for designing and manipulating database tables through an object-oriented interface.
This package allows you to define and manipulate databases as regular Python objects. See the vignette examples.
@doctable.schema
decorator. 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.DocTable
interface 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 ParseTree
objects 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.
ParsePipelineOverview »
Various tools for parsing and storing documents into databases.
ParsePipeline
overview /
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 »Devin uses computational methods to study cultural processes through which organizations and individuals produce meaning.
Twitter @devin_cornell