├── .github └── workflows │ ├── backend-docker.yaml │ ├── frontend-docker.yaml │ ├── functions-docker.yaml │ ├── pre-commit.yaml │ └── tests.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .secrets └── dtenv_template.sh ├── LICENSE ├── README.md ├── compose.yaml ├── dockerfiles ├── Dockerfile.backend ├── Dockerfile.frontend └── Dockerfile.functions ├── docs ├── DeveloperDocs.md └── docs.md ├── dtbase ├── __init__.py ├── backend │ ├── __init__.py │ ├── auth.py │ ├── config.py │ ├── create_app.py │ ├── database │ │ ├── __init__.py │ │ ├── locations.py │ │ ├── models.py │ │ ├── queries.py │ │ ├── sensor_locations.py │ │ ├── sensors.py │ │ ├── service.py │ │ ├── structure.py │ │ ├── users.py │ │ └── utils.py │ ├── exc.py │ ├── main.py │ ├── models.py │ ├── routers │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── location.py │ │ ├── model.py │ │ ├── sensor.py │ │ ├── service.py │ │ └── user.py │ ├── run.sh │ └── run_localdb.sh ├── core │ ├── __init__.py │ ├── constants.py │ ├── exc.py │ └── utils.py ├── frontend │ ├── .eslintrc │ ├── .prettierignore │ ├── .prettierrc │ ├── __init__.py │ ├── app │ │ ├── __init__.py │ │ ├── base │ │ │ ├── __init__.py │ │ │ ├── forms.py │ │ │ ├── routes.py │ │ │ ├── static │ │ │ │ ├── css │ │ │ │ │ ├── custom.css │ │ │ │ │ └── login.css │ │ │ │ ├── images │ │ │ │ │ └── favicon.ico │ │ │ │ ├── node_modules │ │ │ │ └── typescript │ │ │ │ │ ├── datatables.ts │ │ │ │ │ ├── interfaces.ts │ │ │ │ │ ├── location_form.ts │ │ │ │ │ ├── location_schema_form.ts │ │ │ │ │ ├── locations_table.ts │ │ │ │ │ ├── models.ts │ │ │ │ │ ├── readings.ts │ │ │ │ │ ├── sensor_edit_form.ts │ │ │ │ │ ├── sensor_list_table.ts │ │ │ │ │ ├── sensor_type_form.ts │ │ │ │ │ ├── service_details.ts │ │ │ │ │ ├── time_series_plots.ts │ │ │ │ │ └── utility.ts │ │ │ └── templates │ │ │ │ ├── base_site.html │ │ │ │ ├── errors │ │ │ │ ├── backend_not_found.html │ │ │ │ ├── page_401.html │ │ │ │ ├── page_403.html │ │ │ │ ├── page_404.html │ │ │ │ └── page_500.html │ │ │ │ ├── login │ │ │ │ └── login.html │ │ │ │ └── site_template │ │ │ │ └── sidebar.html │ │ ├── home │ │ │ ├── __init__.py │ │ │ ├── routes.py │ │ │ └── templates │ │ │ │ └── index.html │ │ ├── locations │ │ │ ├── __init__.py │ │ │ ├── routes.py │ │ │ └── templates │ │ │ │ ├── location_form.html │ │ │ │ ├── location_schema_form.html │ │ │ │ └── locations_table.html │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── routes.py │ │ │ └── templates │ │ │ │ └── models.html │ │ ├── sensors │ │ │ ├── __init__.py │ │ │ ├── routes.py │ │ │ └── templates │ │ │ │ ├── readings.html │ │ │ │ ├── sensor_edit_form.html │ │ │ │ ├── sensor_form.html │ │ │ │ ├── sensor_list_table.html │ │ │ │ ├── sensor_type_form.html │ │ │ │ └── time_series_plots.html │ │ ├── services │ │ │ ├── __init__.py │ │ │ ├── routes.py │ │ │ └── templates │ │ │ │ ├── service_details.html │ │ │ │ └── services.html │ │ └── users │ │ │ ├── __init__.py │ │ │ ├── routes.py │ │ │ └── templates │ │ │ └── users.html │ ├── config.py │ ├── exc.py │ ├── frontend_app.py │ ├── package-lock.json │ ├── package.json │ ├── run.sh │ ├── tsconfig.json │ ├── user.py │ ├── utils.py │ └── webpack.config.js ├── functions │ ├── .dockerignore │ ├── arima │ │ ├── __init__.py │ │ └── function.json │ ├── hodmd │ │ ├── __init__.py │ │ └── function.json │ ├── host.json │ ├── ingress_weather │ │ ├── __init__.py │ │ └── function.json │ └── local.settings.json ├── ingress │ ├── __init__.py │ └── ingress_weather.py ├── models │ ├── __init__.py │ ├── arima.py │ ├── hodmd.py │ └── utils │ │ ├── __init__.py │ │ └── sensor_data.py └── services │ ├── __init__.py │ └── base.py ├── examples ├── 000_Local_Deployment.ipynb ├── 001_Data_Ingress.ipynb ├── 002_Modelling.ipynb ├── README.md └── images │ └── dtbase_frontend.png ├── infrastructure ├── Pulumi.yaml └── __main__.py ├── media ├── README.md └── infrastructure.svg ├── pyproject.toml └── tests ├── __init__.py ├── conftest.py ├── generate_synthetic_data.py ├── resources └── data_for_tests.py ├── test_api_auth.py ├── test_api_locations.py ├── test_api_models.py ├── test_api_sensors.py ├── test_api_services.py ├── test_api_user.py ├── test_db.py ├── test_frontend_home.py ├── test_frontend_locations.py ├── test_frontend_login.py ├── test_frontend_models.py ├── test_frontend_sensors.py ├── test_frontend_services.py ├── test_frontend_users.py ├── test_ingress_weather.py ├── test_locations.py ├── test_model_arima.py ├── test_model_hodmd.py ├── test_model_utils.py ├── test_models.py ├── test_sensor_locations.py ├── test_sensors.py ├── test_services.py ├── test_services_base.py ├── test_users.py ├── upload_synthetic_data.py └── utils.py /.github/workflows/backend-docker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.github/workflows/backend-docker.yaml -------------------------------------------------------------------------------- /.github/workflows/frontend-docker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.github/workflows/frontend-docker.yaml -------------------------------------------------------------------------------- /.github/workflows/functions-docker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.github/workflows/functions-docker.yaml -------------------------------------------------------------------------------- /.github/workflows/pre-commit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.github/workflows/pre-commit.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.secrets/dtenv_template.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/.secrets/dtenv_template.sh -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/README.md -------------------------------------------------------------------------------- /compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/compose.yaml -------------------------------------------------------------------------------- /dockerfiles/Dockerfile.backend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dockerfiles/Dockerfile.backend -------------------------------------------------------------------------------- /dockerfiles/Dockerfile.frontend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dockerfiles/Dockerfile.frontend -------------------------------------------------------------------------------- /dockerfiles/Dockerfile.functions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dockerfiles/Dockerfile.functions -------------------------------------------------------------------------------- /docs/DeveloperDocs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/docs/DeveloperDocs.md -------------------------------------------------------------------------------- /docs/docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/docs/docs.md -------------------------------------------------------------------------------- /dtbase/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/backend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/backend/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/auth.py -------------------------------------------------------------------------------- /dtbase/backend/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/config.py -------------------------------------------------------------------------------- /dtbase/backend/create_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/create_app.py -------------------------------------------------------------------------------- /dtbase/backend/database/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/backend/database/locations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/locations.py -------------------------------------------------------------------------------- /dtbase/backend/database/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/models.py -------------------------------------------------------------------------------- /dtbase/backend/database/queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/queries.py -------------------------------------------------------------------------------- /dtbase/backend/database/sensor_locations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/sensor_locations.py -------------------------------------------------------------------------------- /dtbase/backend/database/sensors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/sensors.py -------------------------------------------------------------------------------- /dtbase/backend/database/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/service.py -------------------------------------------------------------------------------- /dtbase/backend/database/structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/structure.py -------------------------------------------------------------------------------- /dtbase/backend/database/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/users.py -------------------------------------------------------------------------------- /dtbase/backend/database/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/database/utils.py -------------------------------------------------------------------------------- /dtbase/backend/exc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/exc.py -------------------------------------------------------------------------------- /dtbase/backend/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/main.py -------------------------------------------------------------------------------- /dtbase/backend/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/models.py -------------------------------------------------------------------------------- /dtbase/backend/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/backend/routers/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/routers/auth.py -------------------------------------------------------------------------------- /dtbase/backend/routers/location.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/routers/location.py -------------------------------------------------------------------------------- /dtbase/backend/routers/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/routers/model.py -------------------------------------------------------------------------------- /dtbase/backend/routers/sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/routers/sensor.py -------------------------------------------------------------------------------- /dtbase/backend/routers/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/routers/service.py -------------------------------------------------------------------------------- /dtbase/backend/routers/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/routers/user.py -------------------------------------------------------------------------------- /dtbase/backend/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/backend/run.sh -------------------------------------------------------------------------------- /dtbase/backend/run_localdb.sh: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/core/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/core/constants.py -------------------------------------------------------------------------------- /dtbase/core/exc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/core/exc.py -------------------------------------------------------------------------------- /dtbase/core/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/core/utils.py -------------------------------------------------------------------------------- /dtbase/frontend/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/.eslintrc -------------------------------------------------------------------------------- /dtbase/frontend/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *templates* 3 | -------------------------------------------------------------------------------- /dtbase/frontend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/.prettierrc -------------------------------------------------------------------------------- /dtbase/frontend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/frontend/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/base/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/base/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/forms.py -------------------------------------------------------------------------------- /dtbase/frontend/app/base/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/routes.py -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/css/custom.css -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/css/login.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/css/login.css -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/images/favicon.ico -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/node_modules: -------------------------------------------------------------------------------- 1 | ../../../node_modules/ -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/datatables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/datatables.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/interfaces.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/location_form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/location_form.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/location_schema_form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/location_schema_form.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/locations_table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/locations_table.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/models.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/readings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/readings.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/sensor_edit_form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/sensor_edit_form.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/sensor_list_table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/sensor_list_table.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/sensor_type_form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/sensor_type_form.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/service_details.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/service_details.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/time_series_plots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/time_series_plots.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/static/typescript/utility.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/static/typescript/utility.ts -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/base_site.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/base_site.html -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/errors/backend_not_found.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/errors/backend_not_found.html -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/errors/page_401.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/errors/page_401.html -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/errors/page_403.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/errors/page_403.html -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/errors/page_404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/errors/page_404.html -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/errors/page_500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/errors/page_500.html -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/login/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/login/login.html -------------------------------------------------------------------------------- /dtbase/frontend/app/base/templates/site_template/sidebar.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/base/templates/site_template/sidebar.html -------------------------------------------------------------------------------- /dtbase/frontend/app/home/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/home/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/home/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/home/routes.py -------------------------------------------------------------------------------- /dtbase/frontend/app/home/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/home/templates/index.html -------------------------------------------------------------------------------- /dtbase/frontend/app/locations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/locations/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/locations/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/locations/routes.py -------------------------------------------------------------------------------- /dtbase/frontend/app/locations/templates/location_form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/locations/templates/location_form.html -------------------------------------------------------------------------------- /dtbase/frontend/app/locations/templates/location_schema_form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/locations/templates/location_schema_form.html -------------------------------------------------------------------------------- /dtbase/frontend/app/locations/templates/locations_table.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/locations/templates/locations_table.html -------------------------------------------------------------------------------- /dtbase/frontend/app/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/models/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/models/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/models/routes.py -------------------------------------------------------------------------------- /dtbase/frontend/app/models/templates/models.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/models/templates/models.html -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/routes.py -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/templates/readings.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/templates/readings.html -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/templates/sensor_edit_form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/templates/sensor_edit_form.html -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/templates/sensor_form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/templates/sensor_form.html -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/templates/sensor_list_table.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/templates/sensor_list_table.html -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/templates/sensor_type_form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/templates/sensor_type_form.html -------------------------------------------------------------------------------- /dtbase/frontend/app/sensors/templates/time_series_plots.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/sensors/templates/time_series_plots.html -------------------------------------------------------------------------------- /dtbase/frontend/app/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/services/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/services/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/services/routes.py -------------------------------------------------------------------------------- /dtbase/frontend/app/services/templates/service_details.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/services/templates/service_details.html -------------------------------------------------------------------------------- /dtbase/frontend/app/services/templates/services.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/services/templates/services.html -------------------------------------------------------------------------------- /dtbase/frontend/app/users/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/users/__init__.py -------------------------------------------------------------------------------- /dtbase/frontend/app/users/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/users/routes.py -------------------------------------------------------------------------------- /dtbase/frontend/app/users/templates/users.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/app/users/templates/users.html -------------------------------------------------------------------------------- /dtbase/frontend/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/config.py -------------------------------------------------------------------------------- /dtbase/frontend/exc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/exc.py -------------------------------------------------------------------------------- /dtbase/frontend/frontend_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/frontend_app.py -------------------------------------------------------------------------------- /dtbase/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/package-lock.json -------------------------------------------------------------------------------- /dtbase/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/package.json -------------------------------------------------------------------------------- /dtbase/frontend/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/run.sh -------------------------------------------------------------------------------- /dtbase/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/tsconfig.json -------------------------------------------------------------------------------- /dtbase/frontend/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/user.py -------------------------------------------------------------------------------- /dtbase/frontend/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/utils.py -------------------------------------------------------------------------------- /dtbase/frontend/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/frontend/webpack.config.js -------------------------------------------------------------------------------- /dtbase/functions/.dockerignore: -------------------------------------------------------------------------------- 1 | local.settings.json 2 | -------------------------------------------------------------------------------- /dtbase/functions/arima/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/arima/__init__.py -------------------------------------------------------------------------------- /dtbase/functions/arima/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/arima/function.json -------------------------------------------------------------------------------- /dtbase/functions/hodmd/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/hodmd/__init__.py -------------------------------------------------------------------------------- /dtbase/functions/hodmd/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/hodmd/function.json -------------------------------------------------------------------------------- /dtbase/functions/host.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/host.json -------------------------------------------------------------------------------- /dtbase/functions/ingress_weather/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/ingress_weather/__init__.py -------------------------------------------------------------------------------- /dtbase/functions/ingress_weather/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/ingress_weather/function.json -------------------------------------------------------------------------------- /dtbase/functions/local.settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/functions/local.settings.json -------------------------------------------------------------------------------- /dtbase/ingress/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/ingress/ingress_weather.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/ingress/ingress_weather.py -------------------------------------------------------------------------------- /dtbase/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/models/arima.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/models/arima.py -------------------------------------------------------------------------------- /dtbase/models/hodmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/models/hodmd.py -------------------------------------------------------------------------------- /dtbase/models/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/models/utils/sensor_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/models/utils/sensor_data.py -------------------------------------------------------------------------------- /dtbase/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtbase/services/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/dtbase/services/base.py -------------------------------------------------------------------------------- /examples/000_Local_Deployment.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/examples/000_Local_Deployment.ipynb -------------------------------------------------------------------------------- /examples/001_Data_Ingress.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/examples/001_Data_Ingress.ipynb -------------------------------------------------------------------------------- /examples/002_Modelling.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/examples/002_Modelling.ipynb -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/images/dtbase_frontend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/examples/images/dtbase_frontend.png -------------------------------------------------------------------------------- /infrastructure/Pulumi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/infrastructure/Pulumi.yaml -------------------------------------------------------------------------------- /infrastructure/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/infrastructure/__main__.py -------------------------------------------------------------------------------- /media/README.md: -------------------------------------------------------------------------------- 1 | Figures and such, used in documentation. 2 | -------------------------------------------------------------------------------- /media/infrastructure.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/media/infrastructure.svg -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/generate_synthetic_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/generate_synthetic_data.py -------------------------------------------------------------------------------- /tests/resources/data_for_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/resources/data_for_tests.py -------------------------------------------------------------------------------- /tests/test_api_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_api_auth.py -------------------------------------------------------------------------------- /tests/test_api_locations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_api_locations.py -------------------------------------------------------------------------------- /tests/test_api_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_api_models.py -------------------------------------------------------------------------------- /tests/test_api_sensors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_api_sensors.py -------------------------------------------------------------------------------- /tests/test_api_services.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_api_services.py -------------------------------------------------------------------------------- /tests/test_api_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_api_user.py -------------------------------------------------------------------------------- /tests/test_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_db.py -------------------------------------------------------------------------------- /tests/test_frontend_home.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_frontend_home.py -------------------------------------------------------------------------------- /tests/test_frontend_locations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_frontend_locations.py -------------------------------------------------------------------------------- /tests/test_frontend_login.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_frontend_login.py -------------------------------------------------------------------------------- /tests/test_frontend_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_frontend_models.py -------------------------------------------------------------------------------- /tests/test_frontend_sensors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_frontend_sensors.py -------------------------------------------------------------------------------- /tests/test_frontend_services.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_frontend_services.py -------------------------------------------------------------------------------- /tests/test_frontend_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_frontend_users.py -------------------------------------------------------------------------------- /tests/test_ingress_weather.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_ingress_weather.py -------------------------------------------------------------------------------- /tests/test_locations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_locations.py -------------------------------------------------------------------------------- /tests/test_model_arima.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_model_arima.py -------------------------------------------------------------------------------- /tests/test_model_hodmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_model_hodmd.py -------------------------------------------------------------------------------- /tests/test_model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_model_utils.py -------------------------------------------------------------------------------- /tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_models.py -------------------------------------------------------------------------------- /tests/test_sensor_locations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_sensor_locations.py -------------------------------------------------------------------------------- /tests/test_sensors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_sensors.py -------------------------------------------------------------------------------- /tests/test_services.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_services.py -------------------------------------------------------------------------------- /tests/test_services_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_services_base.py -------------------------------------------------------------------------------- /tests/test_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/test_users.py -------------------------------------------------------------------------------- /tests/upload_synthetic_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/upload_synthetic_data.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alan-turing-institute/DTBase/HEAD/tests/utils.py --------------------------------------------------------------------------------