API Reference
Classes
Core classes
- Database
-
Database connection manager.
- AutostorageSession
-
sqlmodel.Sessionwith autostorage’s validation and identity listeners. - IdentityAlgorithm
-
A registered identity algorithm.
- IdentityAlgorithmRegistry
-
Central registry of all known identity algorithms.
- CalculationGeometryLink
-
Association table linking geometries to a calculation.
- CalculationRow
-
Quantum chemistry calculation and its associated data.
- CalculationTrajectoryLink
-
Association table linking trajectories to a calculation.
- GeometryRow
-
Molecular geometry definition and metadata.
- GeometryTrajectoryLink
-
Association table linking geometries to a trajectory.
- IdentityAlgorithmRow
-
A chemical identifier algorithm, mirroring an
IdentityAlgorithm. - IdentityRow
-
A chemical identifier associated with one or more stationary points.
- IdentityStationaryLink
-
Association table linking chemical identities to stationary points.
- ModelRow
-
Calculation model specification.
- PropertyKindRow
-
A kind of property (e.g.
energy,gradient,hessian). - PropertyValueRow
-
Property value for a specific geometry and calculation.
- StageRow
-
A chemical state (reactant, product, or transition state) in a reaction.
- StageStationaryLink
-
Association table linking stationary points to reaction stages.
- StationaryPointRow
-
A stationary point on a potential energy surface.
- StepRow
-
An elementary reaction step connecting a reactant, TS, and product.
- StepValidationLink
-
Association table linking validations to a step.
- TrajectoryAxisRow
-
Physical coordinate that one dimension of a trajectory runs along.
- TrajectoryRow
-
Ordered sequence of geometries from a calculation trajectory.
- ValidationRow
-
Validation result for a specific step and calculation.
- PropertyKind
-
A registered kind of property.
- PropertyKindRegistry
-
Central registry of all known property kinds.
- types.CompressedArrayTypeDecorator
-
Stores a NumPy array as zlib-compressed binary data in the DB.
- types.CompressedJSONTypeDecorator
-
Stores a JSON-serializable value as zlib-compressed binary data in the DB.
Protocols
Structural typing protocols
- IdentityProtocol
-
Protocol for identity functions.
- PropertyValidationProtocol
-
Protocol for property value validation functions.
Enumerations
Enum types
- AxisKind
-
Physical coordinate that a trajectory dimension runs along.
- IdentityKind
-
Category of molecular identity, from coarsest to finest.
- Role
-
Relationship between calculations and geometries/trajectories.
Exceptions
Exception classes
- IdentityGenerationWarning
-
An identity algorithm could not generate an identity for a geometry.
- StationaryOrderWarning
-
A stationary point’s Hessian does not have the point’s
order.
Functions
Public functions
- geometry_hash()
-
SHA-256 digest of a Geometry’s symbols, coordinates, charge, and spin.
- events.create_identity_algorithms()
-
Create or update a row for every registered identity algorithm.
- events.create_property_kinds()
-
Create a row for every registered property kind that is missing one.
- events.set_geometry_hash()
-
Set
hash, whose unique index rejects duplicate geometries. - events.sort_step_stage_ids()
-
Auto-sort stage_id1 and stage_id2 so stage_id1 < stage_id2.
- events.verify_step_barrierless_consistency()
-
Verify that
is_barrierlessis True exactly whenstage_id_tsis None. - events.verify_property_values_before_flush()
-
Convert property values to their kind’s native units and dtype, and validate.
- events.verify_valid_stationary_has_hessian()
-
Verify that stationary points marked as validated have a Hessian.
- events.validate_stationary_order_before_flush()
-
Set
is_validatedfrom whether the Hessians have the stationary point’s order. - events.verify_trajectory_geometry_ndim()
-
Ensure each linked geometry’s index length matches its trajectory’s ndim.
- events.fill_trajectory_axis_values()
-
Validate trajectory axes, and fill in the values of their geometries.
- events.add_registry_identities_before_flush()
-
Attach registry identities to new stationary points.
- query.stationary_point_by_identity()
-
Select stationary points with a given identity.
- identity.rdkit_inchi_conn_identity_fn()
-
Generate a connectivity InChI string with RDKit.
- identity.rdkit_inchi_identity_fn()
-
Generate a standard InChI string with RDKit.
- identity.rdkit_smiles_identity_fn()
-
Generate a SMILES string with RDKit.
- identity.hill_formula_identity_fn()
-
Generate the molecular formula in Hill order.
Constants
Module-level constants and data
- hill_formula
-
Molecular formula in Hill order (kind: formula).
- rdkit_inchi
-
Standard InChI from RDKit (kind: stereoisomer; minima only).
- rdkit_inchi_conn
-
Connectivity InChI from RDKit (kind: isomer; minima only).
- rdkit_smiles
-
SMILES from RDKit (kind: stereoisomer; parent:
rdkit_inchi; minima only). - energy_property_kind
-
Energy: a scalar in Hartree, stored as float64.
- gradient_property_kind
-
Gradient: shape
(3N,)or(N, 3)in Hartree/Bohr, stored as float64. - hessian_property_kind
-
Hessian: shape
(3N, 3N)in Hartree/Bohr², stored as float32. - types.MAX_DECOMPRESSED_BYTES
-
Upper bound on the decompressed size of a stored blob (guards against zip bombs).
Type Aliases
Type alias definitions