Skip to main content

ORM classes for the cruise schema

Project description

ci-cmg-cruise-schema-orm

Setting Up a Virtual Environment with pyenv

Install pyenv-virtualenv if you have not already

brew install pyenv-virtualenv
pyenv install 3.9.13

If setting up pyenv for the first time, you will need to add these lines to your ~/.bash_profile or ~/.zprofile (if using zsh, the default in macos Catalina and later) file in order for pyenv to automatically activate / deactivate python environments configured for a given directory (next step).

eval "$(pyenv init -)"  
eval "$(pyenv virtualenv-init -)"

configure python environment for project directory

pyenv virtualenv 3.9.13 cruise-schema-orm-3.9.13
pyenv local cruise-schema-orm-3.9.13

install dependencies into python environment

pip install -r requirements.txt
pip install -r test-requirements.txt

Building

Since this project can use JDBC divers, Apache Maven is used to build and test the library. Java 8+ and Maven must be installed and on the PATH. JAVA_HOME and MAVEN_HOME environment variables should be set.

This project uses a docker container running an Oracle database to run tests. Docker must be installed.

To build and test, run the following from the root of the project:

mvn clean install

Developing

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

Built Distribution

File details

Details for the file ci-cmg-cruise-schema-orm-1.1.0.dev20230303150834.tar.gz.

File metadata

File hashes

Hashes for ci-cmg-cruise-schema-orm-1.1.0.dev20230303150834.tar.gz
Algorithm Hash digest
SHA256 8c437f5480b8a409fdff7e4faa4aae93a2776bac5ce77147458e75499e5eeb58
MD5 e9c9a1041f7a9474bcee7865c7cb55c9
BLAKE2b-256 de167032993165e27acb6f45c1fec5d489165a6d5ccf5b4bbbc15305f18adba7

See more details on using hashes here.

File details

Details for the file ci_cmg_cruise_schema_orm-1.1.0.dev20230303150834-py3-none-any.whl.

File metadata

File hashes

Hashes for ci_cmg_cruise_schema_orm-1.1.0.dev20230303150834-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4ec9d80fe412ad4aa2f89878d0592e0821b3ad693a4e0560be7f2240b0d83f
MD5 bcaef50a50a3607f9dc5fbaa76b574ca
BLAKE2b-256 369acdb8a7e838e00f177894fd929a15dcb8f98cbf0721811427333ede5d6fd3

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