{ "info": { "author": "rdugan", "author_email": "cgmhi-dev@mailnicks.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator", "Topic :: System :: Networking :: Monitoring", "Topic :: System :: Systems Administration" ], "description": "CGMiner HTTP Interface\n======================\n\nA basic HTTP endpoint to any API conforming to the CGMiner RPC interface.\n\nInstallation\n============\n\nFrom pip::\n\n $ pip install cgminerhttpinterface\n\n\nUsage\n=====\n\nMost people will just want to run the server, which means a simple command in\nyour shell / command prompt:\n\n::\n\n $ chi-server\n\nThis will start an HTTP server reachable on all interfaces on port 8080, which\nwill re-issue incoming requests to localhost:4028 (the default host:port for\nthe CGMiner RPC API.) This server can be started at any time, but will of\ncourse only be useful once the CGMiner API has been started.\n\n\nOptions\n=======\n\n::\n\n usage: chi-server [-h] [-w HTTP_PORT] [-p API_PORT] [-a API_HOST]\n\n Start HTTP interface to the monitoring API\n\n optional arguments:\n -h, --help show this help message and exit\n -w HTTP_PORT, --http_port HTTP_PORT\n Port to use for http server\n -p API_PORT, --api_port API_PORT\n Port used by API server\n -a API_HOST, --api_host API_HOST\n Host name/address used by API server\n\n\nUsing the HTTP Interface\n========================\n\nURL structure is *\\http://[:port]/[+command...]/[parameter]*. For\nexample:\n\n- *\\http://localhost/summary+pools/* : combined summary and pools report on the\n default port\n- *\\http://localhost:8081/gpu/0* : single gpu status on port 8081 (as defined in\n the command line) \n\nVisiting the server root (e.g. *\\http://localhost/*) will issue the compound\n'summary+devs' command.\n\nAt this point in time, the HTTP endpoint will simply serve the response of the\nAPI as is - meaning a JSON formatted data structure containing sections for each\ncommand issued. All commands available via the `CGMiner API`_ are also available\nvia the HTTP endpoint - in fact the HTTP endpoint performs no command validation\nat all, relying on the API to validate requests and respond appropriately.\n\n\n.. _CGMiner API: https://github.com/ckolivas/cgminer/blob/master/API-README\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/rdugan/cgminerhttpinterface", "keywords": "cgminer sgminer mining api http monitor", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "cgminerhttpinterface", "package_url": "https://pypi.org/project/cgminerhttpinterface/", "platform": "", "project_url": "https://pypi.org/project/cgminerhttpinterface/", "project_urls": { "Homepage": "http://github.com/rdugan/cgminerhttpinterface" }, "release_url": "https://pypi.org/project/cgminerhttpinterface/0.1.3/", "requires_dist": null, "requires_python": ">=3", "summary": "HTTP endpoint for CGMiner RPC conforming interfaces", "version": "0.1.3" }, "last_serial": 4923101, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9f2843e8b8af58504b088ddd0e610756", "sha256": "9d9c194d83b9b871320096f284938ec6f16d9de2fc9b1f5e1f066f2f0306112a" }, "downloads": -1, "filename": "cgminerhttpinterface-0.1.tar.gz", "has_sig": false, "md5_digest": "9f2843e8b8af58504b088ddd0e610756", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3886, "upload_time": "2018-11-13T08:37:15", "url": "https://files.pythonhosted.org/packages/f5/b1/271dcfe9044fd9d33f3e5453b4e56ddcacd7a0930fb33ba5f4702bc08966/cgminerhttpinterface-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a430298d98182f7ce2223631ecabe1fd", "sha256": "b20c15d97d10283a1950e5ca5d17a8447095dd88fca1e7eec2d740fd49b1fb5d" }, "downloads": -1, "filename": "cgminerhttpinterface-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a430298d98182f7ce2223631ecabe1fd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4415, "upload_time": "2018-11-13T09:44:37", "url": "https://files.pythonhosted.org/packages/89/5f/ea66ef0a530015ebf94ccbced9ef9ac6f59c7183bc498c15578c84808407/cgminerhttpinterface-0.1.1.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "30ca9a8b093488dbed77cb0bf1e1d2f6", "sha256": "f5578c2478cd8ede6cb8138803d3945d5bfc947d9cd37f0809b1be853aecb6de" }, "downloads": -1, "filename": "cgminerhttpinterface-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "30ca9a8b093488dbed77cb0bf1e1d2f6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9678, "upload_time": "2019-03-10T23:56:32", "url": "https://files.pythonhosted.org/packages/49/f0/539dd6697ec74d069e685c4ea354437d505f6127f3599d1c418b176dd42a/cgminerhttpinterface-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6afa118f633921f612ac819bae057566", "sha256": "2becec9ba8fcc3916a6e5537847b025dae869bc3503b7a77e5cacdde16b87244" }, "downloads": -1, "filename": "cgminerhttpinterface-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6afa118f633921f612ac819bae057566", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4353, "upload_time": "2019-03-10T23:56:34", "url": "https://files.pythonhosted.org/packages/7b/9a/fb493975cd59ed69ea764a0a384cc5919d81c7279b8a830b04d9acd0bc03/cgminerhttpinterface-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "30ca9a8b093488dbed77cb0bf1e1d2f6", "sha256": "f5578c2478cd8ede6cb8138803d3945d5bfc947d9cd37f0809b1be853aecb6de" }, "downloads": -1, "filename": "cgminerhttpinterface-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "30ca9a8b093488dbed77cb0bf1e1d2f6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9678, "upload_time": "2019-03-10T23:56:32", "url": "https://files.pythonhosted.org/packages/49/f0/539dd6697ec74d069e685c4ea354437d505f6127f3599d1c418b176dd42a/cgminerhttpinterface-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6afa118f633921f612ac819bae057566", "sha256": "2becec9ba8fcc3916a6e5537847b025dae869bc3503b7a77e5cacdde16b87244" }, "downloads": -1, "filename": "cgminerhttpinterface-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6afa118f633921f612ac819bae057566", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4353, "upload_time": "2019-03-10T23:56:34", "url": "https://files.pythonhosted.org/packages/7b/9a/fb493975cd59ed69ea764a0a384cc5919d81c7279b8a830b04d9acd0bc03/cgminerhttpinterface-0.1.3.tar.gz" } ] }