cornflow client
The aim of this repository is to have a client to use to connect to a deployed cornflow webserver
Requirements
python >= 3.8
Install cornflow-client
To install the package do:
python3 -m pip install cornflow-client
Use cornflow-client
To use, first you have to import the package:
from cornflow_client import CornFlow
Then you have to start up the client and login or sing up:
client = CornFlow(url="URL_TO_THE_WEB_SERVER") client.sign_up(username, email, password) client.login(username, password)
And then finally you can use the cornflow webserver and start solving problems:
instance_id = client.create_instance(data) execution_id = client.create_execution(instance_id, execution_config) status = client.get_status(execution_id) results = client.get_results(execution_id)
Release files for cornflow-client 1.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cornflow_client-1.3.8.tar.gz | 113.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cornflow_client-1.3.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 259.4 kB
Release files / cornflow_client-1.3.8.tar.gz
| Download URL | cornflow_client-1.3.8.tar.gz |
|---|---|
| Size | 113.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4488c54755137864692dd555fa6f26ab3d7b5cb81060e39db7aac42147b48ed
|
|
BLAKE2b-256 checksum How to use checksums |
641ee40ec3ba2c222c7307be34744692270563560425da33a26b9a812e8ebf79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / cornflow_client-1.3.8-py3-none-any.whl
| Download URL | cornflow_client-1.3.8-py3-none-any.whl |
|---|---|
| Size | 145.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c33de872aba78af04b281c7d49ad309cfb7760c4edabf81d635bce11bf4bdeac
|
|
BLAKE2b-256 checksum How to use checksums |
5332b28c965bcbe7a44e8d4c569090ff9764be92e45e0813931479564fe977c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|