Skip to main content

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


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.0a0.tar.gz (63.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prefect_cloud-0.1.0a0-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file prefect_cloud-0.1.0a0.tar.gz.

File metadata

  • Download URL: prefect_cloud-0.1.0a0.tar.gz
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.29

File hashes

Hashes for prefect_cloud-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 6d4b9ddb71d09bb11acbd8071481d43248100608f724ea74d293d76b0ae1cfa2
MD5 ae8b0e1952f4295157c4e75451c48d42
BLAKE2b-256 db0349cd7331b9fe5cb7eee6c7b9aed530e8c506053f5dd9f42c31a4c380e94c

See more details on using hashes here.

File details

Details for the file prefect_cloud-0.1.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for prefect_cloud-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 13401d030f7138b9bb05d3fbf9ea270fbcff85ba588c8b14eae64f7f186bff08
MD5 7eca7e24923ca08d9125c80316760d05
BLAKE2b-256 f3769eb32bed61d6dc27cfb0fb0bba91d9a06bb0933afecdbd6446d434212658

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page