{ "info": { "author": "Chris McCormick", "author_email": "chris@mccormick.cx", "bugtrack_url": null, "classifiers": [], "description": "CLI for GitHub user contrib graph & statistics\n\n`This tool is intended to facilitate the archiving of your public data\nhosted on\nGitHub `__.\n\nCurrently supported user stats:\n\n- Contributions graph.\n- Language statistics.\n- Total repos, stars, followers, following.\n- Pinned repositories.\n- Yearly contributions count.\n\nInstall\n~~~~~~~\n\n::\n\n pip install thxgh\n\n(hint: use ``--user`` to install into ``~/.local/bin/``)\n\nRun\n~~~\n\nSee usage help:\n\n::\n\n $ ./bin/thxgh \n Usage: ./bin/thxgh [--contributions|--stats] github-username\n --contributions will print the SVG contributions graph to stdout.\n --stats will print JSON formatted statistics for the user to stdout.\n --repos will print JSON formatted list of repositories.\n\nDownload contributions graph SVG for a user:\n\n::\n\n $ ./bin/thxgh --contributions chr15m > chr15m-contributions.svg\n\nGet language statistics and pinned repositories for a user:\n\n::\n\n $ ./bin/thxgh --stats chr15m\n {\n \"languages\": [\n {\n \"count\": 29,\n \"percent\": 23,\n \"language\": \"JavaScript\"\n },\n ...\n ],\n \"timestamp\": \"2017-05-18T09:52:18.093690\",\n \"stats\": [\n [\n \"Repositories\",\n \"135\"\n ],\n [\n \"Stars\",\n \"481\"\n ],\n [\n \"Followers\",\n \"109\"\n ],\n [\n \"Following\",\n \"294\"\n ]\n ],\n \"contributions-year\": 2254,\n \"pinned-repos\": [\n {\n \"name\": \"thxgh\",\n \"language\": \"Hy\",\n \"url\": \"https://github.com/chr15m/thxgh\",\n \"stars\": 2,\n \"forks\": 1,\n \"description\": \"CLI for GitHub user contrib graph & stats\"\n },\n ...\n ]\n }\n\nGet list of repositories for a user:\n\n::\n\n $ ./bin/thxgh --repos\n [\n {\n \"fork\": false,\n \"open_issues_count\": 0,\n \"watchers\": 0,\n \"description\": \"CLI for GitHub user contrib graph & language stats\",\n \"name\": \"thxgh\",\n \"forks\": 0,\n \"created_at\": \"2017-05-18T02:02:21Z\",\n \"forks_count\": 0,\n \"updated_at\": \"2017-05-18T11:44:09Z\",\n \"html_url\": \"https://github.com/chr15m/thxgh\",\n \"language\": \"Hy\",\n \"clone_url\": \"https://github.com/chr15m/thxgh.git\",\n \"watchers_count\": 0,\n \"full_name\": \"chr15m/thxgh\",\n \"ssh_url\": \"git@github.com:chr15m/thxgh.git\",\n \"open_issues\": 0,\n \"stargazers_count\": 0,\n \"id\": 91637951,\n \"size\": 13\n },\n ...\n ]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/chr15m/thxgh", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "thxgh", "package_url": "https://pypi.org/project/thxgh/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/thxgh/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/chr15m/thxgh" }, "release_url": "https://pypi.org/project/thxgh/0.2/", "requires_dist": null, "requires_python": null, "summary": "CLI for GitHub user contrib graph & statistics.", "version": "0.2" }, "last_serial": 2888853, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "bc1cae66956cc04637552bd065af9826", "sha256": "6e73657950b4dd81c0c518508748f2552d4d7f8669709fe35c7e257dbfb1affb" }, "downloads": -1, "filename": "thxgh-0.1.tar.gz", "has_sig": false, "md5_digest": "bc1cae66956cc04637552bd065af9826", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1742, "upload_time": "2017-05-18T02:01:03", "url": "https://files.pythonhosted.org/packages/8e/c1/ab06ec10dd776ecd97f67a18d6073fed74e0b7b486ab1e5c0926018e19ee/thxgh-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "fafbf3325aa6a24867d8c8fac3399589", "sha256": "597181b963c9609bd9a26cb647760123e3cdf8898243d0d8278cd23494cc8da0" }, "downloads": -1, "filename": "thxgh-0.2.tar.gz", "has_sig": false, "md5_digest": "fafbf3325aa6a24867d8c8fac3399589", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3248, "upload_time": "2017-05-21T12:58:45", "url": "https://files.pythonhosted.org/packages/28/e2/bc9b60f2a7dd66287d768076db5070e5aa0f8ebc2cdf00edff844799737e/thxgh-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fafbf3325aa6a24867d8c8fac3399589", "sha256": "597181b963c9609bd9a26cb647760123e3cdf8898243d0d8278cd23494cc8da0" }, "downloads": -1, "filename": "thxgh-0.2.tar.gz", "has_sig": false, "md5_digest": "fafbf3325aa6a24867d8c8fac3399589", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3248, "upload_time": "2017-05-21T12:58:45", "url": "https://files.pythonhosted.org/packages/28/e2/bc9b60f2a7dd66287d768076db5070e5aa0f8ebc2cdf00edff844799737e/thxgh-0.2.tar.gz" } ] }