{ "info": { "author": "Harsha Srinivas", "author_email": "95harsha95@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: User Interfaces", "Topic :: Software Development :: Version Control", "Topic :: Utilities" ], "description": "cli-github\r\n============\r\n\r\n**A Python App to display Github from the command-line!**\r\n\r\n\r\n+-----------+--------------+\r\n| Version | Downloads |\r\n+===========+==============+\r\n| |Version| | |Downloads| |\r\n+-----------+--------------+\r\n\r\nVersion 1.0.9\r\n-------------\r\n- Option to show the contents of a file/folder\r\n- Conformed to pep8 guidelines\r\n- URL input parsing made better\r\n- List the user followers\r\n\r\nLive Demo\r\n=========\r\n\r\n`DEMO `__ : Display the list of a user's repositories from the username/URL, along with the number of stargazers\r\n\r\n`DEMO `__ : Display all the folders and files within a repository recursively from the repository URL, along with their sizes\r\n\r\n`DEMO `__ : To get the RAW version of the readme file of a repository from the repository URL\r\n\r\n`DEMO `__ : To get the list of releases from the user's repository URL\r\n\r\n`DEMO `__ : Download the tarball from the user's repository URL\r\n\r\n`DEMO `__ : Download the zipball from the user's repository URL\r\n\r\n`DEMO `__ : To show the contents of a file/folder\r\n\r\n`DEMO `__ : List the followers of the user\r\n\r\nInstallation\r\n============\r\n\r\nUsing ``pip``\r\n-------------\r\n\r\n.. code:: sh\r\n\r\n $ pip install cli-github\r\n\r\nLatest build from the Source\r\n----------------------------\r\n\r\n- Clone the repo\r\n \r\n .. code:: sh\r\n \r\n $ git clone https://github.com/harshasrinivas/cli-github.git\r\n\r\n- Run \r\n \r\n .. code:: sh\r\n \r\n $ python setup.py install\r\n\r\nDependencies\r\n============\r\n\r\n- ``prettytable`` \r\n \r\n .. code:: sh\r\n \r\n $ pip install prettytable\r\n\r\n\r\n- ``future``\r\n\r\n .. code:: sh\r\n \r\n $ pip install future\r\n\r\n- ``python-dateutil``\r\n\r\n .. code:: sh\r\n\r\n $ pip install python-dateutil\r\n\r\n\r\nSetting Up\r\n==========\r\n\r\n**Github Token as Permanent Environment Variable**\r\n\r\nSet your Github Personal Access Token as the environment variable\r\nGITHUB\\_TOKEN\r\n\r\n.. code:: sh\r\n\r\n $ echo \"export GITHUB_TOKEN=\" | sudo tee -a /etc/environment\r\n\r\n**Github Token as Temporary Environment Variable**\r\n\r\n.. code:: sh\r\n\r\n $ GITHUB_TOKEN=\r\n\r\n**Without saving your Environment Variable**\r\n\r\n.. code:: sh\r\n\r\n $ cat cli_github/mains.py | sed -e \"s/API_TOKEN = os.environ.get('GITHUB_TOKEN')/API_TOKEN = /\" > cli_github/mains.py\r\n\r\nOptions\r\n=======\r\n\r\n.. code:: sh\r\n\r\n -h, --help show this help message and exit\r\n -n URL, --url URL\r\n Get repos from the user profile URL/username\r\n -r RECURSIVE, --recursive RECURSIVE\r\n Get the file structure from the repo link URL\r\n -R README, --readme README\r\n Get the raw version of the repository readme file from repo link URL\r\n -re RELEASES, --releases RELEASES\r\n Get the list of releases from repo link\r\n -dt TARBALL, --tarball TARBALL\r\n Download the tarball from repo link\r\n -dz ZIPBALL, --zipball ZIPBALL\r\n Download the zipball from repo link\r\n -op OPENFILE, --openfile OPENFILE\r\n Show the contents of the given file in a repo\r\n -f FOLLOWERS, --followers FOLLOWERS\r\n Get followers of the user\r\n\r\nUsage\r\n=====\r\n\r\nDisplay the list of a user's repositories from the username/URL\r\n\r\n.. code:: sh\r\n\r\n $ cli-github -n harshasrinivas\r\n\r\nDisplay all the files and folders within a repository recursively from\r\nthe repository URL\r\n\r\n.. code:: sh\r\n\r\n $ cli-github -r harshasrinivas/cli-github\r\n\r\nGet the RAW version of the readme file of a repository from the\r\nrepository URL\r\n\r\n.. code:: sh\r\n\r\n $ cli-github -R harshasrinivas/cli-github\r\n\r\nGet the list of releases from the user's repository URL\r\n\r\n.. code:: sh\r\n\r\n $ cli-github -re harshasrinivas/cli-github\r\n\r\nDownload the tarball of the any repo\r\n\r\n.. code:: sh\r\n\r\n $ cli-github -dt harshasrinivas/cli-github\r\n\r\nDownload the zipball of the any repo\r\n \r\n.. code:: sh\r\n \r\n $ cli-github -dz harshasrinivas/cli-github\r\n\r\nShow the contents of a file/folder\r\n \r\n.. code:: sh\r\n \r\n $ cli-github -op harshasrinivas/cli-github/setup.py\r\n\r\nList the followers of a user\r\n \r\n.. code:: sh\r\n \r\n $ cli-github -f harshasrinivas\r\n\r\n\r\nContribute\r\n==========\r\n\r\nIf you want to add features, improve them, or report issues, feel free\r\nto send a pull request.\r\n\r\nContributors\r\n============\r\n\r\n- `harshasrinivas `__ \r\n- `sananth12 `__\r\n- `SanketDG `__\r\n- `Pratik151 `__\r\n\r\n.. |Build Status| image:: https://travis-ci.org/harshasrinivas/cli-github.svg?branch=master\r\n :target: https://travis-ci.org/harshasrinivas/cli-github\r\n\r\n.. |Version| image:: https://badge.fury.io/py/cli_github.svg\r\n :target: http://badge.fury.io/py/cli_github\r\n \r\n.. |Downloads| image:: https://img.shields.io/pypi/dd/cli-github.svg\r\n :target: https://pypi.python.org/pypi/cli-github", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/harshasrinivas/cli-github/", "keywords": "github,CLI,github-within-CLI,python", "license": "GPL v3.0", "maintainer": "", "maintainer_email": "", "name": "cli-github", "package_url": "https://pypi.org/project/cli-github/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cli-github/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/harshasrinivas/cli-github/" }, "release_url": "https://pypi.org/project/cli-github/1.0.9/", "requires_dist": null, "requires_python": null, "summary": "Github inside the Command Line", "version": "1.0.9" }, "last_serial": 1639864, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "b935a7a8cf812c2a701a50c6bf6eb180", "sha256": "576b94431764d1a8539d091ec591d75c32f0106d4bbe5935fdbe90d3d61bd252" }, "downloads": -1, "filename": "cli-github-1.0.1.tar.gz", "has_sig": false, "md5_digest": "b935a7a8cf812c2a701a50c6bf6eb180", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3259, "upload_time": "2015-06-28T20:00:32", "url": "https://files.pythonhosted.org/packages/fa/0e/5e900accf0c9d8c3819feede510bc8bcd41340f2e4e35a190aafb8583438/cli-github-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "70639e2a941dc27a2ef45275ffbd998b", "sha256": "61b12a21d4ab44c14f468e5d47771dea19ce4ba19586c55030cbda82b3eb10cf" }, "downloads": -1, "filename": "cli-github-1.0.2.tar.gz", "has_sig": false, "md5_digest": "70639e2a941dc27a2ef45275ffbd998b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3303, "upload_time": "2015-06-28T23:39:01", "url": "https://files.pythonhosted.org/packages/bd/13/fec8979a65ad4a73978bd7ce5f8f0b613ee1fbac9a42659bf9c3b0432d8c/cli-github-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "8c8505c4f078a26841c165e371129533", "sha256": "e907c1306b4cc7f34e686fb02781dc4a258ba3fc2d73010544ffada85c0161fa" }, "downloads": -1, "filename": "cli-github-1.0.3.tar.gz", "has_sig": false, "md5_digest": "8c8505c4f078a26841c165e371129533", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3654, "upload_time": "2015-06-30T00:56:30", "url": "https://files.pythonhosted.org/packages/f4/a2/f455e716fd43d680d61281a9458f2e84cc98b548442a709fe5b589a24d77/cli-github-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "5ad577f56d91a74b6ae08dd4b6d92e78", "sha256": "85940071714fde586f489a878e5135230bacfb8e47e9579d56b7e1291c6c6dba" }, "downloads": -1, "filename": "cli-github-1.0.4.tar.gz", "has_sig": false, "md5_digest": "5ad577f56d91a74b6ae08dd4b6d92e78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3736, "upload_time": "2015-06-30T10:14:34", "url": "https://files.pythonhosted.org/packages/08/d3/1c19066b590bea137c7959e2ee41421e6bbed0d043fa0ae58f039d9ca2dd/cli-github-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "ff745b03893ea01cf05809ddc16bd42a", "sha256": "5860fe501dab8cde462f1b8f71231fa018d351b7d347b4502798e600117ccc39" }, "downloads": -1, "filename": "cli-github-1.0.5.tar.gz", "has_sig": false, "md5_digest": "ff745b03893ea01cf05809ddc16bd42a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 190685, "upload_time": "2015-06-30T20:36:45", "url": "https://files.pythonhosted.org/packages/bc/35/64d045f1d25ddf39be7d936ac8eaf593103485d2b557068bbc11c9e5b799/cli-github-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "5b50b3c6adbf7b489bdb7e21d6953905", "sha256": "3a94e1863b1aab8017354879c5b7db7d50ed24a6e9a4f587b7b69936b127de40" }, "downloads": -1, "filename": "cli-github-1.0.6.tar.gz", "has_sig": false, "md5_digest": "5b50b3c6adbf7b489bdb7e21d6953905", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4569, "upload_time": "2015-07-01T21:02:19", "url": "https://files.pythonhosted.org/packages/b7/92/5d81d0dc82e04c2a4266809ceb7cf70abf6d9306677018d23f41331bd37a/cli-github-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "834ffb4a973695bbb9ed1d2e86f4cf66", "sha256": "cce2d0e02eefb479967d1892d2bce052e3a6afefbedbb7c5721d202da396760d" }, "downloads": -1, "filename": "cli-github-1.0.7.tar.gz", "has_sig": false, "md5_digest": "834ffb4a973695bbb9ed1d2e86f4cf66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4504, "upload_time": "2015-07-02T23:08:40", "url": "https://files.pythonhosted.org/packages/ae/40/00b8ed8beb3bab982565599d03c34fea2906564a58cb8625986d567bc068/cli-github-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "000338e8e17a33d1658cb8a59caa8710", "sha256": "b97e248aa6773c59e8cda6e168850cc75059918b3a3102ff0e288e8c3437491c" }, "downloads": -1, "filename": "cli-github-1.0.8.zip", "has_sig": false, "md5_digest": "000338e8e17a33d1658cb8a59caa8710", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 264137, "upload_time": "2015-07-04T21:51:58", "url": "https://files.pythonhosted.org/packages/0c/ec/634a853de87dbbe836e7dc0bfc8f20b4400d4308345ae95ad7202e85b8aa/cli-github-1.0.8.zip" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "903d1911c9dacea1ef3cd9baaf2f342b", "sha256": "5046381f69bb01c2065e51f585f5daef044802bf3c0ebd11f0ad66d549cfcf87" }, "downloads": -1, "filename": "cli-github-1.0.9.zip", "has_sig": false, "md5_digest": "903d1911c9dacea1ef3cd9baaf2f342b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57704, "upload_time": "2015-07-19T07:43:59", "url": "https://files.pythonhosted.org/packages/c8/15/5f26e6eae8b99944acadcfffd62bfea87b01600f0e34bdbebbaaff418c67/cli-github-1.0.9.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "903d1911c9dacea1ef3cd9baaf2f342b", "sha256": "5046381f69bb01c2065e51f585f5daef044802bf3c0ebd11f0ad66d549cfcf87" }, "downloads": -1, "filename": "cli-github-1.0.9.zip", "has_sig": false, "md5_digest": "903d1911c9dacea1ef3cd9baaf2f342b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57704, "upload_time": "2015-07-19T07:43:59", "url": "https://files.pythonhosted.org/packages/c8/15/5f26e6eae8b99944acadcfffd62bfea87b01600f0e34bdbebbaaff418c67/cli-github-1.0.9.zip" } ] }