<p align="center"><img src="https://github.com/PrefectHQ/prefect/assets/3407835/c654cbc6-63e8-4ada-a92a-efd2f8f24b85" width=1000></p>
<p align="center">
<a href="https://pypi.python.org/pypi/prefect/" alt="PyPI version">
<img alt="PyPI" src="https://img.shields.io/pypi/v/prefect?color=0052FF&labelColor=090422"></a>
<a href="https://github.com/prefecthq/prefect/" alt="Stars">
<img src="https://img.shields.io/github/stars/prefecthq/prefect?color=0052FF&labelColor=090422" /></a>
<a href="https://pepy.tech/badge/prefect/" alt="Downloads">
<img src="https://img.shields.io/pypi/dm/prefect?color=0052FF&labelColor=090422" /></a>
<a href="https://github.com/prefecthq/prefect/pulse" alt="Activity">
<img src="https://img.shields.io/github/commit-activity/m/prefecthq/prefect?color=0052FF&labelColor=090422" /></a>
<br>
<a href="https://prefect.io/slack" alt="Slack">
<img src="https://img.shields.io/badge/slack-join_community-red.svg?color=0052FF&labelColor=090422&logo=slack" /></a>
<a href="https://discourse.prefect.io/" alt="Discourse">
<img src="https://img.shields.io/badge/discourse-browse_forum-red.svg?color=0052FF&labelColor=090422&logo=discourse" /></a>
<a href="https://www.youtube.com/c/PrefectIO/" alt="YouTube">
<img src="https://img.shields.io/badge/youtube-watch_videos-red.svg?color=0052FF&labelColor=090422&logo=youtube" /></a>
</p>
# 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.
```python
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:
```bash
prefect server start
```
![Prefect UI dashboard](/docs/img/ui/cloud-dashboard.png)
From here, you can continue to use Prefect interactively or [deploy your flows](https://docs.prefect.io/concepts/deployments) to remote environments, running on a scheduled or event-driven basis.
## Getting Started
Prefect requires Python 3.8 or later. To [install Prefect](https://docs.prefect.io/getting-started/installation/), run the following command in a shell or terminal session:
```bash
pip install prefect
```
Start by then exploring the [core concepts of Prefect workflows](https://docs.prefect.io/concepts/), then follow one of our [friendly tutorials](https://docs.prefect.io/tutorials/first-steps) 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](https://prefect.io/slack) is a fantastic place to learn more about Prefect, ask questions, or get help with workflow design. The [Prefect Discourse](https://discourse.prefect.io/) 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](https://discourse.prefect.io/faq).
## Contribute
See our [documentation on contributing to Prefect](https://docs.prefect.io/contributing/overview/).
Thanks for being part of the mission to build a new kind of workflow system and, of course, **happy engineering!**
Raw data
{
"_id": null,
"home_page": "https://www.prefect.io",
"name": "uriel-pc-tests",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Prefect Technologies, Inc.",
"author_email": "help@prefect.io",
"download_url": "https://files.pythonhosted.org/packages/29/dd/f22094a48ddb2e0dac9156d6ec1784660941eed553972bd80a2336041cac/uriel-pc-tests-1.0.1.tar.gz",
"platform": null,
"description": "<p align=\"center\"><img src=\"https://github.com/PrefectHQ/prefect/assets/3407835/c654cbc6-63e8-4ada-a92a-efd2f8f24b85\" width=1000></p>\n\n<p align=\"center\">\n <a href=\"https://pypi.python.org/pypi/prefect/\" alt=\"PyPI version\">\n <img alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/prefect?color=0052FF&labelColor=090422\"></a>\n <a href=\"https://github.com/prefecthq/prefect/\" alt=\"Stars\">\n <img src=\"https://img.shields.io/github/stars/prefecthq/prefect?color=0052FF&labelColor=090422\" /></a>\n <a href=\"https://pepy.tech/badge/prefect/\" alt=\"Downloads\">\n <img src=\"https://img.shields.io/pypi/dm/prefect?color=0052FF&labelColor=090422\" /></a>\n <a href=\"https://github.com/prefecthq/prefect/pulse\" alt=\"Activity\">\n <img src=\"https://img.shields.io/github/commit-activity/m/prefecthq/prefect?color=0052FF&labelColor=090422\" /></a>\n <br>\n <a href=\"https://prefect.io/slack\" alt=\"Slack\">\n <img src=\"https://img.shields.io/badge/slack-join_community-red.svg?color=0052FF&labelColor=090422&logo=slack\" /></a>\n <a href=\"https://discourse.prefect.io/\" alt=\"Discourse\">\n <img src=\"https://img.shields.io/badge/discourse-browse_forum-red.svg?color=0052FF&labelColor=090422&logo=discourse\" /></a>\n <a href=\"https://www.youtube.com/c/PrefectIO/\" alt=\"YouTube\">\n <img src=\"https://img.shields.io/badge/youtube-watch_videos-red.svg?color=0052FF&labelColor=090422&logo=youtube\" /></a>\n</p>\n\n# Prefect\n\nPrefect 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.\n\n```python\nfrom prefect import flow, task\nfrom typing import List\nimport httpx\n\n\n@task(retries=3)\ndef get_stars(repo: str):\n url = f\"https://api.github.com/repos/{repo}\"\n count = httpx.get(url).json()[\"stargazers_count\"]\n print(f\"{repo} has {count} stars!\")\n\n\n@flow(name=\"GitHub Stars\")\ndef github_stars(repos: List[str]):\n for repo in repos:\n get_stars(repo)\n\n\n# run the flow!\ngithub_stars([\"PrefectHQ/Prefect\"])\n```\n\nAfter running some flows, fire up the Prefect UI to see what happened:\n\n```bash\nprefect server start\n```\n\n![Prefect UI dashboard](/docs/img/ui/cloud-dashboard.png)\n\nFrom here, you can continue to use Prefect interactively or [deploy your flows](https://docs.prefect.io/concepts/deployments) to remote environments, running on a scheduled or event-driven basis.\n\n## Getting Started\n\nPrefect requires Python 3.8 or later. To [install Prefect](https://docs.prefect.io/getting-started/installation/), run the following command in a shell or terminal session:\n\n```bash\npip install prefect\n```\n\nStart by then exploring the [core concepts of Prefect workflows](https://docs.prefect.io/concepts/), then follow one of our [friendly tutorials](https://docs.prefect.io/tutorials/first-steps) to learn by example.\n\n## Join the community\n\nPrefect 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](https://prefect.io/slack) is a fantastic place to learn more about Prefect, ask questions, or get help with workflow design. The [Prefect Discourse](https://discourse.prefect.io/) 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](https://discourse.prefect.io/faq).\n\n## Contribute\n\nSee our [documentation on contributing to Prefect](https://docs.prefect.io/contributing/overview/).\n\nThanks for being part of the mission to build a new kind of workflow system and, of course, **happy engineering!**\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Workflow orchestration and management.",
"version": "1.0.1",
"project_urls": {
"Changelog": "https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md",
"Documentation": "https://docs.prefect.io",
"Homepage": "https://www.prefect.io",
"Source": "https://github.com/PrefectHQ/prefect",
"Tracker": "https://github.com/PrefectHQ/prefect/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c925b18e52a0c7c6a6da29043985a3a97dc0a65c13362acb85f09e5da92b3b8b",
"md5": "918c36617ce63662a3bf0c401b8b4342",
"sha256": "206d24b8d50499fb4b18d593184f00dd741d18f5e1226b7870a75742ec86540d"
},
"downloads": -1,
"filename": "uriel_pc_tests-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "918c36617ce63662a3bf0c401b8b4342",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 520563,
"upload_time": "2023-10-25T19:08:21",
"upload_time_iso_8601": "2023-10-25T19:08:21.771858Z",
"url": "https://files.pythonhosted.org/packages/c9/25/b18e52a0c7c6a6da29043985a3a97dc0a65c13362acb85f09e5da92b3b8b/uriel_pc_tests-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "29ddf22094a48ddb2e0dac9156d6ec1784660941eed553972bd80a2336041cac",
"md5": "3b39c5dff0349bc2e706c419f9481d10",
"sha256": "0385aec685b1f63045c2b0c1e09eddbf8b04c74ea1808de6cdac41812fb05489"
},
"downloads": -1,
"filename": "uriel-pc-tests-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "3b39c5dff0349bc2e706c419f9481d10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 473179,
"upload_time": "2023-10-25T19:08:23",
"upload_time_iso_8601": "2023-10-25T19:08:23.519121Z",
"url": "https://files.pythonhosted.org/packages/29/dd/f22094a48ddb2e0dac9156d6ec1784660941eed553972bd80a2336041cac/uriel-pc-tests-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-25 19:08:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "PrefectHQ",
"github_project": "prefect",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"circle": true,
"requirements": [],
"lcname": "uriel-pc-tests"
}