Prefect integrations for working with Docker
Project description
prefect-docker
Welcome!
Prefect integrations for working with Docker
Getting Started
Python setup
Requires an installation of Python 3.7+.
We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.
These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.
Installation
Install prefect-docker
with pip
:
pip install prefect-docker
Write and run a flow
from prefect import flow
from prefect_docker.tasks import (
goodbye_prefect_docker,
hello_prefect_docker,
)
@flow
def example_flow():
hello_prefect_docker
goodbye_prefect_docker
example_flow()
Resources
If you encounter any bugs while using prefect-docker
, feel free to open an issue in the prefect-docker repository.
If you have any questions or issues while using prefect-docker
, you can find help in either the Prefect Discourse forum or the Prefect Slack community.
Development
If you'd like to install a version of prefect-docker
for development, clone the repository and perform an editable install with pip
:
git clone https://github.com/PrefectHQ/prefect-docker.git
cd prefect-docker/
pip install -e ".[dev]"
# Install linting pre-commit hooks
pre-commit install
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
Hashes for prefect_docker-0.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33769a8085da2faac550cfa9fed48ffc4f3faae9fada94800ddbae4f22c306ee |
|
MD5 | 3c1e832aacaae3e9f848d07005d0d90a |
|
BLAKE2b-256 | 181c37c7218cc7aa494c9ab559b8f8380765c5e95276473961343bf61951536c |