aito.schema

Data structure for the Aito Database Schema

pandas and langdetect are imported inside the functions that use them rather than at module scope. Both are heavy — pandas pulls numpy and its compiled extensions — and this module is reachable from import aito.client.v2, which needs neither: it is a plain HTTP client whose only third-party dependency is requests. A top-level import here made every v2 caller pay for a dataframe library at install and import time, and fail outright wherever numpy’s C extensions could not load.

Classes

AitoAliasAnalyzerSchema(alias)

Aito AliasAnalyzer schema

AitoAnalyzerSchema()

the base class for Aito Analyzer

AitoBooleanArrayType()

Aito Boolean Array Type

AitoBooleanType()

Aito Boolean Type

AitoCharNGramAnalyzerSchema(min_gram, max_gram)

Aito CharNGramAnalyzer schema

AitoColumnLinkSchema(table_name, column_name)

Link to a column of another table

AitoColumnTypeSchema(data_type[, nullable, ...])

Aito ColumnType schema

AitoDataTypeSchema(aito_dtype)

The base class for Aito DataType

AitoDatabaseSchema(tables)

Aito Database Schema

AitoDecimalArrayType()

Aito Decimal Array Type

AitoDecimalType()

Aito Decimal Type

AitoDelimiterAnalyzerSchema(delimiter[, ...])

Aito DelimiterAnalyzer schema

AitoIntArrayType()

Aito Int Array Type

AitoIntType()

Aito Int Type

AitoJsonType()

Aito Json Type

AitoLanguageAnalyzerSchema(language[, ...])

Aito LanguageAnalyzer schema

AitoSchema()

The base class for Aito schema component

AitoStringArrayType()

Aito String Array Type

AitoStringType()

Aito String Type

AitoTableSchema(columns)

Aito Table schema contains the columns and their schema

AitoTextType()

Aito Text Type

AitoTokenNgramAnalyzerSchema(source, ...[, ...])

Aito TokenNGramAnalyzer schema

DataSeriesProperties(pandas_dtype, ...[, ...])

DataSeriesProperties is an utility class that is used to inspect pandas data series properties and infer the Aito data type based on it.