Fluxo
Simple data flow with execution in separate threads and easy scheduling configuration.
Installation
To use the fluxo library, you can install it using the pip command. Make sure you have Python and pip installed before proceeding.
pip install fluxo
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/flow1.py:
from fluxo import Flow, Task, Minutes
interval = Minutes(1, 30).format()
flow = Flow(name='My Flow 1', interval=interval)
@Task('My Task 1', flow=flow)
async def My_func():
print('My_func executed!')
4 - Finally, start the program with the command below:
python -m fluxo.init_schedule
5 - In another terminal, run the command below to start the web server::
python -m fluxo.init_server
6 - Open browser:
http://127.0.0.1:8080
Metadata
Release files for fluxo 0.14.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fluxo-0.14.2.tar.gz | 261.8 kB | Without provenance | Details for fluxo-0.14.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fluxo-0.14.2-py3-none-any.whl | Python 3 | none | any | Details for fluxo-0.14.2-py3-none-any.whl |
Total release size: 544.8 kB
Release files / fluxo-0.14.2.tar.gz
| Download URL | fluxo-0.14.2.tar.gz |
|---|---|
| Size | 261.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62827266b071fbe075181bf6f15770f6f349ee983632fef6d02a195c74fb4637
|
|
BLAKE2b-256 checksum How to use checksums |
dbd0810113b34c94985afe62957e8b14a7b61ab23abc717eb9af065e831d7485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / fluxo-0.14.2-py3-none-any.whl
| Download URL | fluxo-0.14.2-py3-none-any.whl |
|---|---|
| Size | 283.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65a31b1d6cfbacfa136b32d81628f8e19e0a72d02ef9ce834fd2ee4453cd569f
|
|
BLAKE2b-256 checksum How to use checksums |
a3816e6164aa45468c7b12c17456f14afd766cef0ba456bd02314e620445c166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Security for fluxo 0.14.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.