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)
Raw data
{
"_id": null,
"home_page": "https://github.com/baobabsoluciones/cornflow",
"name": "cornflow-client",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "baobab soluciones",
"author_email": "sistemas@baobabsoluciones.es",
"download_url": "https://files.pythonhosted.org/packages/d0/01/837b25e57db7c31518d9ba73f87dcdb369d038e2bf4b49746fb88d2eb390/cornflow_client-1.2.4.tar.gz",
"platform": null,
"description": "cornflow client\n================\n\nThe aim of this repository is to have a client to use to connect to a deployed cornflow webserver\n\nRequirements\n~~~~~~~~~~~~\n\n* python >= 3.8\n\nInstall cornflow-client\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nTo install the package do::\n\n python3 -m pip install cornflow-client\n\nUse cornflow-client\n~~~~~~~~~~~~~~~~~~~~\n\nTo use, first you have to import the package::\n\n from cornflow_client import CornFlow\n\nThen you have to start up the client and login or sing up::\n\n client = CornFlow(url=\"URL_TO_THE_WEB_SERVER\")\n client.sign_up(username, email, password)\n client.login(username, password)\n\nAnd then finally you can use the cornflow webserver and start solving problems::\n\n instance_id = client.create_instance(data)\n execution_id = client.create_execution(instance_id, execution_config)\n status = client.get_status(execution_id)\n results = client.get_results(execution_id)\n",
"bugtrack_url": null,
"license": null,
"summary": "Client to connect to a cornflow server",
"version": "1.2.4",
"project_urls": {
"Homepage": "https://github.com/baobabsoluciones/cornflow"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ea7705bd6c3a9f1e0ba8bad8b7a8cab96c7807cda30bfc9befa9942c93e8ca96",
"md5": "1cd6dff34beadfbd2de0155823b71419",
"sha256": "135230b6f8b87645e0684a11b49a53fefcb16ce3a44862619ded95483f9e58dc"
},
"downloads": -1,
"filename": "cornflow_client-1.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1cd6dff34beadfbd2de0155823b71419",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 130599,
"upload_time": "2025-07-07T17:14:39",
"upload_time_iso_8601": "2025-07-07T17:14:39.012771Z",
"url": "https://files.pythonhosted.org/packages/ea/77/05bd6c3a9f1e0ba8bad8b7a8cab96c7807cda30bfc9befa9942c93e8ca96/cornflow_client-1.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d001837b25e57db7c31518d9ba73f87dcdb369d038e2bf4b49746fb88d2eb390",
"md5": "7d8f3aa58612e1b7286f47c316f16901",
"sha256": "5a591e496732052e5f4131b09adc5fb761f71274f2bd91171d94151ad056536d"
},
"downloads": -1,
"filename": "cornflow_client-1.2.4.tar.gz",
"has_sig": false,
"md5_digest": "7d8f3aa58612e1b7286f47c316f16901",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 98554,
"upload_time": "2025-07-07T17:14:40",
"upload_time_iso_8601": "2025-07-07T17:14:40.171639Z",
"url": "https://files.pythonhosted.org/packages/d0/01/837b25e57db7c31518d9ba73f87dcdb369d038e2bf4b49746fb88d2eb390/cornflow_client-1.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-07 17:14:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "baobabsoluciones",
"github_project": "cornflow",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cornflow-client"
}