Metadata-Version: 2.4
Name: prefect-cloud
Version: 0.1.0a1
Summary: Package for easily deploying to Prefect Cloud.
Author-email: "Prefect Technologies, Inc." <help@prefect.io>
Requires-Python: >=3.12
Requires-Dist: croniter>=6.0.0
Requires-Dist: griffe>=1.5.6
Requires-Dist: httpx>=0.28.1
Requires-Dist: pendulum>=3.0.0
Requires-Dist: pydantic-extra-types>=2.10.2
Requires-Dist: pydantic-settings>=2.7.1
Requires-Dist: pydantic>=2.10.6
Requires-Dist: readchar>=4.2.1
Requires-Dist: rich>=13.9.4
Requires-Dist: toml>=0.10.2
Requires-Dist: typer>=0.13.1
Requires-Dist: typing-extensions>=4.12.2
Requires-Dist: tzlocal>=5.2
Requires-Dist: uv>=0.5.26
Description-Content-Type: text/markdown

# prefect-cloud

:zap: Deploy your code on Prefect Cloud in seconds! :zap:

## Installation
All you need is `uv`! See [installation docs here](https://docs.astral.sh/uv/getting-started/installation/)
```bash
$ curl -LsSf https://astral.sh/uv/install.sh | sh
```

## Login to Prefect Cloud
```bash
$ uvx prefect cloud login
```

## Deploy your workflow from github

```shell
$ uvx prefect-cloud deploy FUNCTION_NAME --from GITHUB_PY_FILE_URL
```
For example:
```shell
$ uvx prefect-cloud deploy hello_world --from https://github.com/jakekaplan/demo-flows/blob/main/hello_world.py
```
### From a Private Repo
```shell
# private repo
$ uvx prefect-cloud deploy FUNCTION_NAME --from GITHUB_PY_FILE_URL --credentials GITHUB_TOKEN
```

### With dependencies:
```bash
# 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:
```bash
$ uvx prefect-cloud deploy ... --from ... --env ENV_VAR1=VALUE1 --env ENV_VAR2=VALUE2
```
