Skip to main content

PyPI

Prefect

Prefect is an orchestrator for data-intensive workflows. It's the simplest way to transform any Python function into a unit of work that can be observed and orchestrated. With Prefect, you can build resilient, dynamic workflows that react to the world around them and recover from unexpected changes. With just a few decorators, Prefect supercharges your code with features like automatic retries, distributed execution, scheduling, caching, and much more. Every activity is tracked and can be monitored with the Prefect server or Prefect Cloud dashboard.

from prefect import flow, task
from typing import List
import httpx


@task(retries=3)
def get_stars(repo: str):
    url = f"https://api.github.com/repos/{repo}"
    count = httpx.get(url).json()["stargazers_count"]
    print(f"{repo} has {count} stars!")


@flow(name="GitHub Stars")
def github_stars(repos: List[str]):
    for repo in repos:
        get_stars(repo)


# run the flow!
github_stars(["PrefectHQ/Prefect"])

After running some flows, fire up the Prefect UI to see what happened:

prefect server start

Prefect UI dashboard

From here, you can continue to use Prefect interactively or deploy your flows to remote environments, running on a scheduled or event-driven basis.

Getting Started

Prefect requires Python 3.8 or later. To install Prefect, run the following command in a shell or terminal session:

pip install prefect

Start by then exploring the core concepts of Prefect workflows, then follow one of our friendly tutorials to learn by example.

Join the community

Prefect is made possible by the fastest growing community of thousands of friendly data engineers. Join us in building a new kind of workflow system. The Prefect Slack community is a fantastic place to learn more about Prefect, ask questions, or get help with workflow design. The Prefect Discourse is a community-driven knowledge base to find answers to your Prefect-related questions. All community forums, including code contributions, issue discussions, and slack messages are subject to our Code of Conduct.

Contribute

See our documentation on contributing to Prefect.

Thanks for being part of the mission to build a new kind of workflow system and, of course, happy engineering!

Metadata

Release files for uriel-pc-tests 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uriel-pc-tests 1.0.1
File Size Uploaded Provenance Actions
uriel-pc-tests-1.0.1.tar.gz 473.2 kB Without provenance Details for uriel-pc-tests-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uriel-pc-tests 1.0.1
File Interpreter ABI Platform Actions
uriel_pc_tests-1.0.1-py3-none-any.whl Python 3 none any Details for uriel_pc_tests-1.0.1-py3-none-any.whl

Total release size: 993.7 kB

Release files / uriel-pc-tests-1.0.1.tar.gz

Download URL uriel-pc-tests-1.0.1.tar.gz
Size 473.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0385aec685b1f63045c2b0c1e09eddbf8b04c74ea1808de6cdac41812fb05489
BLAKE2b-256 checksum
How to use checksums
29ddf22094a48ddb2e0dac9156d6ec1784660941eed553972bd80a2336041cac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / uriel_pc_tests-1.0.1-py3-none-any.whl

Download URL uriel_pc_tests-1.0.1-py3-none-any.whl
Size 520.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
206d24b8d50499fb4b18d593184f00dd741d18f5e1226b7870a75742ec86540d
BLAKE2b-256 checksum
How to use checksums
c925b18e52a0c7c6a6da29043985a3a97dc0a65c13362acb85f09e5da92b3b8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for uriel-pc-tests 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page