Package for easily deploying to Prefect Cloud.
Project description
prefect-cloud
:zap: Deploy your code on Prefect Cloud in seconds! :zap:
Installation
All you need is uv! See installation docs here
$ curl -LsSf https://astral.sh/uv/install.sh | sh
Login to Prefect Cloud
$ uvx prefect-cloud login
Deploy your workflow from github
$ uvx prefect-cloud deploy FUNCTION_NAME --from GITHUB_PY_FILE_URL
For example:
$ uvx prefect-cloud deploy hello_world --from https://github.com/jakekaplan/demo-flows/blob/main/hello_world.py
From a Private Repo
# private repo
$ uvx prefect-cloud deploy FUNCTION_NAME --from GITHUB_PY_FILE_URL --credentials GITHUB_TOKEN
With dependencies:
# a package
$ uvx prefect-cloud deploy ... --from ... --dependencies pandas
# multiple packages
$ uvx prefect-cloud deploy ... --from ... --dependencies "pandas,numpy"
# requirements file
$ uvx prefect-cloud deploy ... --from ... --dependencies /path/to/requirements.txt
# pyproject.toml
$ uvx prefect-cloud deploy ... --from ... --dependencies /path/to/pyproject.toml
With environment variables:
$ uvx prefect-cloud deploy ... --from ... --env ENV_VAR1=VALUE1 --env ENV_VAR2=VALUE2
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
prefect_cloud-0.1.0a2.tar.gz
(78.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prefect_cloud-0.1.0a2.tar.gz.
File metadata
- Download URL: prefect_cloud-0.1.0a2.tar.gz
- Upload date:
- Size: 78.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b316fdfd39a727fcbedf50c431265b008752bf2fe5d83b72c208a733c043851
|
|
| MD5 |
d9893963f5a6c9053b724511d8454e9e
|
|
| BLAKE2b-256 |
04d6190fe35611ce35ff44870bd420817ff43e33f80c1a95b5c4413b97594828
|
File details
Details for the file prefect_cloud-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: prefect_cloud-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1c44f2c309d558a6cb7827b40d3f960c1d5138b362773816475a52bc7639af
|
|
| MD5 |
b63c4eec50f58398cd60d4624c061e6d
|
|
| BLAKE2b-256 |
2c8be7571b001645b3ef3ca82f309f8c9a8b68f0c4219d6b00d01b4d464106be
|