Name | nebulaconsole JSON |
Version |
1.0.0
JSON |
| download |
home_page | https://www.nebula.io |
Summary | Workflow orchestration and management. |
upload_time | 2024-03-23 16:21:00 |
maintainer | None |
docs_url | None |
author | Kozmoai, Inc. |
requires_python | >=3.8 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center"><img src="https://github.com/kozmoai/nebula/assets/3407835/c654cbc6-63e8-4ada-a92a-efd2f8f24b85" width=1000></p>
<p align="center">
<a href="https://pypi.python.org/pypi/nebula/" alt="PyPI version">
<img alt="PyPI" src="https://img.shields.io/pypi/v/nebula?color=0052FF&labelColor=090422"></a>
<a href="https://github.com/kozmoai/nebula/" alt="Stars">
<img src="https://img.shields.io/github/stars/kozmoai/nebula?color=0052FF&labelColor=090422" /></a>
<a href="https://pepy.tech/badge/nebula/" alt="Downloads">
<img src="https://img.shields.io/pypi/dm/nebula?color=0052FF&labelColor=090422" /></a>
<a href="https://github.com/kozmoai/nebula/pulse" alt="Activity">
<img src="https://img.shields.io/github/commit-activity/m/kozmoai/nebula?color=0052FF&labelColor=090422" /></a>
<br>
<a href="https://nebula.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.nebula.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/NebulaIO/" alt="YouTube">
<img src="https://img.shields.io/badge/youtube-watch_videos-red.svg?color=0052FF&labelColor=090422&logo=youtube" /></a>
</p>
# Nebula
Nebula is an orchestration and observability platform for building, observing, and triaging workflows.
It's the simplest way to transform Python code into an interactive workflow application.
Nebula allows you to expose your workflows through an API so teams dependent on you can programmatically access your pipelines, business logic, and more.
Nebula also allows you to standardize workflow development and deployment across your organization.
With Nebula, you can build resilient, dynamic workflows that react to the world around them and recover from unexpected changes.
With just a few decorators, Nebula supercharges your code with features like automatic retries, distributed execution, scheduling, caching, and much more.
Every activity is tracked and can be monitored with a self-hosted [Nebula server](https://docs.Nebula.io/latest/guides/host/) instance or managed [Nebula Cloud](https://www.nebula.io/cloud-vs-oss?utm_source=oss&utm_medium=oss&utm_campaign=oss_gh_repo&utm_term=none&utm_content=none) dashboard.
## Getting started
Nebula requires Python 3.8 or later. To [install Nebula](https://docs.nebula.io/getting-started/installation/), run the following command:
```bash
pip install nebula
```
Then create and run a Python file that uses Nebula `flow` and `task` decorators to orchestrate and observe your workflow - in this case, a simple script that fetches the number of GitHub stars from a repository:
```python
from nebula import flow, task
from typing import List
import httpx
@task(log_prints=True)
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!
if __name__=="__main__":
github_stars(["kozmoai/nebula"])
```
Fire up the Nebula UI to see what happened:
```bash
nebula server start
```
![Nebula UI dashboard](/docs/img/ui/cloud-dashboard.png)
To run your workflow on a schedule, turn it into a deployment and schedule it to run every minute by changing the last line of your script to the following:
```python
github_stars.serve(name="first-deployment", cron="* * * * *")
```
You now have a server running locally that is looking for scheduled deployments!
Additionally you can run your workflow manually from the UI or CLI - and if you're using Nebula Cloud, you can even run deployments in response to [events](https://docs.nebula.io/latest/concepts/automations/).
## Nebula Cloud
Stop worrying about your workflows.
Nebula Cloud allows you to centrally deploy, monitor, and manage the data workflows you support. With managed orchestration, automations, and webhooks, all backed by enterprise-class security, build production-ready code quickly and reliably.
Read more about Nebula Cloud [here](https://www.nebula.io/cloud-vs-oss?utm_source=oss&utm_medium=oss&utm_campaign=oss_gh_repo&utm_term=none&utm_content=none) or sign up to [try it for yourself](https://app.nebula.cloud?utm_source=oss&utm_medium=oss&utm_campaign=oss_gh_repo&utm_term=none&utm_content=none).
![Nebula Automations](/docs/img/ui/automations.png)
## nebula-client
If your use case is geared towards communicating with Nebula Cloud or a remote Nebula server, check out our
[nebula-client](https://pypi.org/project/nebula-client/). It was designed to be a lighter-weight option for accessing
client-side functionality in the nebula SDK and is ideal for use in ephemeral execution environments.
## Next steps
There's lots more you can do to orchestrate and observe your workflows with nebula!
Start with our [friendly tutorial](https://docs.nebula.io/tutorials) or explore the [core concepts of nebula workflows](https://docs.nebula.io/concepts/).
Raw data
{
"_id": null,
"home_page": "https://www.nebula.io",
"name": "nebulaconsole",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Kozmoai, Inc.",
"author_email": "contact@kozmoai.org",
"download_url": "https://files.pythonhosted.org/packages/ea/17/3dd16a836e2088f0064740adbf9f48254706ab3877f9703c55d6f97e0620/nebulaconsole-1.0.0.tar.gz",
"platform": null,
"description": "<p align=\"center\"><img src=\"https://github.com/kozmoai/nebula/assets/3407835/c654cbc6-63e8-4ada-a92a-efd2f8f24b85\" width=1000></p>\n\n<p align=\"center\">\n <a href=\"https://pypi.python.org/pypi/nebula/\" alt=\"PyPI version\">\n <img alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/nebula?color=0052FF&labelColor=090422\"></a>\n <a href=\"https://github.com/kozmoai/nebula/\" alt=\"Stars\">\n <img src=\"https://img.shields.io/github/stars/kozmoai/nebula?color=0052FF&labelColor=090422\" /></a>\n <a href=\"https://pepy.tech/badge/nebula/\" alt=\"Downloads\">\n <img src=\"https://img.shields.io/pypi/dm/nebula?color=0052FF&labelColor=090422\" /></a>\n <a href=\"https://github.com/kozmoai/nebula/pulse\" alt=\"Activity\">\n <img src=\"https://img.shields.io/github/commit-activity/m/kozmoai/nebula?color=0052FF&labelColor=090422\" /></a>\n <br>\n <a href=\"https://nebula.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.nebula.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/NebulaIO/\" 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# Nebula\n\nNebula is an orchestration and observability platform for building, observing, and triaging workflows. \nIt's the simplest way to transform Python code into an interactive workflow application.\n\nNebula allows you to expose your workflows through an API so teams dependent on you can programmatically access your pipelines, business logic, and more.\nNebula also allows you to standardize workflow development and deployment across your organization.\n\nWith Nebula, you can build resilient, dynamic workflows that react to the world around them and recover from unexpected changes.\nWith just a few decorators, Nebula supercharges your code with features like automatic retries, distributed execution, scheduling, caching, and much more.\n\nEvery activity is tracked and can be monitored with a self-hosted [Nebula server](https://docs.Nebula.io/latest/guides/host/) instance or managed [Nebula Cloud](https://www.nebula.io/cloud-vs-oss?utm_source=oss&utm_medium=oss&utm_campaign=oss_gh_repo&utm_term=none&utm_content=none) dashboard.\n\n## Getting started\n\nNebula requires Python 3.8 or later. To [install Nebula](https://docs.nebula.io/getting-started/installation/), run the following command:\n\n```bash\npip install nebula\n```\n\nThen create and run a Python file that uses Nebula `flow` and `task` decorators to orchestrate and observe your workflow - in this case, a simple script that fetches the number of GitHub stars from a repository:\n\n```python\nfrom nebula import flow, task\nfrom typing import List\nimport httpx\n\n\n@task(log_prints=True)\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!\nif __name__==\"__main__\":\n github_stars([\"kozmoai/nebula\"])\n```\n\nFire up the Nebula UI to see what happened:\n\n```bash\nnebula server start\n```\n\n![Nebula UI dashboard](/docs/img/ui/cloud-dashboard.png)\n\nTo run your workflow on a schedule, turn it into a deployment and schedule it to run every minute by changing the last line of your script to the following:\n\n```python\n github_stars.serve(name=\"first-deployment\", cron=\"* * * * *\")\n```\n\nYou now have a server running locally that is looking for scheduled deployments!\nAdditionally you can run your workflow manually from the UI or CLI - and if you're using Nebula Cloud, you can even run deployments in response to [events](https://docs.nebula.io/latest/concepts/automations/).\n\n## Nebula Cloud\n\nStop worrying about your workflows.\nNebula Cloud allows you to centrally deploy, monitor, and manage the data workflows you support. With managed orchestration, automations, and webhooks, all backed by enterprise-class security, build production-ready code quickly and reliably.\n\nRead more about Nebula Cloud [here](https://www.nebula.io/cloud-vs-oss?utm_source=oss&utm_medium=oss&utm_campaign=oss_gh_repo&utm_term=none&utm_content=none) or sign up to [try it for yourself](https://app.nebula.cloud?utm_source=oss&utm_medium=oss&utm_campaign=oss_gh_repo&utm_term=none&utm_content=none).\n\n![Nebula Automations](/docs/img/ui/automations.png)\n\n## nebula-client\n\nIf your use case is geared towards communicating with Nebula Cloud or a remote Nebula server, check out our \n[nebula-client](https://pypi.org/project/nebula-client/). It was designed to be a lighter-weight option for accessing \nclient-side functionality in the nebula SDK and is ideal for use in ephemeral execution environments.\n\n## Next steps\n\nThere's lots more you can do to orchestrate and observe your workflows with nebula!\nStart with our [friendly tutorial](https://docs.nebula.io/tutorials) or explore the [core concepts of nebula workflows](https://docs.nebula.io/concepts/).\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Workflow orchestration and management.",
"version": "1.0.0",
"project_urls": {
"Changelog": "https://github.com/kozmoai/nebula/blob/main/RELEASE-NOTES.md",
"Documentation": "https://docs.nebula.io",
"Homepage": "https://www.nebula.io",
"Source": "https://github.com/kozmoai/nebula",
"Tracker": "https://github.com/kozmoai/nebula/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "776f9ba8af9fb8835877fb0e16ec6b6fc543bef0a2e15a24e4ddd26d116acb90",
"md5": "64d76bc94996d09836c9a842f5e9c244",
"sha256": "e1b353aa4f08604eed2a6e721e332342da03c1b92d2b5a884293df10a32d4703"
},
"downloads": -1,
"filename": "nebulaconsole-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64d76bc94996d09836c9a842f5e9c244",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 2962972,
"upload_time": "2024-03-23T16:20:57",
"upload_time_iso_8601": "2024-03-23T16:20:57.863486Z",
"url": "https://files.pythonhosted.org/packages/77/6f/9ba8af9fb8835877fb0e16ec6b6fc543bef0a2e15a24e4ddd26d116acb90/nebulaconsole-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ea173dd16a836e2088f0064740adbf9f48254706ab3877f9703c55d6f97e0620",
"md5": "4a66bfb91505c01d0a15cbf26a333ef3",
"sha256": "118789feeb2127f675b235b3501a81148f849aa0f5dc444b7f85124bffb9acfa"
},
"downloads": -1,
"filename": "nebulaconsole-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "4a66bfb91505c01d0a15cbf26a333ef3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2757986,
"upload_time": "2024-03-23T16:21:00",
"upload_time_iso_8601": "2024-03-23T16:21:00.543578Z",
"url": "https://files.pythonhosted.org/packages/ea/17/3dd16a836e2088f0064740adbf9f48254706ab3877f9703c55d6f97e0620/nebulaconsole-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-23 16:21:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kozmoai",
"github_project": "nebula",
"github_not_found": true,
"lcname": "nebulaconsole"
}