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.0a1.tar.gz
(64.0 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.0a1.tar.gz.
File metadata
- Download URL: prefect_cloud-0.1.0a1.tar.gz
- Upload date:
- Size: 64.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c7c783ce04b0f37726978a722a51d02cc2c11bb0216070f5697688478015bc4
|
|
| MD5 |
ef482aeb201da41bd05ed4bf1c035bc0
|
|
| BLAKE2b-256 |
57a140c63650be8bfb6537b243c659eb00127159b3def5cf2a20639707efa706
|
File details
Details for the file prefect_cloud-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: prefect_cloud-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c547389c304e94955ecaa8bc58fe2e4480d9c69d82642499dcf04dfb2a10c41
|
|
| MD5 |
5bfbdb14e01f9c312dd14bb6f7ce1949
|
|
| BLAKE2b-256 |
c0bb26bad189dea4438aa4e04fd1535e3dad859fbd9ab035e9615e573391d96b
|