2023-11-28 13:36:40 -05:00
.. _how to use the hub: https://todo/
.. _development manual: https://todo/
.. _catalogs manual: https://todo
.. |alert| image :: ./_static/alert.png
:width: 15
:alt: Alert
.. |cat| image :: ./_static/cat.png
:width: 30
:alt: Cat
2023-11-28 14:27:42 -05:00
CERC PERSISTENCE' reference manual
2023-11-28 13:36:40 -05:00
=====================================
.. toctree ::
:maxdepth: 4
:caption: Contents:
2023-11-28 14:27:42 -05:00
CERC PERSISTENCE' reference manual
2023-11-28 13:36:40 -05:00
=====================================
Authors
***** ***** ***** ***** *****
2024-04-02 02:22:36 -04:00
* Peter Yefi
2023-11-28 13:36:40 -05:00
* Guillermo Gutierrez Morote
Contributors
***** ***** ***** ***** *****
2024-04-02 02:22:36 -04:00
* Ruben Sanchez
2023-11-28 13:36:40 -05:00
2023-11-28 14:27:42 -05:00
About the PERSISTENCE
2023-11-28 13:36:40 -05:00
***** ***** ***** ***** *****
2024-04-02 02:22:36 -04:00
This document contains the essential documentation for the cerc persistence package, a set of classes, that allows the permanent storage of a cec_hub city.
cerc persistence package is composed of two main components: **repositories** and **models** .
2023-11-28 13:36:40 -05:00
Folder structure
***** ***** ***** ***
2023-11-29 13:04:46 -05:00
.. image :: ./cerc_persistence.png
2024-04-02 02:22:36 -04:00
:width: 400
2023-11-28 13:36:40 -05:00
2023-11-29 13:04:46 -05:00
Model Classes
2023-11-28 13:36:40 -05:00
***** ***** ***** ***** ***** ***
2023-11-29 13:04:46 -05:00
Application
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2023-11-29 13:04:46 -05:00
.. autocercclass :: cerc_persistence.models.application.Application
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
City
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2023-11-29 13:04:46 -05:00
.. autocercclass :: cerc_persistence.models.city.City
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
CityObject
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2023-11-29 13:04:46 -05:00
.. autocercclass :: cerc_persistence.models.city_object.CityObject
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
SimulationResults
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2023-11-29 13:04:46 -05:00
.. autocercclass :: cerc_persistence.models.simulation_results.SimulationResults
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
User
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2023-11-29 13:04:46 -05:00
.. autocercclass :: cerc_persistence.models.user.User
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
Repository Classes
***** ***** ***** ***** ***** ***
Application
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2024-04-02 02:22:36 -04:00
.. autocercclass :: cerc_persistence.repositories.application.Application
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
City
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2024-04-02 02:22:36 -04:00
.. autocercclass :: cerc_persistence.repositories.city.City
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
CityObject
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2024-04-02 02:22:36 -04:00
.. autocercclass :: cerc_persistence.repositories.city_object.CityObject
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
SimulationResults
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2024-04-02 02:22:36 -04:00
.. autocercclass :: cerc_persistence.repositories.simulation_results.SimulationResults
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
User
2023-11-28 13:36:40 -05:00
^^^^^^^^^^^^^^^^^^^^^^
2024-04-02 02:22:36 -04:00
.. autocercclass :: cerc_persistence.repositories.user.User
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
Classes
***** ***** ***** ***** ***** ***
2023-11-28 13:36:40 -05:00
2023-11-29 13:04:46 -05:00
Configuration
^^^^^^^^^^^^^^^^^^^^^^
.. autocercclass :: cerc_persistence.configuration.Configuration
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
DB Control
^^^^^^^^^^^^^^^^^^^^^^
.. autocercclass :: cerc_persistence.db_control.DBControl
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
DB Setup
^^^^^^^^^^^^^^^^^^^^^^
.. autocercclass :: cerc_persistence.db_setup.DBSetup
2023-11-28 13:36:40 -05:00
:members:
2023-11-29 13:04:46 -05:00
Repository
^^^^^^^^^^^^^^^^^^^^^^
.. autocercclass :: cerc_persistence.repository.Repository
2023-11-28 13:36:40 -05:00
:members:
Additional Files
====================
Readme
***** ***** *
`README.md <https://rs-loy-gitlab.concordia.ca/Guille/hub/-/blob/master/README.md> `_
License
***** ***** **
`LICENSE.md <https://rs-loy-gitlab.concordia.ca/Guille/hub/-/blob/master/LICENSE.md> `_
Code of conduct
***** ***** ***** ***** *** *
`CODE_OF_CONDUCT.md <https://rs-loy-gitlab.concordia.ca/Guille/hub/-/blob/master/CODE_OF_CONDUCT.md> `_
How to contribute
***** ***** ***** ***** *** *
`CONTRIBUTING.md <https://rs-loy-gitlab.concordia.ca/Guille/hub/-/blob/master/CONTRIBUTING.md> `_
Coding style
***** ***** ***** ***** *** *
`PYGUIDE.md <https://rs-loy-gitlab.concordia.ca/Guille/hub/-/blob/master/PYGUIDE.md> `_
.. raw :: latex
\tiny