HKUBE local python api
api implementation for running and debugging Hkube`s pipeline without installing Hkube
prerequisite
- install hkubectl
# Check release page for latest version
os = "linux/macos/windows"
curl -Lo hkubectl https://github.com/kube-HPC/hkubectl/releases/latest/download/hkubectl-{linux/macos/windows} \
&& chmod +x hkubectl \
&& sudo mv hkubectl /usr/local/bin/
- run
pip install hkube.debbuging-python-api
usage
import asyncio
from hkube_debbuging_python_api.builder import Builder
def test1(data):
print(data['input'])
return data['input']
class runBuilder():
async def run():
build = Builder()
pipe = await build.createPipeline("test")
pipe.algorithm("test").input(5).add(test1).algorithm(
'test2').input("@test").input(8).add(test1).algorithm("test5").input("@test2").add(test2).flowInput().input({"david": 5}).add().execute()
bla = asyncio.run(runBuilder.run())
print('finish')
Metadata
Release files for hkube.debbuging-python-api 0.0.5
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 |
|---|---|---|---|---|
| hkube.debbuging-python-api-0.0.5.tar.gz | 5.6 kB | Without provenance | Details for hkube.debbuging-python-api-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hkube.debbuging_python_api-0.0.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for hkube.debbuging_python_api-0.0.5-py2.py3-none-any.whl |
Total release size: 13.9 kB
Release files / hkube.debbuging-python-api-0.0.5.tar.gz
| Download URL | hkube.debbuging-python-api-0.0.5.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
726eb75e96ee83417819f57deaa4215f679f44023ae71c07fcde705e5a76f191
|
|
BLAKE2b-256 checksum How to use checksums |
b844541782b7f532b677918786c2f78d462b9f3a593adca0f0192cf92974afee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / hkube.debbuging_python_api-0.0.5-py2.py3-none-any.whl
| Download URL | hkube.debbuging_python_api-0.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1f013ec90aea1f46907368a3a8796d5c3b9d234104af28faef0408a7ab58b27d
|
|
BLAKE2b-256 checksum How to use checksums |
928aff5a5cee41f619f12969d9422e2d31d7ff000d3f0b09e129369710800d94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for hkube.debbuging-python-api 0.0.5
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.