Python API¶
felis.datamodel Module¶
Define Pydantic data models for Felis.
Classes¶
Base model. |
|
Table check constraint model. |
|
Column model. |
|
Allowed overrides for a referenced column. |
|
A column which is dervived from an external resource. |
|
Table constraint model. |
|
|
|
Table foreign key constraint model. |
|
Table index model. |
|
A resource definition referencing an external schema. |
|
Database schema model. |
|
Schema version model. |
|
Table model. |
|
Table unique constraint model. |
Class Inheritance Diagram¶

felis.diff Module¶
Compare schemas and print the differences.
Classes¶
|
Compare a schema with a database and print the differences. |
|
Compare two schemas using DeepDiff and print the differences. |
felis.metadata Module¶
Build SQLAlchemy metadata from a Felis schema.
Functions¶
|
Use the Felis type system to get a SQLAlchemy datatype with variant overrides from the information in a Felis column object. |
Classes¶
|
Build a SQLAlchemy metadata object from a Felis schema. |
felis.tap_schema Module¶
Provides utilities for creating and populating the TAP_SCHEMA database.
Classes¶
|
Load data into the TAP_SCHEMA tables. |
|
Insert TAP_SCHEMA self-description rows into the database. |
|
Manage TAP_SCHEMA table definitions and access. |
felis.types Module¶
Define the supported Felis datatypes.
Classes¶
|
Felis definition of binary type. |
|
Felis definition of boolean type. |
|
Felis definition of byte type. |
|
Felis definition of character type. |
|
Felis definition of double precision floating point type. |
Base class for a representation of Felis column types. |
|
|
Felis definition of single precision floating point type. |
|
Felis definition of integer type. |
|
Felis definition of long integer type. |
|
Felis definition of short integer type. |
|
Felis definition of string type. |
|
Felis definition of text type. |
Felis definition of timestamp type. |
|
|
Felis definition of unicode string type. |
Class Inheritance Diagram¶

felis.db.database_context Module¶
API for managing database operations across different dialects.
Functions¶
|
Create a DatabaseContext object based on the engine URL. |
Classes¶
Interface for managing database operations across different SQL dialects. |
|
Exception raised for errors in the DatabaseContext operations. |
|
|
Database context for a mock connection. |
|
Database context for MySQL. |
|
Database context for Postgres. |
|
Database context for SQLite. |
Class Inheritance Diagram¶
