Prefect integrations for interacting with Kubernetes.
Project description
prefect-kubernetes
Welcome!
Prefect integrations for interacting with prefect-kubernetes.
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-kubernetes
with pip
:
pip install prefect-kubernetes
Write and run a flow
from prefect import flow
from prefect_kubernetes.tasks import (
goodbye_prefect_kubernetes,
hello_prefect_kubernetes,
)
@flow
def example_flow():
hello_prefect_kubernetes
goodbye_prefect_kubernetes
example_flow()
Resources
If you encounter any bugs while using prefect-kubernetes
, feel free to open an issue in the prefect-kubernetes repository.
If you have any questions or issues while using prefect-kubernetes
, 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-kubernetes
for development, clone the repository and perform an editable install with pip
:
git clone https://github.com/PrefectHQ/prefect-kubernetes.git
cd prefect-kubernetes/
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-kubernetes-0.0.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6bd12362c51d2c3bba462d9a7712775393d0067d9b8e0998427f0901fb03e2c |
|
MD5 | 65924b0d0e3f93aa6a8654670967ba32 |
|
BLAKE2b-256 | cce5fdb51ff0275ee969815b680181c90e8e9fb916b1e8deed9d01aa3040f174 |
Hashes for prefect_kubernetes-0.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf86d8b227f7fb9f839c17c852575c3a7235cdf597cb5cfce05f8f313955941 |
|
MD5 | 80cd3cde7d82fc7b953b84e28df4fccc |
|
BLAKE2b-256 | a73922f800cc199f572be048b95aecf0e4988cda2def3e56ab66857403ed054f |