Skip to main content

ODM2DataModels

What is this?

odm2datamodels is a Python package that provides a set of object-relational mapping (ORM) data models for the Observations Data Model Version 2.1. This data models are built of the SQLAlchemy and provide a convenient way of interfacing with an ODM2.1 database.

Core Features

The primary is the ODM2DataModels class, which once instantiated, provides access to the set of ORM ODM2.1 data models and an instance of an ODM2Engine which provide utility function to perform basic Create, Read, Update, Delete operations as well are read execution of custom SQLQueries constructed using a SQLAlchemy Select object or Query Object

How to install?

Presently the build files are only available on our github repository

Though we are aiming to release to the Python Package Index (PyPI) and Conda in the near future.

Testing and Database Dialect Support

Testing Method

Presently very limited testing has been conducted and has primarily been through an implementation of a REST API with limited coverage of selected data models. Further expanding and automating testing is an area for future updates.

Database Dialect Support

These data models have only been validated for a PostgreSQL database running a deployment of the ODM2.1 schema.

Metadata

Release files for odm2datamodels 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odm2datamodels 0.0.4
File Size Uploaded
odm2datamodels-0.0.4.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odm2datamodels 0.0.4
File Interpreter ABI Platform
odm2datamodels-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 23.8 kB

Release files / odm2datamodels-0.0.4.tar.gz

Download URL odm2datamodels-0.0.4.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e8bf92c4a4390dcacdffe34400af478224f0c07f7db2167586563b8d90a03181
BLAKE2b-256 checksum
How to use checksums
5affd30337b867fac8ea1208699e9763b3441109286650b29399037452318036
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release files / odm2datamodels-0.0.4-py3-none-any.whl

Download URL odm2datamodels-0.0.4-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c1ea511cefca65558aad1317b7e4f1a8b49bdfb5a2086b10938fab4ee883030
BLAKE2b-256 checksum
How to use checksums
f484eb9fee50b7111a188dbcdefa7791b6ed828ca28a0b2d698db50a65d2319d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page