{ "info": { "author": "Geoffrey Leh\u00e9e", "author_email": "contact@toxi.nu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Pyhn\n====\n\nHacker news in your terminal.\n\n.. image:: https://raw.github.com/socketubs/pyhn/master/screenshot.png\n\nDon't be worry about your IP. Pyhn is not aggressive, it uses cache.\n\n* ``Cache manager``\n* ``Customize all the colors``\n* ``Customize all the keybinds``\n* ``Default vim-like keybindings``\n* ``Compatible with Top, Ask, Show and Job stories``\n* ``Auto refresh support``\n* ``Play nice with tmux and screen (over ssh too!)``\n* ``Open storiers in your commandline web browser``\n* ``Mouse support``\n* ``Easily installable``\n* ``Easily hackable``\n* ``Ultra fast``\n* ``Python 2 and 3``\n* ``MIT license``\n\nInstallation\n------------\n\nUsing pip: ::\n\n\tpip install pyhn\n\nRun it: ::\n\n\tpyhn\n\nArch Linux\n~~~~~~~~~~\n\n``pyhn`` is available in the AUR_.\n\nUsage\n-----\n\nUse help for all key bindings:\n\n* **h**, **?**: Print help popup\n\nConfiguration\n-------------\n\nBy default, configuration file is in your ``$HOME/.pyhn/config``.\nYou can set key bindings, colors and more.\n\nThis is an example file: ::\n\n [keybindings]\n open_story_link = S,enter\n show_story_link = s\n open_comments_link = C\n show_comments_link = c\n open_user_link = U\n show_user_link = u\n up = j\n down = k\n page_up = ctrl d\n page_down = ctrl u\n first_story = g\n last_story = G\n refresh = r,R\n reload_config = ctrl r,ctrl R\n\n newest_stories = n\n top_stories = t\n best_stories = b\n show_stories = d\n show_newest_stories = D\n ask_stories = a\n jobs_stories = J\n\n [settings]\n cache = /home/socketubs/.pyhn/cache\n cache_age = 5\n # Refresh interval in minutes (default: 5. minimum: 1)\n refresh_interval = 5\n browser_cmd = __default__\n\n [colors]\n body = default|\n focus = white,bold|dark cyan\n footer = black|light gray\n footer-error = dark red,bold|light gray\n header = black,bold|light gray\n title = dark red,bold|light gray\n help = black,standout|dark cyan\n\n\nSettings\n~~~~~~~~\n\n* ``cache_age`` is a minute indicator which say to ``CacheManager`` when cache is outdated\n* ``browser_cmd`` is a bash command which will be use to open links\n\nExamples: ::\n\n browser_cmd = lynx __url__\n browser_cmd = __default__\n browser_cmd = w3m __url__\n browser_cmd = echo \"[INFO] Open with w3m: __url__\" >> /tmp/pyhn.log && w3m __url__\n\nKey bindings\n~~~~~~~~~~~~\n\nYou can set different key bindings for same action with a comma separator.\nTake a look at ``urwid`` `input`_ manual.\n\nColors\n~~~~~~\n\nColors options are designed like that: ``foreground|background|monochrome``.\n\n**foreground**\n\n* *colors*: \u2018default\u2019 (use the terminal\u2019s default foreground), \u2018black\u2019, \u2018dark red\u2019, \u2018dark green\u2019, \u2018brown\u2019, \u2018dark blue\u2019, \u2018dark magenta\u2019, \u2018dark cyan\u2019, \u2018light gray\u2019, \u2018dark gray\u2019, \u2018light red\u2019, \u2018light green\u2019, \u2018yellow\u2019, \u2018light blue\u2019, \u2018light magenta\u2019, \u2018light cyan\u2019, \u2018white\u2019\n* *settings*: \u2018bold\u2019, \u2018underline\u2019, \u2018blink\u2019, \u2018standout\u2019\n\n**background**\n\n* *colors*: \u2018default\u2019 (use the terminal\u2019s default background), \u2018black\u2019, \u2018dark red\u2019, \u2018dark green\u2019, \u2018brown\u2019, \u2018dark blue\u2019, \u2018dark magenta\u2019, \u2018dark cyan\u2019, \u2018light gray\u2019\n\n**monochrome**\n\n* *settings* : \u2018bold\u2019, \u2018underline\u2019, \u2018blink\u2019, \u2018standout\u2019\n\nFor more informations you can take a look at ``urwid`` `manual`_.\n\nLicense\n-------\n\nLicense is `MIT`_. See `LICENSE`_.\n\n.. _AUR: https://aur.archlinux.org/packages/pyhn/\n.. _input: http://excess.org/urwid/docs/manual/userinput.html#keyboard-input\n.. _manual: http://excess.org/urwid/docs/manual/displayattributes.html#foreground-and-background-settings\n.. _MIT: http://opensource.org/licenses/MIT\n.. _LICENSE: https://raw.github.com/socketubs/pyhn/master/LICENSE\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/toxinu/pyhn/", "keywords": "python hackernews hn terminal commandline", "license": "The MIT License (MIT)\n\nCopyright (c) 2015 Geoffrey Leh\u00e9e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "maintainer": "", "maintainer_email": "", "name": "pyhn", "package_url": "https://pypi.org/project/pyhn/", "platform": "", "project_url": "https://pypi.org/project/pyhn/", "project_urls": { "Homepage": "https://github.com/toxinu/pyhn/" }, "release_url": "https://pypi.org/project/pyhn/0.3.9/", "requires_dist": null, "requires_python": "", "summary": "Hacker News in your terminal", "version": "0.3.9" }, "last_serial": 2542664, "releases": { "0.3.4": [], "0.3.5": [ { "comment_text": "", "digests": { "md5": "219c9a64d118af10770d4218d7d5af7a", "sha256": "d92a80ace545c581e175b141b04bd14ca1308b8ca8f21553993d7c5b8daa7d05" }, "downloads": -1, "filename": "pyhn-0.3.5.tar.gz", "has_sig": false, "md5_digest": "219c9a64d118af10770d4218d7d5af7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 491549, "upload_time": "2016-07-27T12:10:20", "url": "https://files.pythonhosted.org/packages/be/4e/f996250fd738e7879cdde96e02793bbcec84826791bbb20929da060332db/pyhn-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "f03d3b9bced1ee1f9e7aa5768f8d2626", "sha256": "df2139ef7b735a4d343bdd9f499646061adcedae1a0d9adb1cb70413aba14cf8" }, "downloads": -1, "filename": "pyhn-0.3.6.tar.gz", "has_sig": false, "md5_digest": "f03d3b9bced1ee1f9e7aa5768f8d2626", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17143, "upload_time": "2016-08-05T10:25:22", "url": "https://files.pythonhosted.org/packages/65/31/cc97afc020c40f400e9ca588d5b6fd91e1d33c55b02cbce374785f21c574/pyhn-0.3.6.tar.gz" } ], "0.3.7": [ { "comment_text": "", "digests": { "md5": "203b9fcebb94a280af05cee6a305edfb", "sha256": "143ba9138118fbb2df66568b92fcdb8babf957dc233c88d8346c21fe028df7df" }, "downloads": -1, "filename": "pyhn-0.3.7.tar.gz", "has_sig": false, "md5_digest": "203b9fcebb94a280af05cee6a305edfb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17134, "upload_time": "2016-08-08T08:23:07", "url": "https://files.pythonhosted.org/packages/2e/31/3bdb892e7ecc737901876a6b374c467a91585b67db08b4f28e37bd244873/pyhn-0.3.7.tar.gz" } ], "0.3.8": [ { "comment_text": "", "digests": { "md5": "78fd4b980fce8c3cbdc2e08a7484587c", "sha256": "590c85445c40f03ed0fb79f3120f1b111abf18604e228a6c4804a55cb3e4470c" }, "downloads": -1, "filename": "pyhn-0.3.8.tar.gz", "has_sig": false, "md5_digest": "78fd4b980fce8c3cbdc2e08a7484587c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17255, "upload_time": "2016-08-17T09:48:45", "url": "https://files.pythonhosted.org/packages/c4/9f/afebee4206e7b5c50b987f4c1704ebabc2d70a5291fda46dd393da1f185d/pyhn-0.3.8.tar.gz" } ], "0.3.9": [ { "comment_text": "", "digests": { "md5": "8c6cdfceb01cba00081e80c219b97e9c", "sha256": "4e75a2b764aa488c65f0181369c3f21ef2965c7c09f88eb856c08e511e646bf4" }, "downloads": -1, "filename": "pyhn-0.3.9-py2-none-any.whl", "has_sig": false, "md5_digest": "8c6cdfceb01cba00081e80c219b97e9c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 18693, "upload_time": "2016-12-28T15:22:25", "url": "https://files.pythonhosted.org/packages/20/62/5c304b32b5598f4a84e3ee32ec9db70fe6569489c32af89cbb804e3a60a7/pyhn-0.3.9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da9fb539dad99cd67e14972671049ae9", "sha256": "76d41167b59146014a71699548ab34c3b71672425c72bc751a937431c4aa3c18" }, "downloads": -1, "filename": "pyhn-0.3.9-py3-none-any.whl", "has_sig": false, "md5_digest": "da9fb539dad99cd67e14972671049ae9", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 18693, "upload_time": "2016-12-28T15:21:14", "url": "https://files.pythonhosted.org/packages/24/97/439846b53be79118b780d538a837cbded1afc308d35f4555dd2776dfbcce/pyhn-0.3.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "79302eb4e8fc2236b49e0a0a303b5664", "sha256": "201ae7f015250349444562417da1a927ecc86f1920b50b9f7f10f8e4c40ccdc6" }, "downloads": -1, "filename": "pyhn-0.3.9.tar.gz", "has_sig": false, "md5_digest": "79302eb4e8fc2236b49e0a0a303b5664", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15126, "upload_time": "2016-12-28T15:21:12", "url": "https://files.pythonhosted.org/packages/06/45/1f5603af969ff8190adb59a855e263b203efe60352393632047f5d0aba79/pyhn-0.3.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8c6cdfceb01cba00081e80c219b97e9c", "sha256": "4e75a2b764aa488c65f0181369c3f21ef2965c7c09f88eb856c08e511e646bf4" }, "downloads": -1, "filename": "pyhn-0.3.9-py2-none-any.whl", "has_sig": false, "md5_digest": "8c6cdfceb01cba00081e80c219b97e9c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 18693, "upload_time": "2016-12-28T15:22:25", "url": "https://files.pythonhosted.org/packages/20/62/5c304b32b5598f4a84e3ee32ec9db70fe6569489c32af89cbb804e3a60a7/pyhn-0.3.9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da9fb539dad99cd67e14972671049ae9", "sha256": "76d41167b59146014a71699548ab34c3b71672425c72bc751a937431c4aa3c18" }, "downloads": -1, "filename": "pyhn-0.3.9-py3-none-any.whl", "has_sig": false, "md5_digest": "da9fb539dad99cd67e14972671049ae9", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 18693, "upload_time": "2016-12-28T15:21:14", "url": "https://files.pythonhosted.org/packages/24/97/439846b53be79118b780d538a837cbded1afc308d35f4555dd2776dfbcce/pyhn-0.3.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "79302eb4e8fc2236b49e0a0a303b5664", "sha256": "201ae7f015250349444562417da1a927ecc86f1920b50b9f7f10f8e4c40ccdc6" }, "downloads": -1, "filename": "pyhn-0.3.9.tar.gz", "has_sig": false, "md5_digest": "79302eb4e8fc2236b49e0a0a303b5664", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15126, "upload_time": "2016-12-28T15:21:12", "url": "https://files.pythonhosted.org/packages/06/45/1f5603af969ff8190adb59a855e263b203efe60352393632047f5d0aba79/pyhn-0.3.9.tar.gz" } ] }