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5.18.0
5.17.1
5.17.0
5.16.3
5.16.2
5.16.1
5.16.0
5.15.1
5.15.0
5.14.4
5.14.3
5.14.2
5.14.1
5.14.0
5.13.1
5.13.0
5.12.0
5.11.0rc1
5.11.0
5.10.1
5.10.0
5.1.7
5.1.6
5.1.5
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0rc6
5.0.0rc5
5.0.0rc4
5.0.0rc3
5.0.0rc2
5.0.0rc1
5.0.0
4.4.2
4.4.1
4.4.0
4.3.1
4.3.0
4.2.0
4.1.0
4.0.1
4.0.0rc3
4.0.0rc2
4.0.0rc1
4.0.0
3.7.1
3.7.0
3.6.4
3.6.3
3.6.2
3.6.1
3.6.0
3.5.0
3.4.0
3.3.2
3.3.1
3.3.0
3.2.0
3.1.0
3.0.0
2.9.1
2.9.0
2.8.1
2.8.0
2.7.0
2.6.0
2.5.0
2.4.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.8.0rc7
1.8.0rc6
1.8.0rc3
1.7.0
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.4.2
0.4.0
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
توضیحات
Hera makes Python code easy to orchestrate on Argo Workflows through native Python integrations. It lets you construct and submit your Workflows entirely in Python.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | hera-workflows-5.9.0 |
| نام | hera-workflows |
| نسخه کتابخانه | 5.9.0 |
| نگهدارنده | ['Sambhav Kothari'] |
| ایمیل نگهدارنده | ['sambhavs.email@gmail.com'] |
| نویسنده | Flaviu Vadan |
| ایمیل نویسنده | flaviuvadan@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/hera-workflows/ |
| مجوز | Apache-2.0 |
# Hera
| <img src="https://raw.githubusercontent.com/argoproj-labs/hera/main/docs/assets/hera-logo.svg" alt="Hera mascot"> | Hera is the go-to Python SDK to make Argo Workflows simple and intuitive. Easily turn Python functions into containerised templates that run on Kubernetes, with full access to its capabilities. |
|---|---|
[See the Quick Start guide](https://hera.readthedocs.io/en/stable/walk-through/quick-start/) to start using Hera to
orchestrate your Argo Workflows!
```text
The Argo was constructed by the shipwright Argus,
and its crew were specially protected by the goddess Hera.
```
### PyPI stats
[](https://pypi.python.org/pypi/hera)
[](https://github.com/argoproj-labs/hera)
[](https://pepy.tech/project/hera)
[](https://pepy.tech/project/hera)
[](https://pepy.tech/project/hera)
### Repo information
[](https://opensource.org/license/apache-2-0/)
[](https://github.com/argoproj-labs/hera/actions/workflows/cicd.yaml)
[](https://hera.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/argoproj-labs/hera)
## Hera at a glance
```python
from hera.workflows import DAG, Workflow, script
# Turn a function into a reusable "Script template"
# using the script decorator
@script()
def echo(message: str):
print(message)
# Orchestration logic lives *outside* of business logic
with Workflow(
generate_name="dag-diamond-",
entrypoint="diamond",
) as w:
with DAG(name="diamond"):
A = echo(name="A", arguments={"message": "A"})
B = echo(name="B", arguments={"message": "B"})
C = echo(name="C", arguments={"message": "C"})
D = echo(name="D", arguments={"message": "D"})
A >> [B, C] >> D # Define execution order
# Create the workflow directly on your Argo Workflows cluster!
w.create()
```
Check out the [Walkthrough](https://hera.readthedocs.io/en/latest/walk-through/hello-world/) to learn how to construct
and submit Argo Workflows with Hera!
## Requirements
Hera requires an Argo Workflows server to be deployed to a Kubernetes cluster. To learn how to deploy Argo to your own
Kubernetes cluster you can follow the [Argo Workflows](https://argoproj.github.io/argo-workflows/quick-start/) guide!
### Authenticating in Hera
Hera assumes that the Argo server sits behind an authentication layer, so workflow submission requests are authenticated
using a Bearer token on the request. Another option for workflow submission without the authentication layer is using
port forwarding to your Argo server deployment and submitting workflows to `localhost:2746`.
There are a few ways to authenticate in Hera - read more in the
[authentication walkthrough](https://hera.readthedocs.io/en/stable/walk-through/authentication/) - for now, with the
`argo` cli tool installed, and the server port-forwarded to `localhost:2746`, this example will get you up and running:
```py
from hera.workflows import Workflow, Container
from hera.shared import global_config
from hera.auth import ArgoCLITokenGenerator
global_config.host = "http://localhost:2746"
global_config.token = ArgoCLITokenGenerator
with Workflow(generate_name="local-test-", entrypoint="c") as w:
Container(name="c", image="docker/whalesay", command=["cowsay", "hello"])
w.create()
```
## Installation
| Source | Command |
|------------------------------------------------------|--------------------------------------------------------------------------------------|
| [PyPI](https://pypi.org/project/hera/) | `pip install hera` |
| [GitHub repo](https://github.com/argoproj-labs/hera) | `python -m pip install git+https://github.com/argoproj-labs/hera --ignore-installed` |
### Optional dependencies
#### `yaml`
- Install via `hera[yaml]`
- [PyYAML](https://pypi.org/project/PyYAML/) is required for the `yaml` output format, which is accessible via
`hera.workflows.Workflow.to_yaml(*args, **kwargs)`. This enables GitOps practices and easier debugging.
#### `cli`
- Install via `hera[cli]`. The `[cli]` option installs the extra dependencies including
[Cappa](https://github.com/DanCardin/cappa) which is required for the CLI
- The CLI aims to enable GitOps practices, easier onboarding to Hera, and a more seamless experience with Argo
Workflows.
- It currently supports converting workflows between YAML and Python source codes. See `hera generate yaml --help`,
and `hera generate python --help` for more information.
- **_The CLI is an experimental feature and subject to change!_**
#### `experimental`
- Install via `hera[experimental]`. The `[experimental]` option adds dependencies required for experimental features
that have not yet graduated into stable features.
#### `async-client`
- Install via `hera[async-client]`. The `[async-client]` option installs `httpx` to allow the use of the `async_*`
Workflow functions through the `AsyncWorkflowsService`.
## Presentations
<!-- Add 3 most recent talks here. Keep in sync with docs homepage (docs/index.md). -->
- [KubeCon/ArgoCon EU 2025 - One Engine To Rule Them All: Unifying Cloud Workloads With Argo Workflows](https://www.youtube.com/watch?v=Xpo5218Ark8&list=PLj6h78yzYM2N9MWCsU_4upn64NDtHGv6i&index=18)
- [KubeCon/ArgoCon NA 2024 - Data Science Workflows Made Easy: Python-Powered Argo for Your Organization](https://www.youtube.com/watch?v=hZOcj5uVQOo&list=PLj6h78yzYM2Ow7Jy0paxwrimeuFGONU_7&index=14)
- [KubeCon/ArgoCon EU 2024 - Orchestrating Python Functions Natively in Argo Using Hera](https://www.youtube.com/watch?v=4G3Q6VMBvfI&list=PLj6h78yzYM2NA4NbSC6_mQNza2r3WV87h&index=4)
<details><summary><i>More presentations</i></summary>
- [CNCF TAG App-Delivery @ KubeCon NA 2023 - Automating the Deployment of Data Workloads to Kubernetes with ArgoCD, Argo Workflows, and Hera](https://www.youtube.com/watch?v=NZCmYRVziGY&t=12481s&ab_channel=CNCFTAGAppDelivery)
- [KubeCon/ArgoCon NA 2023 - How to Train an LLM with Argo Workflows and Hera](https://www.youtube.com/watch?v=nRYf3GkKpss&ab_channel=CNCF%5BCloudNativeComputingFoundation%5D)
- [Featured code](https://github.com/flaviuvadan/kubecon_na_23_llama2_finetune)
- [KubeCon/ArgoCon EU 2023 - Scaling gene therapy with Argo Workflows and Hera](https://www.youtube.com/watch?v=h2TEw8kd1Ds)
- [DoKC Town Hall #2 - Unsticking ourselves from Glue - Migrating PayIt's Data Pipelines to Argo Workflows and Hera](https://youtu.be/sSLFVIIEKcE?t=2088)
- [Argo Workflows and Events Community Meeting 15 June 2022 - Hera project update](https://youtu.be/sdkBDPOdQ-g?t=231)
- [Argo Workflows and Events Community Meeting 20 Oct 2021 - Hera introductory presentation](https://youtu.be/QETfzfVV-GY?t=181)
</details>
## Blogs
<!-- Add 3 most recent blogs here. Keep in sync with docs homepage (docs/index.md). -->
- [Hera Developer Survey 2025](https://dev.to/elliot_gunton_73028975583/hera-developer-survey-2025-168d)
- [How To Get the Most out of Hera for Data Science](https://pipekit.io/blog/how-to-get-the-most-out-of-hera-for-data-science)
- [Data Validation with Great Expectations and Argo Workflows](https://towardsdatascience.com/data-validation-with-great-expectations-and-argo-workflows-b8e3e2da2fcc)
<details><summary><i>More blogs</i></summary>
- [Hera introduction and motivation](https://www.dynotx.com/hera-the-missing-argo-workflows-python-sdk/)
- [Dyno is scaling gene therapy research with cloud-native tools like Argo Workflows and Hera](https://www.dynotx.com/argo-workflows-hera/)
</details>
## Contributing
Use one of the following to open the repo in a cloud dev box:
<a href="https://codespaces.new/argoproj-labs/hera"><img src=https://github.com/codespaces/badge.svg height="32" alt="Open in GitHub Codespaces"></a>
<a href="https://gitpod.io/#https://github.com/argoproj-labs/hera"><img src=https://gitpod.io/button/open-in-gitpod.svg height="32" alt="Open in Gitpod"></a>
Read more in the [contributing guide](./CONTRIBUTING.md)!
## Hera Emeritus Maintainers
These emeritus maintainers dedicated a part of their career to Hera and reviewed code, triaged bugs and pushed the
project forward over a substantial period of time. Their contribution is greatly appreciated:
- [Flaviu Vadan](https://github.com/flaviuvadan)
## License
Hera is licensed under Apache 2.0. See [License](https://github.com/argoproj-labs/hera/blob/main/LICENSE) for details.
نیازمندی
| مقدار | نام |
|---|---|
| xtr | black>=24.1.0; |
| xtr | cappa<0.32.0,>=0.22.1; |
| xtr | httpx<0.29.0,>=0.28.1; |
| - | pydantic[email]<3.0,>=1.10.15 |
| xtr | pyyaml>=6.0; |
| - | requests |
| xtr | varname<0.16.0,>=0.13.1; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| <4,>=3.10 | Python |
نحوه نصب
نصب پکیج whl hera-workflows-5.9.0:
pip install hera-workflows-5.9.0.whl
نصب پکیج tar.gz hera-workflows-5.9.0:
pip install hera-workflows-5.9.0.tar.gz