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.dev20230120160244.tar.gz.

File metadata

File hashes

Hashes for ci-cmg-cruise-schema-orm-1.1.0.dev20230120160244.tar.gz
Algorithm Hash digest
SHA256 2d949420a0f55aefbb7de280632525dec6c45878b4f39c927a3718ad429e4d14
MD5 a867d9f992c060c861a27046b3f1a528
BLAKE2b-256 f5b8e986eec2a90c7bba43c68be60c4d5b769c5d7364c21aeda99d29c07bea37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ci_cmg_cruise_schema_orm-1.1.0.dev20230120160244-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba8bdcf10d07654b455a086b5a59bf31302c8c8d800fcf7887854300cd38a47
MD5 b01640dbecdd08bba0c99679ab73543f
BLAKE2b-256 4bc00591132adb22d2d54b00fdef4b3d3546ff8e85e36b6e553fb3c9d7e667d9

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