Skip to main content

MetaTables logo

Main Sequence logo

MetaTables

MetaTables is a Python client and API for describing, registering, querying, and updating database tables through a governed catalog.

Its PyPI distribution is mainsequence-metatable; imports and the command are named metatables. See publishing for the release process and the current published SDK prerequisite.

The Python client provides SQLAlchemy table definitions, application-table migrations, query objects, time-index readers and update processes, and the metatables command. The MetaTables API stores table identities, contracts, permissions, and update history, and executes authorized operations on physical databases.

A catalog record describes a table; the table's rows live in its DataSource. The Main Sequence SDK supplies platform authentication, identity, repository context, and platform Secrets. MetaTables owns its table behavior and storage adapters. Local development runs the same API with one SQLite database for system metadata and table rows. Initialize it explicitly through Settings; startup never runs Alembic.

Start here

The documentation index separates client, API, operations, and contributor guides. The capability reference records implemented and unavailable operations, including inherited methods and CLI commands. Runnable guide assets live in examples.

Client skills

Copy the installed client's skills into a consuming application explicitly:

metatables copy-metatables-skills --path /path/to/application

The local development skill guides application work through local SQLite setup, verified test writes, and an explicit switch back to the intended environment. The other skills cover table contracts, application migrations and producers.

The command uses the Main Sequence SDK helper, writes to .agents/skills/metatables/, and records the client version. It works without login or an API. Use --dry-run to preview the copy, or put global --json before the command for structured output. See installation for refresh behavior and the bundled references.

Development

Python 3.13 or newer is required. The package selects the published compatible SDK:

python -m pip install -e '.[dev,docs]'
python -m metatables.sdk_compat
python -m pytest -q
python -m scripts.check_project
mkdocs build --strict

Physical PostgreSQL checks use explicitly configured disposable databases; see testing. No separate frontend is needed to use the Python client or run the API.

License

MetaTables is licensed under the MIT License. See LICENSE for the complete terms.

Metadata

Release files for mainsequence-metatable 0.1.8

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

Source distribution (sdist)

Source distribution for mainsequence-metatable 0.1.8
File Size Uploaded
mainsequence_metatable-0.1.8.tar.gz 984.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mainsequence-metatable 0.1.8
File Interpreter ABI Platform
mainsequence_metatable-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 3.0 MB

Release files / mainsequence_metatable-0.1.8.tar.gz

Download URL mainsequence_metatable-0.1.8.tar.gz
Size 984.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b8680e480f60cdfec8e0da198438d2c2b6f24b48a3ccd0a124ebd85d6366c71a
BLAKE2b-256 checksum
How to use checksums
f1b879c4d7aa079060a9821228f1568e0d4ebd18ce4f20c3efeae281d7284b99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 3, 2026.

Transparency log

Release files / mainsequence_metatable-0.1.8-py3-none-any.whl

Download URL mainsequence_metatable-0.1.8-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
466a9b6f70adbc9575bb704faeb40c605e1e33a9814a23b83866b1ab4f8b1098
BLAKE2b-256 checksum
How to use checksums
00fc94769d8f12d92f2ace43a112139ed1dfb2886843afbfeffd17be9723474d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.44

2 release files

0.1.43

2 release files

0.1.42

2 release files

0.1.41

2 release files

0.1.40

2 release files

0.1.39

2 release files

0.1.38

2 release files

0.1.37

2 release files

0.1.36

2 release files

0.1.35

2 release files

0.1.34

2 release files

0.1.33

2 release files

0.1.32

2 release files

0.1.31

2 release files

0.1.30

2 release files

0.1.9

2 release files

This release

0.1.8 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

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