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)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cornflow_client-1.3.7.tar.gz
(113.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cornflow_client-1.3.7.tar.gz.
File metadata
- Download URL: cornflow_client-1.3.7.tar.gz
- Upload date:
- Size: 113.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fccac017af2d94db662a816eecefe50c0c104fe038f5c7ac0983c7626c64f70
|
|
| MD5 |
87def7f7a9027f2302da777852a80078
|
|
| BLAKE2b-256 |
7f13fe7c69d7b91350f9cdd6ce2ce7cb7da66857454bcdb8f4dd4e2f9e83a924
|
File details
Details for the file cornflow_client-1.3.7-py3-none-any.whl.
File metadata
- Download URL: cornflow_client-1.3.7-py3-none-any.whl
- Upload date:
- Size: 145.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14d794a4f70c53a293a6b820b1295638ef00847dc3ec2a123c6679ac7de93219
|
|
| MD5 |
6f993e46452338154b6c36f628e82634
|
|
| BLAKE2b-256 |
b6c9cf25817edb78c8a3975fbf67c3c0f6c463d3c87bbdab88159aa558a064ca
|