:py:mod:`~.astropathdb.db_io` ===================================================================================================================== .. py:module:: astropathdb.db_io .. autoapi-nested-parse:: Tools and methods for connecting the database and loading data. The primary user facing elements of the :mod:`.db_io` module are the :class:`.AstroDB` and the :func:`.load_astrosample`. :class:`.AstroDB` allows users to connect to the databases and builds an ORM mapping for the connected databases. :func:`.load_astrosample` enables loading the data from a sample into the ``spatialdata`` framework. :mod:`~.astropathdb.db_io` *Classes* --------------------------------------------------------------------------------------------------------------------- .. autoapisummary:: :signatures: none astropathdb.db_io.build_astrodb.AstroDB astropathdb.db_io.dbconnect.DirectDBConnection :mod:`~.astropathdb.db_io` *Functions* --------------------------------------------------------------------------------------------------------------------- .. autoapisummary:: :signatures: none astropathdb.db_io._sample_utils.create_cells_boundaries_parquet astropathdb.db_io._sample_utils.create_cells_nuclei_parquet astropathdb.db_io._sample_utils.create_cells_parquet astropathdb.db_io._sample_utils.create_cells_positions_parquet astropathdb.db_io.load_sample.load_astrosample :mod:`~.astropathdb.db_io` *Module Reference* --------------------------------------------------------------------------------------------------------------------- .. toctree:: :hidden: /_generated/astropathdb/db_io/_sample_utils/index /_generated/astropathdb/db_io/build_astrodb/index /_generated/astropathdb/db_io/credentials/index /_generated/astropathdb/db_io/dbconnect/index /_generated/astropathdb/db_io/load_sample/index /_generated/astropathdb/db_io/sql/index .. autoapisummary:: :signatures: none astropathdb.db_io._sample_utils astropathdb.db_io.build_astrodb astropathdb.db_io.credentials astropathdb.db_io.dbconnect astropathdb.db_io.load_sample astropathdb.db_io.sql