All in Jarvis
Jarvis是一个基于工作流的计算框架,用以简化工程和算法的协同开发。
一、Install
pip install jarvis-python
二、Example
在jarvis中编写Flow和编写普通的python函数一样简单,如下:
import jarvis
import asyncio
@jarvis.operator()
async def add(a, b):
await asyncio.sleep(1)
return a + b
@jarvis.operator()
async def sub(a, b):
await asyncio.sleep(1)
return a - b
@jarvis.flow()
async def demo(a, b):
c = await add(a, b)
d = await sub(a, b)
if a < b:
return d
else:
return c
Metadata
Release files for jarvis-python 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jarvis_python-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for jarvis_python-1.0.3-py3-none-any.whl |
Release files / jarvis_python-1.0.3-py3-none-any.whl
| Download URL | jarvis_python-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b44c84bc575316f2ee38ee632debdadd8a54e6da248c63fcce69380f4ca96c9
|
|
BLAKE2b-256 checksum How to use checksums |
5d2cf19e3abdcdb0fb47182bafa332f49e733888e35f685ee4deb06a0f9e7c7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Security for jarvis-python 1.0.3
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.