Skip to main content

Collection of object-relational mapping (ORM) data models for ODM2

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odm2datamodels-0.0.4.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

odm2datamodels-0.0.4-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file odm2datamodels-0.0.4.tar.gz.

File metadata

  • Download URL: odm2datamodels-0.0.4.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for odm2datamodels-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e8bf92c4a4390dcacdffe34400af478224f0c07f7db2167586563b8d90a03181
MD5 6b37e029c293a67b85360c1b6b20bd31
BLAKE2b-256 5affd30337b867fac8ea1208699e9763b3441109286650b29399037452318036

See more details on using hashes here.

File details

Details for the file odm2datamodels-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for odm2datamodels-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c1ea511cefca65558aad1317b7e4f1a8b49bdfb5a2086b10938fab4ee883030
MD5 6546d58fd82fa2768328cd8989724db2
BLAKE2b-256 f484eb9fee50b7111a188dbcdefa7791b6ed828ca28a0b2d698db50a65d2319d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page