{ "info": { "author": "Alon Swartz", "author_email": "alon@turnkeylinux.org", "bugtrack_url": null, "classifiers": [], "description": "HexaHub: A coward's fork of OctoHub: Low level Python and CLI interface to GitHub (Enterprise)\n=====================================================\n\nOctoHub is a Python package that provides a low level interface to the\nfull GitHub v3 API:\n\n* `Activity`_\n* `Gists`_\n* `Git Data`_\n* `Issues`_\n* `Orgs`_\n* `Pull Requests`_\n* `Repositories`_\n* `Users`_\n* `Search`_\n\nOctoHub was developed out of a need to have a one-to-one interface to\nthe GitHub API based on the excellent `online documentation`_, with the\nleast amount of abstraction.\n\nOctoHub does do its part by parsing raw json responses into Pythonic\nattribute dictionaries, as well providing an optional iterative Pager\nfor handling pagination.\n\nAlso included is a command line interface for quick interaction with\nGitHub's API.\n\nSpeaking of development, it's really easy to leverage the base code to\ndevelop higher level tools, see `contrib`_ for some examples. We also\nlove pull requests, see our `gitflow`_ for guidelines and walk through.\n\nInstallation\n------------\n\n::\n\n $ git clone https://github.com/Xobb/hexahub.git\n $ cd hexahub\n $ sudo make install\n\nDependencies\n''''''''''''\n\n* `python-requests`_\n* `python-simplejson`_\n\nGitHub Token\n------------\n\nOctoHub can be used anonymously, but is much more useful when authenticated.\nYou can create a revokable access token under ``Personal API Tokens`` in your\n`account settings`_.\n\nUsage examples (API)\n--------------------\n\n::\n\n >>> from octohub.connection import Connection\n \n >>> conn = Connection(token)\n >>> uri = '/repos/turnkeylinux/tracker/issues'\n >>> response = conn.send('GET', uri, params={'labels': 'bug'})\n >>> for issue in response.parsed:\n ...: print issue.title\n\n >>> from octohub.connection import Pager\n >>> pager = Pager(conn, uri)\n >>> for issue in pager:\n ...: print issue.title\n\nUsage examples (CLI)\n--------------------\n\n::\n\n # A Personal Access Token from your GitHub account:\n # Account Settings > Applications > Personal Access Tokens > Create new token\n $ export OCTOHUB_TOKEN=d34db33fd34db33fd34db33fd34db33fd34db33f\n $ export OCTOHUB_LOGLEVEL=INFO\n $ octohub GET /repos/turnkeylinux/tracker/issues labels=feature\n\n INFO [response]: status: 200 OK\n INFO [response]: x-ratelimit-limit: 5000\n INFO [response]: x-ratelimit-remaining: 4997\n [\n {\n \"body\": \"...\n \"title\": \"...\n ...\n \n \n $ cat repo.json\n {\n \"name\": \"test\",\n \"description\": \"My test project\",\n \"homepage\": \"http://www.turnkeylinux.org\",\n }\n $ octohub POST /user/repos --input=repo.json\n\n INFO [response]: status: 201 Created\n INFO [response]: x-ratelimit-limit: 5000\n INFO [response]: x-ratelimit-remaining: 4996\n ...\n\nFor more example usage::\n\n $ octohub --help\n\n\n.. _Activity: http://developer.github.com/v3/activity/\n.. _Gists: http://developer.github.com/v3/gists/\n.. _Git Data: http://developer.github.com/v3/git/\n.. _Issues: http://developer.github.com/v3/issues/\n.. _Orgs: http://developer.github.com/v3/orgs/\n.. _Pull Requests: http://developer.github.com/v3/pulls/\n.. _Repositories: http://developer.github.com/v3/repos/\n.. _Users: http://developer.github.com/v3/users/\n.. _Search: http://developer.github.com/v3/search/\n.. _online documentation: http://developer.github.com/v3/\n.. _contrib: https://github.com/turnkeylinux/octohub/tree/master/contrib/\n.. _gitflow: https://github.com/turnkeylinux/tracker/blob/master/GITFLOW.rst\n.. _python-requests: http://python-requests.org/\n.. _python-simplejson: https://github.com/simplejson/simplejson/\n.. _account settings: https://github.com/settings/applications\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Xobb/hexahub", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "hexahub", "package_url": "https://pypi.org/project/hexahub/", "platform": "", "project_url": "https://pypi.org/project/hexahub/", "project_urls": { "Homepage": "https://github.com/Xobb/hexahub" }, "release_url": "https://pypi.org/project/hexahub/1.0.9/", "requires_dist": null, "requires_python": "", "summary": "Low level Python and CLI interface to GitHub", "version": "1.0.9" }, "last_serial": 2380259, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e1cc8e271c4982ea6b1d1259ee890e90", "sha256": "97f92b695012ddd89a57f47e9a89d7f0c009be3a2d3b3c68bad514547a855376" }, "downloads": -1, "filename": "hexahub-1.0.tar.gz", "has_sig": false, "md5_digest": "e1cc8e271c4982ea6b1d1259ee890e90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6273, "upload_time": "2015-08-27T14:55:36", "url": "https://files.pythonhosted.org/packages/12/b5/77455a4bca47b8535d21b4241679eac6bf74ea3477a7288def837c04888f/hexahub-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1d29edcee5ed0ae444c452cd6be280a4", "sha256": "658bbdbfd79cd552f4e39507b3b274e4c9ed4dc6ae1376f13bca545d23e33f99" }, "downloads": -1, "filename": "hexahub-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1d29edcee5ed0ae444c452cd6be280a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6380, "upload_time": "2015-08-31T08:44:59", "url": "https://files.pythonhosted.org/packages/b3/9f/fed3a4b01f29fe8a7fa3f2d2a491f2464bb7b49e8d4b14971c38b012e1f7/hexahub-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "61ce85b412d34678c536a839647d47e5", "sha256": "e14051d8de1da562da0b8f283651287c5334f1f69294b9b554a0d0480bdce1e5" }, "downloads": -1, "filename": "hexahub-1.0.2.tar.gz", "has_sig": false, "md5_digest": "61ce85b412d34678c536a839647d47e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6459, "upload_time": "2015-08-31T09:16:01", "url": "https://files.pythonhosted.org/packages/84/40/7942c6f04f1aad0bc8bd756521690ee970d1fbd5262c4a6df8fe865a41ec/hexahub-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "3de0ffb6a4a7f96c0bf9504751775b64", "sha256": "264dc921dfb08c68b98d927fb2377732ea50d9d4259544c76871cf435a0e1031" }, "downloads": -1, "filename": "hexahub-1.0.3.tar.gz", "has_sig": false, "md5_digest": "3de0ffb6a4a7f96c0bf9504751775b64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6447, "upload_time": "2015-09-22T22:53:36", "url": "https://files.pythonhosted.org/packages/8c/c7/32516cdb236e537f0f145fc3d298f472f62215fc9186f3c74a4eda85b499/hexahub-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "4ed596f897e7e9de26ca6aa6e7f5a5a2", "sha256": "652344581fec09dc950bf6213b272268747f829df978b1e7e20141909ca1a552" }, "downloads": -1, "filename": "hexahub-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4ed596f897e7e9de26ca6aa6e7f5a5a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6453, "upload_time": "2015-10-05T13:40:55", "url": "https://files.pythonhosted.org/packages/67/da/4fc8af76f70496e524ad37a89c39bb55d37922c4882334d22409305f3ddf/hexahub-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "99c8f2a11319a11cfd06584c26e5ef21", "sha256": "93539209fde67cd084641e2fd7d7a4011ec1b842ade12f17b61c3d7fc2897acc" }, "downloads": -1, "filename": "hexahub-1.0.5.tar.gz", "has_sig": false, "md5_digest": "99c8f2a11319a11cfd06584c26e5ef21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6461, "upload_time": "2015-10-09T15:54:59", "url": "https://files.pythonhosted.org/packages/0a/d2/08dbbe165f2d2029e1dc680fe890c67bcae257ca950cf15db78855daadac/hexahub-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "406e0a69c359c1a6338b13cdc761e6e6", "sha256": "3494c0f5897f98eb1454fbfe2c0b1252477aa76d4892bd6065fc6bed824ff2f9" }, "downloads": -1, "filename": "hexahub-1.0.6.tar.gz", "has_sig": false, "md5_digest": "406e0a69c359c1a6338b13cdc761e6e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6359, "upload_time": "2016-08-02T22:53:16", "url": "https://files.pythonhosted.org/packages/39/61/2015f40a44077138595be0e775485b0f20038dd5feea3f42559c69b116dc/hexahub-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "c5e33213eb42973817167b9cc62c006d", "sha256": "df90436a94f85cb3d208f49d71ad1084336d7b9f591a1624ef85970acb7c1486" }, "downloads": -1, "filename": "hexahub-1.0.7.tar.gz", "has_sig": false, "md5_digest": "c5e33213eb42973817167b9cc62c006d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6403, "upload_time": "2016-09-29T18:58:03", "url": "https://files.pythonhosted.org/packages/e6/dd/144229857c4a57cabcb773713b2505ef6dcaf32611d6d647e6dad3b8a08c/hexahub-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "453bc5ce828ebc7a9e4c5c418c8f4912", "sha256": "09da76744d295d28a706c1390372c47a37e970d85fc6df10e550658ca8a07239" }, "downloads": -1, "filename": "hexahub-1.0.8.tar.gz", "has_sig": false, "md5_digest": "453bc5ce828ebc7a9e4c5c418c8f4912", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6407, "upload_time": "2016-09-29T19:02:53", "url": "https://files.pythonhosted.org/packages/e2/8e/cf69019f0d37e8c16b47d670b7531797a4c0c0bb9eef02953023d6f41397/hexahub-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "215a3a913954cb50a0dd0fb119c4603d", "sha256": "2de954e1806b2d4b4751b7ddf545ccf85780da8bed73850d2ef8d66afb3f2a4f" }, "downloads": -1, "filename": "hexahub-1.0.9-py2-none-any.whl", "has_sig": false, "md5_digest": "215a3a913954cb50a0dd0fb119c4603d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11272, "upload_time": "2016-10-04T17:45:24", "url": "https://files.pythonhosted.org/packages/85/cb/1820f425ae982782ad79931112e623d33fc9f56647c7056ac87a633e4869/hexahub-1.0.9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "beac57dd75d8ad2e74c4797d4cc1141f", "sha256": "eb76a0b0a9719cab386a9c85a98d526abc0ead64a5fdd6ef857b0cbed6d16aab" }, "downloads": -1, "filename": "hexahub-1.0.9.tar.gz", "has_sig": false, "md5_digest": "beac57dd75d8ad2e74c4797d4cc1141f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6401, "upload_time": "2016-09-29T22:04:47", "url": "https://files.pythonhosted.org/packages/09/ce/3e66233db2e8647e66e34f7b92bb845b857cd1dcb3df6fdc627123da9509/hexahub-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "215a3a913954cb50a0dd0fb119c4603d", "sha256": "2de954e1806b2d4b4751b7ddf545ccf85780da8bed73850d2ef8d66afb3f2a4f" }, "downloads": -1, "filename": "hexahub-1.0.9-py2-none-any.whl", "has_sig": false, "md5_digest": "215a3a913954cb50a0dd0fb119c4603d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11272, "upload_time": "2016-10-04T17:45:24", "url": "https://files.pythonhosted.org/packages/85/cb/1820f425ae982782ad79931112e623d33fc9f56647c7056ac87a633e4869/hexahub-1.0.9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "beac57dd75d8ad2e74c4797d4cc1141f", "sha256": "eb76a0b0a9719cab386a9c85a98d526abc0ead64a5fdd6ef857b0cbed6d16aab" }, "downloads": -1, "filename": "hexahub-1.0.9.tar.gz", "has_sig": false, "md5_digest": "beac57dd75d8ad2e74c4797d4cc1141f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6401, "upload_time": "2016-09-29T22:04:47", "url": "https://files.pythonhosted.org/packages/09/ce/3e66233db2e8647e66e34f7b92bb845b857cd1dcb3df6fdc627123da9509/hexahub-1.0.9.tar.gz" } ] }