scitex-db
Two database classes (SQLite3, PostgreSQL) composed from a dozen
shared mixins, plus standalone maintenance helpers.
Installation & import (two equivalent paths)
The same module is reachable via two install paths. Both forms work at runtime; which one a user has depends on their install choice.
# Standalone — pip install scitex-db
import scitex_db
scitex_db.SQLite3(...)
# Umbrella — pip install scitex
import scitex.db
scitex.db.SQLite3(...)
pip install scitex-db alone does NOT expose the scitex namespace;
import scitex.db raises ModuleNotFoundError. To use the
scitex.db form, also pip install scitex.
See [../../general/02_interface-python-api.md] for the ecosystem-wide rule and empirical verification table.
Sub-skills
Core
- 01_quick-start — SQLite3 + PostgreSQL minimal examples
- 02_python-api — Public symbols
- 03_mixins — The mixin architecture (capability groups)
- 04_numpy-blob — Storing ndarrays with compression
- 05_maintenance —
check_health,delete_duplicates,inspect
Interface
- 10_cli-reference —
scitex-db inspect/health