summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-prefect.spec370
-rw-r--r--sources1
3 files changed, 372 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4ee09d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/prefect-2.10.2.tar.gz
diff --git a/python-prefect.spec b/python-prefect.spec
new file mode 100644
index 0000000..b9eaa31
--- /dev/null
+++ b/python-prefect.spec
@@ -0,0 +1,370 @@
+%global _empty_manifest_terminate_build 0
+Name: python-prefect
+Version: 2.10.2
+Release: 1
+Summary: Workflow orchestration and management.
+License: Apache Software License
+URL: https://www.prefect.io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1f/62/d8d3ed027b0ce84f824e3d9a4c26df5abfa3369cd30f2bf3104182035531/prefect-2.10.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-aiosqlite
+Requires: python3-alembic
+Requires: python3-anyio
+Requires: python3-apprise
+Requires: python3-asgi-lifespan
+Requires: python3-asyncpg
+Requires: python3-click
+Requires: python3-cloudpickle
+Requires: python3-coolname
+Requires: python3-croniter
+Requires: python3-cryptography
+Requires: python3-dateparser
+Requires: python3-docker
+Requires: python3-fastapi
+Requires: python3-fsspec
+Requires: python3-griffe
+Requires: python3-httpx[http2]
+Requires: python3-jinja2
+Requires: python3-jsonpatch
+Requires: python3-jsonschema
+Requires: python3-kubernetes
+Requires: python3-orjson
+Requires: python3-packaging
+Requires: python3-pathspec
+Requires: python3-pendulum
+Requires: python3-pydantic
+Requires: python3-slugify
+Requires: python3-pytz
+Requires: python3-pyyaml
+Requires: python3-readchar
+Requires: python3-rich
+Requires: python3-sqlalchemy[asyncio]
+Requires: python3-toml
+Requires: python3-typer
+Requires: python3-typing-extensions
+Requires: python3-uvicorn
+Requires: python3-websockets
+Requires: python3-importlib-metadata
+Requires: python3-autoflake8
+Requires: python3-cairosvg
+Requires: python3-flake8
+Requires: python3-flaky
+Requires: python3-ipython
+Requires: python3-jinja2
+Requires: python3-mkdocs
+Requires: python3-mkdocs-gen-files
+Requires: python3-mkdocs-material
+Requires: python3-mkdocstrings-python
+Requires: python3-mike
+Requires: python3-moto
+Requires: python3-mypy
+Requires: python3-numpy
+Requires: python3-pillow
+Requires: python3-pre-commit
+Requires: python3-pytest
+Requires: python3-pytest-asyncio
+Requires: python3-pytest-cov
+Requires: python3-pytest-benchmark
+Requires: python3-pytest-env
+Requires: python3-pytest-flakefinder
+Requires: python3-pytest-timeout
+Requires: python3-pytest-xdist
+Requires: python3-pytkdocs
+Requires: python3-pyyaml
+Requires: python3-requests
+Requires: python3-virtualenv
+Requires: python3-watchfiles
+Requires: python3-respx
+Requires: python3-mock
+Requires: python3-setuptools
+
+%description
+<p align="center"><img src="https://images.ctfassets.net/gm98wzqotmnx/6rIpC9ZCAewsRGLwOw5BRe/bb17e1ef62f60d1ec32c1ae69487704c/prefect-2-logo-dark.png" 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-community.slack.com" 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
+```
+
+![](/docs/img/ui/flow-run-page.png)
+
+From here, you can continue to use Prefect interactively or [deploy your flows](https://docs.prefect.io/concepts/deployments) to remote envirnments, running on a scheduled or event-driven basis.
+
+## Getting Started
+
+Prefect requires Python 3.7 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 abou Prefect, ask questions, or get help with workflow design. The [Prefect Discourse](https://discourse.prefect.io/) is an 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!**
+
+
+%package -n python3-prefect
+Summary: Workflow orchestration and management.
+Provides: python-prefect
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-prefect
+<p align="center"><img src="https://images.ctfassets.net/gm98wzqotmnx/6rIpC9ZCAewsRGLwOw5BRe/bb17e1ef62f60d1ec32c1ae69487704c/prefect-2-logo-dark.png" 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-community.slack.com" 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
+```
+
+![](/docs/img/ui/flow-run-page.png)
+
+From here, you can continue to use Prefect interactively or [deploy your flows](https://docs.prefect.io/concepts/deployments) to remote envirnments, running on a scheduled or event-driven basis.
+
+## Getting Started
+
+Prefect requires Python 3.7 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 abou Prefect, ask questions, or get help with workflow design. The [Prefect Discourse](https://discourse.prefect.io/) is an 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!**
+
+
+%package help
+Summary: Development documents and examples for prefect
+Provides: python3-prefect-doc
+%description help
+<p align="center"><img src="https://images.ctfassets.net/gm98wzqotmnx/6rIpC9ZCAewsRGLwOw5BRe/bb17e1ef62f60d1ec32c1ae69487704c/prefect-2-logo-dark.png" 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-community.slack.com" 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
+```
+
+![](/docs/img/ui/flow-run-page.png)
+
+From here, you can continue to use Prefect interactively or [deploy your flows](https://docs.prefect.io/concepts/deployments) to remote envirnments, running on a scheduled or event-driven basis.
+
+## Getting Started
+
+Prefect requires Python 3.7 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 abou Prefect, ask questions, or get help with workflow design. The [Prefect Discourse](https://discourse.prefect.io/) is an 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!**
+
+
+%prep
+%autosetup -n prefect-2.10.2
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-prefect -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.10.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a0d671f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6c0a4e67c7783d5c299b8a96c3f1d095 prefect-2.10.2.tar.gz