{ "info": { "author": "Marius-Constantin Melemciuc", "author_email": "mariuspypi@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "GitHub Stargazers\n=================\n\n|Build Status| |PyPI version| |HitCount| |tweet|\n\nList stargazers and check if a user starred that repository.\n\nInstall\n-------\n\nIt is recommended to be installed in a virtual environment with\n``Python >= 3.6``.\n\n- Install pipenv\n\n ::\n\n $ pip3 install pipenv\n\n- After ``cd`` into a working directory, configure virtual environment\n and install ``github-stargazers``\n\n ::\n\n $ pipenv --python=python3.6\n $ pipenv install github-stargazers\n\nUsage\n-----\n\nAs a command-line app\n~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ pipenv run github-stargazers / [OPTIONS]\n\nwhere ``OPTIONS`` could be\n\n::\n\n --user GitHub username to see if it is a stargazer. \n\nIf it's used without ``--user``, it just shows repository's stargazers.\n\nWhen it's used with ``--user``, it shows if that user starred the\nrepository or not.\n\nExample:\n\n::\n\n $ pipenv run github-stargazers marius92mc/github-stargazers --user marius92mc\n\nAs an imported\n~~~~~~~~~~~~~~\n\n.. code:: python\n\n from github_stargazers.github import GitHub\n\n github = GitHub(\"yasoob/fb-messenger-bot\")\n\n print(github.get_all_stargazers())\n print(github.is_stargazer(\"Jazzthedog\"))\n\nRunning from source\n-------------------\n\nRequirements\n~~~~~~~~~~~~\n\n- Python 3.6\n- `pipenv `__\n\nGetting started\n~~~~~~~~~~~~~~~\n\n1. Install pipenv\n\n ::\n\n $ pip3 install pipenv \n\n2. Set Python 3.6 as the version used by pipenv to create the virtual\n environment\n\n ::\n\n $ cd github_stargazers\n $ pipenv --python=python3.6\n\n3. Install dependencies\n\n ::\n\n $ pipenv install --dev\n\nRun\n~~~\n\nFirst we need to install the package, according to ``setup.py``\ninstructions.\n\n::\n\n $ pipenv run python setup.py install\n\nThen we can run the installed package inside pipenv.\n\n::\n\n $ pipenv run github-stargazers / [OPTIONS]\n\nwhere ``OPTIONS`` could be\n\n::\n\n --user GitHub username to see if it is a stargazer. \n\nRun autopep8, mypy, pylint for the changed files\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ ./autopep8.sh \n $ ./mypy.sh \n $ ./pylint.sh\n\nLaunch IPython console\n~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ pipenv run ipython\n\nTests\n~~~~~\n\nRun the unit-tests.\n\n::\n\n $ pipenv run pytest\n\nor with more detailed output, like this ``$ pipenv run pytest -vv``.\n\n- Debug failing tests\n\n ::\n\n $ pipenv run pytest -vv -s -x --pdb --showlocals\n\n For more details, see the `pytest\n documentation `__.\n\n.. |Build Status| image:: https://travis-ci.org/marius92mc/github-stargazers.svg?branch=master\n :target: https://travis-ci.org/marius92mc/github-stargazers\n.. |PyPI version| image:: https://badge.fury.io/py/github-stargazers.svg\n :target: https://badge.fury.io/py/github-stargazers\n.. |HitCount| image:: http://hits.dwyl.io/marius92mc/github-stargazers.svg\n :target: http://hits.dwyl.io/marius92mc/github-stargazers\n.. |tweet| image:: http://jpillora.com/github-twitter-button/img/tweet.png\n :target: https://twitter.com/intent/tweet?text=GitHub+Stargazers+on+PyPi!&url=https%3A%2F%2Fgithub.com%2Fmarius92mc%2Fgithub-stargazers&hashtags=github&original_referer=http%3A%2F%2Fgithub.com%2F&tw_p=tweetbutton", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/marius92mc/github-stargazers/archive/0.1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marius92mc/github-stargazers", "keywords": "command-line,python,github,star,repository,beautifulsoup", "license": "", "maintainer": "", "maintainer_email": "", "name": "github-stargazers", "package_url": "https://pypi.org/project/github-stargazers/", "platform": "", "project_url": "https://pypi.org/project/github-stargazers/", "project_urls": { "Download": "https://github.com/marius92mc/github-stargazers/archive/0.1.0.tar.gz", "Homepage": "https://github.com/marius92mc/github-stargazers" }, "release_url": "https://pypi.org/project/github-stargazers/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "List stargazers and check if a user starred that repository", "version": "0.1.0" }, "last_serial": 3398743, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ca9d669a434e6b47bc9633653c1bd285", "sha256": "eaf723dd83303ecc5c3b4cadf4cac476f23a5370256b8620946a46d39307a353" }, "downloads": -1, "filename": "github-stargazers-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ca9d669a434e6b47bc9633653c1bd285", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2933, "upload_time": "2017-10-12T03:10:24", "url": "https://files.pythonhosted.org/packages/ce/f1/6aa9bbabc6304a539c22c4c0d2613d7d6fa262875ed75b30d7ed7860a146/github-stargazers-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "95efc75d3ae42f62e07b6820e59c5b47", "sha256": "ac751e23282f2a420214cfc10d54db041aacca0133bd47e05a01d151cfa2fcb3" }, "downloads": -1, "filename": "github-stargazers-0.0.3.tar.gz", "has_sig": false, "md5_digest": "95efc75d3ae42f62e07b6820e59c5b47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2939, "upload_time": "2017-10-12T03:57:25", "url": "https://files.pythonhosted.org/packages/d3/57/910528522c9586a99d00b879761c4e114ec35f5d7d469e445490e4d5dc29/github-stargazers-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "1da06719d68b628770df3766ef5fd048", "sha256": "4fc5a38b919b955019cddba874c9902484173f5116399ac2335c7e55aad744d7" }, "downloads": -1, "filename": "github-stargazers-0.0.4.tar.gz", "has_sig": false, "md5_digest": "1da06719d68b628770df3766ef5fd048", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4437, "upload_time": "2017-10-15T21:50:17", "url": "https://files.pythonhosted.org/packages/61/04/d7335d56be5bb2e73c3f40be9ae33f7253dc6d11e689e83e95a286087d3d/github-stargazers-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "ec77dd64e4f78d9b947b5a4e72a0406e", "sha256": "032852838949e4584781735316ee2b3c62b8ed92e05d068bc52b668a5893f489" }, "downloads": -1, "filename": "github-stargazers-0.0.5.tar.gz", "has_sig": false, "md5_digest": "ec77dd64e4f78d9b947b5a4e72a0406e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4797, "upload_time": "2017-11-10T20:31:53", "url": "https://files.pythonhosted.org/packages/2f/61/b2589b283eb24f594c1eeb4aa3fc5da5c49c8588a11de5e9e7496cd0f26c/github-stargazers-0.0.5.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "dce54e8a310fba9a59e41f483ba32305", "sha256": "bce1787c828ac3b2bf82592394531a88db7644e8f54ad1bd6f84aebeec47c10c" }, "downloads": -1, "filename": "github-stargazers-0.1.0.tar.gz", "has_sig": false, "md5_digest": "dce54e8a310fba9a59e41f483ba32305", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5379, "upload_time": "2017-12-07T21:12:58", "url": "https://files.pythonhosted.org/packages/5c/4d/fe35716049c2ef9d21f40434d5829299ee6a5dff97180e5dc8ac55e9aa4d/github-stargazers-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dce54e8a310fba9a59e41f483ba32305", "sha256": "bce1787c828ac3b2bf82592394531a88db7644e8f54ad1bd6f84aebeec47c10c" }, "downloads": -1, "filename": "github-stargazers-0.1.0.tar.gz", "has_sig": false, "md5_digest": "dce54e8a310fba9a59e41f483ba32305", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5379, "upload_time": "2017-12-07T21:12:58", "url": "https://files.pythonhosted.org/packages/5c/4d/fe35716049c2ef9d21f40434d5829299ee6a5dff97180e5dc8ac55e9aa4d/github-stargazers-0.1.0.tar.gz" } ] }