cornflow-client


Namecornflow-client JSON
Version 1.1.4 PyPI version JSON
download
home_pagehttps://github.com/baobabsoluciones/cornflow
SummaryClient to connect to a cornflow server
upload_time2024-12-05 16:41:25
maintainerNone
docs_urlNone
authorbaobab soluciones
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "baobab soluciones",
    "author_email": "sistemas@baobabsoluciones.es",
    "download_url": "https://files.pythonhosted.org/packages/f1/03/967b42e01d5f9eecded21592a538ac3321c2b801d0caab4c831d97f76a95/cornflow-client-1.1.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\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Client to connect to a cornflow server",
    "version": "1.1.4",
    "project_urls": {
        "Homepage": "https://github.com/baobabsoluciones/cornflow"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8fde200481c4cdae0662d0fc5d4d972f393264ff67536cd8b214758c5b38dc4c",
                "md5": "891f988cf534ef174ae7b4f86f8da857",
                "sha256": "16bb6792125ada56bfa1703c866368d5d74a6c783a42da46186a4b82f884dfd7"
            },
            "downloads": -1,
            "filename": "cornflow_client-1.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "891f988cf534ef174ae7b4f86f8da857",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 127412,
            "upload_time": "2024-12-05T16:41:23",
            "upload_time_iso_8601": "2024-12-05T16:41:23.603420Z",
            "url": "https://files.pythonhosted.org/packages/8f/de/200481c4cdae0662d0fc5d4d972f393264ff67536cd8b214758c5b38dc4c/cornflow_client-1.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f103967b42e01d5f9eecded21592a538ac3321c2b801d0caab4c831d97f76a95",
                "md5": "5ceba45ee875fe25d1117139f650807e",
                "sha256": "8359b9f68bf6519d5b0d35aa8e70647df7fbf9ff12859719964eb8c8422fa910"
            },
            "downloads": -1,
            "filename": "cornflow-client-1.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "5ceba45ee875fe25d1117139f650807e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 95314,
            "upload_time": "2024-12-05T16:41:25",
            "upload_time_iso_8601": "2024-12-05T16:41:25.509213Z",
            "url": "https://files.pythonhosted.org/packages/f1/03/967b42e01d5f9eecded21592a538ac3321c2b801d0caab4c831d97f76a95/cornflow-client-1.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-05 16:41:25",
    "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"
}
        
Elapsed time: 0.36488s