Name | fluxo-core JSON |
Version |
0.5.0
JSON |
| download |
home_page | |
Summary | Simple data flow with execution in separate threads and easy scheduling configuration. |
upload_time | 2023-12-08 11:52:27 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.11 |
license | MIT |
keywords |
fluxo
fluxo-core
data
scheduler
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Fluxo
### Simple data flow with execution in separate threads and easy scheduling configuration.
# Installation
To use the `fluxo-core` library, you can install it using the pip command. Make sure you have Python and pip installed before proceeding.
```
pip install fluxo-core
```
# How to Use
### 1 - Create a folder in the project root:
First, create a folder named `python_files` at the root of your project. This folder will contain your Python files.
### 2 - Create a Python file within the python_files folder:
Now, create a Python file named fluxo1.py within the python_files folder. This is where you can write your Python code.
### 3 - Write the code:
Write the following code in the fluxo1.py file to create a basic flow with a task:
#### python_files/fluxo1.py:
```
from fluxo_core.fluxo import Fluxo
from fluxo_core.task import Task
fluxo = Fluxo(
name='Fluxo 1',
interval={'minutes': 1, 'at': ':10'})
@Task('Tarefa 1', fluxo=fluxo)
async def my_func():
print('my_func being executed')
```
### 4 - Finally, start the program with the command below:
```
python -m fluxo_core.init
```
Raw data
{
"_id": null,
"home_page": "",
"name": "fluxo-core",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "fluxo,fluxo-core,data,scheduler",
"author": "",
"author_email": "Mailson N\u00e1scin <mailson.nascin@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/59/16/ba56602f138ea916ec66f4261ef51d493eed5ef913037cc08e61d5a29033/fluxo-core-0.5.0.tar.gz",
"platform": null,
"description": "# Fluxo\r\n\r\n### Simple data flow with execution in separate threads and easy scheduling configuration.\r\n\r\n# Installation\r\n\r\nTo use the `fluxo-core` library, you can install it using the pip command. Make sure you have Python and pip installed before proceeding.\r\n\r\n```\r\npip install fluxo-core\r\n```\r\n\r\n# How to Use\r\n\r\n### 1 - Create a folder in the project root:\r\n\r\nFirst, create a folder named `python_files` at the root of your project. This folder will contain your Python files.\r\n\r\n### 2 - Create a Python file within the python_files folder:\r\n\r\nNow, create a Python file named fluxo1.py within the python_files folder. This is where you can write your Python code.\r\n\r\n### 3 - Write the code:\r\n\r\nWrite the following code in the fluxo1.py file to create a basic flow with a task:\r\n\r\n#### python_files/fluxo1.py:\r\n\r\n```\r\nfrom fluxo_core.fluxo import Fluxo\r\nfrom fluxo_core.task import Task\r\n\r\nfluxo = Fluxo(\r\n name='Fluxo 1',\r\n interval={'minutes': 1, 'at': ':10'})\r\n\r\n\r\n@Task('Tarefa 1', fluxo=fluxo)\r\nasync def my_func():\r\n print('my_func being executed')\r\n```\r\n\r\n### 4 - Finally, start the program with the command below:\r\n\r\n```\r\npython -m fluxo_core.init\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Simple data flow with execution in separate threads and easy scheduling configuration.",
"version": "0.5.0",
"project_urls": {
"Bug Tracker": "https://github.com/nascin/fluxo-core/issues",
"Homepage": "https://github.com/nascin/fluxo-core",
"Source Code": "https://github.com/nascin/fluxo-core"
},
"split_keywords": [
"fluxo",
"fluxo-core",
"data",
"scheduler"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3c12d54a7f62b097b5880eb735e32dfdf3335d5e4d1f7c91fa70572c2b40b03e",
"md5": "bd9ed0552ba3c55ab98f7871193614d6",
"sha256": "aa55efdbdf72219715fde9176149517e9eef4c25ee93e1060afc9574dfff9da3"
},
"downloads": -1,
"filename": "fluxo_core-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bd9ed0552ba3c55ab98f7871193614d6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 11378,
"upload_time": "2023-12-08T11:52:25",
"upload_time_iso_8601": "2023-12-08T11:52:25.792376Z",
"url": "https://files.pythonhosted.org/packages/3c/12/d54a7f62b097b5880eb735e32dfdf3335d5e4d1f7c91fa70572c2b40b03e/fluxo_core-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5916ba56602f138ea916ec66f4261ef51d493eed5ef913037cc08e61d5a29033",
"md5": "004f5e1e35caf1f3024e239884cca850",
"sha256": "10c383ece9f4f2aa2912aa5649d7e27eeeb76e84bb30963d89ade3dcd3bbc31d"
},
"downloads": -1,
"filename": "fluxo-core-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "004f5e1e35caf1f3024e239884cca850",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 9287,
"upload_time": "2023-12-08T11:52:27",
"upload_time_iso_8601": "2023-12-08T11:52:27.619468Z",
"url": "https://files.pythonhosted.org/packages/59/16/ba56602f138ea916ec66f4261ef51d493eed5ef913037cc08e61d5a29033/fluxo-core-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-08 11:52:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nascin",
"github_project": "fluxo-core",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "fluxo-core"
}