Skip to main content

CU Python Opinionated Prefect Tasks

Project description

A package of Prefect Tasks and helpers.

Minimum Python 3.6

The following task ‘families’ are included:

  • SFTP Tasks

  • ORADB (Oracle Database) Tasks

  • Object Storage Tasks

Installation

From pip: pip install git+https://github.com/CUBoulder-OIT/cupyopt.git@master#egg=cupyopt

Alternatively, and importantly for development, clone this into an existing project and install in “development mode” with -e.

git clone https://github.com/CUBoulder-OIT/cupyopt.git pip install -e cupyopt/

NB, The ‘x.y.z’ (e.g. 0.12.6) in the versioning matches the versioning in Prefect. However the 4th section is ours to be unique within that version.

Use

Import the Task you need similar to:

from cupyopt.objectstore_tasks import ObjstrClient

Tests and Linting

make install
make lint
make test

Contributing?

Create an issue, fork the repo, fix an issue, submit a PR. All are welcome.

Flow practices very roughly hew to one-flow: https://reallifeprogramming.com/git-process-that-works-say-no-to-gitflow-50bf2038ccf7

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

cupyopt-0.15.11.2.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

cupyopt-0.15.11.2-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

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