{ "info": { "author": "Hong Minhee", "author_email": "minhee@dahlia.kr", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU Affero General Public License v3", "Natural Language :: Japanese", "Operating System :: OS Independent", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: Stackless", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Multimedia :: Sound/Audio :: Players" ], "description": "Nico Nico Douga (\u30cb\u30b3\u30cb\u30b3\u52d5\u753b) Comment Translator\n=================================================\n\nInstallation\n------------\n\nYou can install it using ``pip``:\n\n.. code-block:: console\n\n $ pip install niconico-translator\n\n\nAliasing ``msg.nicovideo.jp`` to localhost\n------------------------------------------\n\nTo make the translator to intercept comments from Nico Nico comment server,\nyou have to alias Nico Nico comment server domains (``msg.nicovideo.jp``,\n``nmsg.nicovideo.jp``) to your localhost (``127.0.0.1``).\nOpen your `hosts file`__ using text editor\n(you probably need administrator permission), and then add the following line:\n\n.. code-block:: text\n\n 127.0.0.1 msg.nicovideo.jp nmsg.nicovideo.jp\n\n__ http://en.wikipedia.org/wiki/Hosts_%28file%29\n\n\nProxy server\n------------\n\nThe translator behaves as a proxy server, so it has to be running while\nyou watch Nico Nico videos. You can invoke the proxy server using CLI\n(you probably need administrator permission to listen 80 port):\n\n.. code-block:: console\n\n $ niconico-translator\n\nYou can terminate the server by pressing Ctrl-C.\n\nIt can optionally take the target language which is a two-letter\ne.g. ``en``, ``ko``:\n\n.. code-block:: console\n\n $ niconico-translator --language ko\n\n\nAdvanced use\n------------\n\nIf you have a WSGI fetish, you can utilize it as a WSGI application.\nIt's actually an ordinary WSGI application, you can serve it using your\nfavorite WSGI server e.g. Gunicorn_:\n\n.. code-block:: console\n\n $ gunicorn \"niconico_translator:App('en')\"\n\nEvery instance of ``niconico_translator.App`` implements ``__call__()`` method,\nwhich is a WSGI application.\n\n.. _Gunicorn: http://gunicorn.org/\n\n\nOpen source\n-----------\n\nIt's written by `Hong Minhee`__, and distributed under AGPLv3_. You can find\nthe source code from the repository__ (hg):\n\n.. code-block:: console\n\n $ hg clone https://bitbucket.org/dahlia/niconico-translator\n\nPlease report bugs to the `issue tracker`__ if you find. Pull requests welcome!\n\n__ http://hongminhee.org/\n.. _AGPLv3: http://www.gnu.org/licenses/agpl-3.0.html\n__ https://bitbucket.org/dahlia/niconico-translator\n__ https://bitbucket.org/dahlia/niconico-translator/issues", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/dahlia/niconico-translator/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/dahlia/niconico-translator", "keywords": null, "license": "AGPLv3", "maintainer": null, "maintainer_email": null, "name": "niconico-translator", "package_url": "https://pypi.org/project/niconico-translator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/niconico-translator/", "project_urls": { "Download": "https://bitbucket.org/dahlia/niconico-translator/downloads", "Homepage": "https://bitbucket.org/dahlia/niconico-translator" }, "release_url": "https://pypi.org/project/niconico-translator/0.1.5/", "requires_dist": null, "requires_python": null, "summary": "Translating comments on Nico Nico Douga (\u30cb\u30b3\u30cb\u30b3\u52d5\u753b).", "version": "0.1.5" }, "last_serial": 1729565, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1ddef3889e2f3495213bd1967c313ad6", "sha256": "9ba670fbb90c12f0a9d6f9171f815d1d3bf75f8fb2f616e91f2d852261a363b3" }, "downloads": -1, "filename": "niconico-translator-0.1.0.tar.gz", "has_sig": true, "md5_digest": "1ddef3889e2f3495213bd1967c313ad6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4465, "upload_time": "2013-09-07T19:53:30", "url": "https://files.pythonhosted.org/packages/f2/0a/453613549e944e82bac14976a61abfc3ddc328f66101367256175a43456f/niconico-translator-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6915d7a7db893314309ac7dbd5f69145", "sha256": "45386bc32456e1ddd566ed84dc3fd36a2ed776e3ccf7d290de16a1de2e1fd52c" }, "downloads": -1, "filename": "niconico-translator-0.1.1.tar.gz", "has_sig": true, "md5_digest": "6915d7a7db893314309ac7dbd5f69145", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4466, "upload_time": "2013-09-07T22:00:47", "url": "https://files.pythonhosted.org/packages/b1/c7/5d6debd408f3f3b773129ba38fd0fa3aaaf5888313c7c22bc91b6c4798f8/niconico-translator-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f37bd4033d4f05eb6742dd9af549a034", "sha256": "8b6722c44d3d0b35c90cee01ec65be187c95fedbbe3b6813893b6f65ce1e21af" }, "downloads": -1, "filename": "niconico-translator-0.1.2.tar.gz", "has_sig": true, "md5_digest": "f37bd4033d4f05eb6742dd9af549a034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4171, "upload_time": "2013-09-17T23:14:24", "url": "https://files.pythonhosted.org/packages/d3/b0/21f78e1dcd2a41d0c296cdc0edc8b827198735eb87b7eb5f56324ff46e1d/niconico-translator-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "6a14c67e9f133a55ba1122eef7609680", "sha256": "24e4dc13310ae1eefb9741dc70346fb23947494617e49417f3600748a6f366c0" }, "downloads": -1, "filename": "niconico-translator-0.1.3.tar.gz", "has_sig": true, "md5_digest": "6a14c67e9f133a55ba1122eef7609680", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4640, "upload_time": "2014-03-07T18:09:41", "url": "https://files.pythonhosted.org/packages/1e/1a/f9088b9d8545d08f4d7a23e06a8f5e8ca3a3975596a992d2511762f1dd26/niconico-translator-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6b5d031fcbcf102ffe1f2eb5f159920d", "sha256": "483b6608efb87a5825c73b0272970635354ab60388cf0b852c956a86cd7015e1" }, "downloads": -1, "filename": "niconico_translator-0.1.4-py3-none-any.whl", "has_sig": true, "md5_digest": "6b5d031fcbcf102ffe1f2eb5f159920d", "packagetype": "bdist_wheel", "python_version": "3.2", "requires_python": null, "size": 7075, "upload_time": "2014-05-04T19:15:01", "url": "https://files.pythonhosted.org/packages/58/50/c285a34feeab0717599056d22a8678f0bedd225f83e6a95958b8f404281d/niconico_translator-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c9824e269170b4adce58ef521f481376", "sha256": "21a2a61a6e81dab01be3e52cca8e5a178441c015f087c66733fec175d8af0daa" }, "downloads": -1, "filename": "niconico-translator-0.1.4.tar.gz", "has_sig": true, "md5_digest": "c9824e269170b4adce58ef521f481376", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4649, "upload_time": "2014-05-04T19:14:59", "url": "https://files.pythonhosted.org/packages/e2/6f/7ee196ba72a22deeebe00f114fdb9a9b1deb1add76a3cdc83d49853cc5fe/niconico-translator-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "aab8ce837193187a1e729357ae74df90", "sha256": "4b3dd1a0aeec81e78ea2246b2dfc09e9993d06cb60ac2c6e57e533b41fcec494" }, "downloads": -1, "filename": "niconico_translator-0.1.5-py3-none-any.whl", "has_sig": true, "md5_digest": "aab8ce837193187a1e729357ae74df90", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7193, "upload_time": "2015-09-19T14:23:17", "url": "https://files.pythonhosted.org/packages/c4/3b/1e0f774ea22681d66a5f0e6305b8dc113f24d3967f0a6cb4b25d75b86d30/niconico_translator-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "37925a1b5f05b4ff872e565704df92a3", "sha256": "f398131d6e79876e4c1d72118d82d9c6499e4e54fb0144ec85a0ecea653e5901" }, "downloads": -1, "filename": "niconico-translator-0.1.5.tar.gz", "has_sig": true, "md5_digest": "37925a1b5f05b4ff872e565704df92a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4736, "upload_time": "2015-09-19T14:23:11", "url": "https://files.pythonhosted.org/packages/23/a6/25fc2d6f5eeeb55d94d9f021ce8c9e5e581d0a6a48b630385b6537d47862/niconico-translator-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aab8ce837193187a1e729357ae74df90", "sha256": "4b3dd1a0aeec81e78ea2246b2dfc09e9993d06cb60ac2c6e57e533b41fcec494" }, "downloads": -1, "filename": "niconico_translator-0.1.5-py3-none-any.whl", "has_sig": true, "md5_digest": "aab8ce837193187a1e729357ae74df90", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7193, "upload_time": "2015-09-19T14:23:17", "url": "https://files.pythonhosted.org/packages/c4/3b/1e0f774ea22681d66a5f0e6305b8dc113f24d3967f0a6cb4b25d75b86d30/niconico_translator-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "37925a1b5f05b4ff872e565704df92a3", "sha256": "f398131d6e79876e4c1d72118d82d9c6499e4e54fb0144ec85a0ecea653e5901" }, "downloads": -1, "filename": "niconico-translator-0.1.5.tar.gz", "has_sig": true, "md5_digest": "37925a1b5f05b4ff872e565704df92a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4736, "upload_time": "2015-09-19T14:23:11", "url": "https://files.pythonhosted.org/packages/23/a6/25fc2d6f5eeeb55d94d9f021ce8c9e5e581d0a6a48b630385b6537d47862/niconico-translator-0.1.5.tar.gz" } ] }