{ "info": { "author": "bayang", "author_email": "wabayang@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": ".. image:: https://img.shields.io/pypi/dm/githsearch.svg\n\n\ngithsearch\n==========\n\nQuick github search from the command line\n\nInstallation\n------------\n\n.. code-block:: python3\n\n pip install githsearch\n\n\nUsage as a command line tool\n----------------------------\n\n.. code-block:: python3\n\n options :\n -h or --help : display instructions\n -r or --repo [args] : search for args in github repos\n -u or --user [args] : search for args in github users\n -l or --limit : know your rate limit\n example :\n githsearch -r python tetris\n\n sample output :\n --> https://github.com/davidcollins4481/tetris-clone\n -- Tetris Clone in Python (PyGame)\n --> https://github.com/zxmarcos/pytrix\n -- Tetris clone in Python + PyGame\n --> https://github.com/nickcrafford/python-pygame-tetris\n -- Quick and dirty Tetris clone written to learn Pygame.\n --> https://github.com/davepgreene/tetris-clone\n -- A Tetris clone written in Python with pygame\n\n(Bonus : lines alternate in a purple color which is cute)\n\n\nUsing GithSearch programmatically\n---------------------------------\n\nYou can search for repos or users.\nFirst instantiate the main class, and to search for a repo call ``get_repo`` and pass the terms you want to search as arguments :\n\n.. code-block:: python3\n\n >>> from githsearch import GithSearch\n >>> g=GithSearch()\n >>> g.get_repo('python tetris clone pygame')\n [('https://github.com/davidcollins4481/tetris-clone',\n 'Tetris Clone in Python (PyGame)'),\n ('https://github.com/zxmarcos/pytrix', 'Tetris clone in Python + PyGame'),\n ('https://github.com/nickcrafford/python-pygame-tetris',\n 'Quick and dirty Tetris clone written to learn Pygame.'),\n ('https://github.com/davepgreene/tetris-clone',\n 'A Tetris clone written in Python with pygame'),\n ('https://github.com/AndreiMarks/BlindBlocks',\n 'Tetris Clone written in Python 3.2 using Pygame 1.9.2'),\n ('https://github.com/dannyburrows/PoorMansTetris',\n 'A Tetris clone, using python and pygame'), ...]\n\n\nThe search outputs the most relevant results.\nTo search for a user is the same but call ``get_user`` instead\n\n.. code-block:: python3\n\n >>> g.get_user('test')\n [('test', 'https://github.com/test'),\n ('prinnotamago', 'https://github.com/prinnotamago'),\n ('diannt', 'https://github.com/diannt'),\n ('73153', 'https://github.com/73153'),\n ('ssweetin', 'https://github.com/ssweetin'),\n ('deekoder', 'https://github.com/deekoder'),\n ('songkang666', 'https://github.com/songkang666'),\n ('ArdentZeal', 'https://github.com/ArdentZeal'),\n ('gitmobiletest', 'https://github.com/gitmobiletest'), ...]\n\nBut be aware that githsearch uses the free quotas from github search API so there is a rate limit. You can consult it by calling :\n\n.. code-block:: python3\n\n >>> g.get_limit\n {'remaining': 10, 'reset': 1453497872, 'limit': 10}\n\nAs long as you don't hammer down the API you should be okay.\n\nChanges :\n---------\nFeb 2016 : added Command line tool, refactoring, changed readme from markdown to restructuredtext so that it looks better on the Pypi.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bayang/githsearch", "keywords": "search github command-line", "license": "WTFPL", "maintainer": "", "maintainer_email": "", "name": "githsearch", "package_url": "https://pypi.org/project/githsearch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/githsearch/", "project_urls": { "Homepage": "https://github.com/bayang/githsearch" }, "release_url": "https://pypi.org/project/githsearch/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Search Github from the command line, the quick and dirty way", "version": "0.1.1" }, "last_serial": 1968246, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "772a7b4d4ba7d815e63e71a640da255d", "sha256": "394c9d1ca89da49ec7c042babba14ae44a94d43c82ddcc0e0a708f92f83aebb5" }, "downloads": -1, "filename": "githsearch-0.1.0-py3.4.egg", "has_sig": false, "md5_digest": "772a7b4d4ba7d815e63e71a640da255d", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 4976, "upload_time": "2016-01-22T23:12:14", "url": "https://files.pythonhosted.org/packages/f0/ea/1f3db25bf81bc3ebb6e7e86a273ff599b06ec6d1ecdd3f09c2063361494e/githsearch-0.1.0-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "7c9b8fc7006e8fbaaac18df349e4b674", "sha256": "4373d1acfd1288f31dab6903a3162545849c04e10fa07870fbbdb229189581c2" }, "downloads": -1, "filename": "githsearch-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7c9b8fc7006e8fbaaac18df349e4b674", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4826, "upload_time": "2016-01-22T23:12:01", "url": "https://files.pythonhosted.org/packages/60/20/b88861e53b27356f9a94be6291c7ad2126e5253cf0c2b3c20a5502b8a2a5/githsearch-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6ef083be23052f6844a911f80ed17b2", "sha256": "7e9eba20b238e5331335f248190aa08bd387631c4537598954c2d772f6422725" }, "downloads": -1, "filename": "githsearch-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c6ef083be23052f6844a911f80ed17b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3888, "upload_time": "2016-01-22T23:12:20", "url": "https://files.pythonhosted.org/packages/cb/d9/ac1be00e71fa331675c53fb50b0649d9f74d81813b6798084f41eeed38bf/githsearch-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b00be95ff226715a2d264bb846c76d40", "sha256": "0d6f6e18452bc661363fdba124f51120e30de2be97918552729a64de270b5c80" }, "downloads": -1, "filename": "githsearch-0.1.1-py3.4.egg", "has_sig": false, "md5_digest": "b00be95ff226715a2d264bb846c76d40", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 6171, "upload_time": "2016-02-21T19:24:47", "url": "https://files.pythonhosted.org/packages/34/2f/96e39293b9ac4e05b2892461dff98572ec2a2cc8eb09d6d3d5d569fb8a37/githsearch-0.1.1-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "1253f0eb53a9c56fa6d715cd20e6bf4b", "sha256": "6441e99b1cb5092bf9a2a52cf482bd22822a49feee15f3c5434677d715119269" }, "downloads": -1, "filename": "githsearch-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1253f0eb53a9c56fa6d715cd20e6bf4b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6163, "upload_time": "2016-02-21T19:24:39", "url": "https://files.pythonhosted.org/packages/5b/87/8d8af267ee0e8f6e7feb3efe1ee9cdc7132dfbd2423d4dbe4719ad15a0dc/githsearch-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aad19e53734a11fe22dff37baf57a762", "sha256": "cf2b1cad9a62895884a1fc0a1a77318bdd28ea97cc30f3fc85ac6a992f8e956e" }, "downloads": -1, "filename": "githsearch-0.1.1.tar.gz", "has_sig": false, "md5_digest": "aad19e53734a11fe22dff37baf57a762", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4737, "upload_time": "2016-02-21T19:24:52", "url": "https://files.pythonhosted.org/packages/84/90/ae0f801cd27f805b0999f55b5d58953bf12ebc321875fbd111c293a6e26d/githsearch-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b00be95ff226715a2d264bb846c76d40", "sha256": "0d6f6e18452bc661363fdba124f51120e30de2be97918552729a64de270b5c80" }, "downloads": -1, "filename": "githsearch-0.1.1-py3.4.egg", "has_sig": false, "md5_digest": "b00be95ff226715a2d264bb846c76d40", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 6171, "upload_time": "2016-02-21T19:24:47", "url": "https://files.pythonhosted.org/packages/34/2f/96e39293b9ac4e05b2892461dff98572ec2a2cc8eb09d6d3d5d569fb8a37/githsearch-0.1.1-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "1253f0eb53a9c56fa6d715cd20e6bf4b", "sha256": "6441e99b1cb5092bf9a2a52cf482bd22822a49feee15f3c5434677d715119269" }, "downloads": -1, "filename": "githsearch-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1253f0eb53a9c56fa6d715cd20e6bf4b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6163, "upload_time": "2016-02-21T19:24:39", "url": "https://files.pythonhosted.org/packages/5b/87/8d8af267ee0e8f6e7feb3efe1ee9cdc7132dfbd2423d4dbe4719ad15a0dc/githsearch-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aad19e53734a11fe22dff37baf57a762", "sha256": "cf2b1cad9a62895884a1fc0a1a77318bdd28ea97cc30f3fc85ac6a992f8e956e" }, "downloads": -1, "filename": "githsearch-0.1.1.tar.gz", "has_sig": false, "md5_digest": "aad19e53734a11fe22dff37baf57a762", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4737, "upload_time": "2016-02-21T19:24:52", "url": "https://files.pythonhosted.org/packages/84/90/ae0f801cd27f805b0999f55b5d58953bf12ebc321875fbd111c293a6e26d/githsearch-0.1.1.tar.gz" } ] }