gemstone_utils¶
gemstone_utils provides cryptographic helpers, transparent AES-GCM encrypted SQLAlchemy fields, and a minimal experimental secrets resolver suitable for Pydantic’s BeforeValidator. It is designed for applications that need reversible secret storage with minimal plaintext exposure and predictable operational behavior.
The package is licensed under the MPL-2.0, allowing use in both open-source and proprietary projects while keeping modifications to this library itself open.
User guide¶
Release notes¶
API reference¶
Per-module symbol documentation generated from Google-style docstrings. For integration patterns and bootstrap order, see Public API guide.
API reference
- API reference
- gemstone_utils.crypto
- gemstone_utils.key_id
- gemstone_utils.types
- gemstone_utils.encrypted_fields
- gemstone_utils.key_mgmt
- gemstone_utils.key_mgmt.registry
- gemstone_utils.key_mgmt.kdf
- gemstone_utils.db
- gemstone_utils.election
- gemstone_utils.sqlalchemy.encrypted_type
- gemstone_utils.sqlalchemy.lazy_secret
- gemstone_utils.sqlalchemy.key_storage
- gemstone_utils.experimental.secrets_resolver
Quick links¶
Topic |
Guide |
|---|---|
SQLAlchemy |
|
Persisted keys ( |
|
SQL-backed leader election |
|
Experimental |
|
Curated public API (stable vs experimental) |
|
Breaking changes and migration |
Install from PyPI:
pip install gemstone_utils