This release is a pre-release and may not be stable for production use.
Loko - Client
Loko Client interacts with loko-gateway and loko-orchestrator APIs.
Installation
(.venv) $ pip install loko-client
FS Client example
FS Client interacts with loko-orchestrator APIs. You can use it to manage LoKo data.
from loko_client.business.fs_client import FSClient
GATEWAY = 'http://localhost:9999/routes/'
fsclient = FSClient(gateway=GATEWAY)
### list directory content
print(fsclient.ls('data/data/datasets'))
### read file
content = fsclient.read('data/data/datasets/titanic.csv', mode='r')
print(content)
Projects Client example
Projects Client interacts with loko-orchestrator APIs and you can use it to manage LoKo projects.
from loko_client.business.projects_client import ProjectsClient
GATEWAY = 'http://localhost:9999/routes/'
pclient = ProjectsClient(gateway=GATEWAY)
### list projects
print(pclient.all_projects())
### list tasks
print(pclient.running_tasks())
Metadata
Release files for loko-client 0.0.1.dev3
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 |
|---|---|---|---|---|
| loko-client-0.0.1.dev3.tar.gz | 12.9 kB | Without provenance | Details for loko-client-0.0.1.dev3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loko_client-0.0.1.dev3-py3-none-any.whl | Python 3 | none | any | Details for loko_client-0.0.1.dev3-py3-none-any.whl |
Total release size: 31.3 kB
Release files / loko-client-0.0.1.dev3.tar.gz
| Download URL | loko-client-0.0.1.dev3.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
294f99835b2f6e0897569940569dd5c6220e179b1c80defd8492cea97268483e
|
|
BLAKE2b-256 checksum How to use checksums |
e83f3ef13d8d9b490dcf4d9fbb76f98bce1a0554e19d4e34f6bfb248e037653c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / loko_client-0.0.1.dev3-py3-none-any.whl
| Download URL | loko_client-0.0.1.dev3-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
307d7189b7fa981a9099c2b8d6eb562c0079e6935a46086e5a9df84d22b412da
|
|
BLAKE2b-256 checksum How to use checksums |
16ce17f3ffb16c981a2b02e7f946fe09d69e0a73a1a810eeaeada8d06d152864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for loko-client 0.0.1.dev3
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.