{ "info": { "author": "jupiny", "author_email": "tmdghks584@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Testing" ], "description": "Ndic\n====\n\n|Build Status| |Coverage Status| |Pypi Version| |Downloads Per Month| |License MIT|\n\nPython package for NAVER English-Korean and Korean-English dictionaries\n\nIntroduction\n------------\n\nSearch of both English-Korean and Korean-English dictionaries is\nprovided.\n\nRequirements\n------------\n\nNdic works by crawling the web http://endic.naver.com/. To crawl, it\nuses `Requests`_ and `BeautifulSoup`_.\n\nTherefore, you should use it in **Internet Environments**.\n\nNdic supports Python 2.7 & 3.4\u20133.7 because `Requests officially\nsupports these versions.`_\n\nInstallation\n------------\n\nInstall via pip:\n\n.. code-block:: bash\n\n $ pip install ndic\n\nUsage\n-----\n\nThe usage is very simple.\n\nBegin by importing the Ndic module:\n\n.. code-block:: python\n\n >>> import ndic\n\nEntering an English word as the ``search`` function argument will return the\ncorresponding Korean word(s).\n\n.. code-block:: python\n\n >>> ndic.search('apple')\n '\uc0ac\uacfc'\n\nConversely, entering a Korean word as the ``search`` function argument will return\nthe corresponding English word(s).\n\n.. code-block:: python\n\n >>> ndic.search('\uc548\ub155\ud558\uc138\uc694')\n 'Hi!'\n\nIf the word you search has multiple meanings, you can choose the meaning of the desired order.\n\nUnless you set any ``xth`` value, you will get the first meaning of the word.\n\n.. code-block:: python\n\n >>> ndic.search('\ub9d0', 1) # 1st meaning\n '(\uc5b8\uc5b4) word, language, speech, (literary) tongue'\n >>> ndic.search('\ub9d0', 2) # 2nd meaning\n '(\ub3d9\ubb3c) horse'\n\nPhrases may also be searched.\n\n.. code-block:: python\n\n >>> ndic.search('in order to')\n '(\ubaa9\uc801) \uc704\ud558\uc5ec'\n\nEntering a nonexistent word as the ``search`` function argument will return the\nempty string.\n\n.. code-block:: python\n\n >>> ndic.search(\"aslkjfwe\")\n ''\n >>> ndic.search(\"\uc544\ub31c\ub9ac\uc57c\")\n ''\n\nIf your network connection is lost, you will get below error message.\n\n.. code-block:: python\n\n >>> ndic.search('...')\n NdicConnectionError: Network connection is lost. Please check the connection to the Internet.\n\nCommand Line Interface\n----------------------\n\nFurthermore, Ndic supports CLI(Command Line System).\n\nSo you can use it\nin command line and get the return value of the ``search`` fuction in terminals. It works\nby `Click`_.\n\n.. code-block:: bash\n\n $ ndic love\n (\ud2b9\ud788 \uac00\uc871\u30fb\uce5c\uad6c\uc5d0 \ub300\ud55c) \uc0ac\ub791\n $ ndic get --xth 2 # or -x 2\n \uc5bb\ub2e4, \uc785\uc218\ud558\ub2e4; \uac00\uc9c0\ub2e4(obtain)\n\n.. _Requests: http://docs.python-requests.org/en/master/\n.. _BeautifulSoup: https://www.crummy.com/software/BeautifulSoup/bs4/doc/\n.. _Requests officially supports these versions.: https://github.com/kennethreitz/requests#feature-support\n.. _Click: http://click.pocoo.org/5/\n\n.. |Build Status| image:: https://travis-ci.org/jupiny/ndic.svg?branch=master\n :target: https://travis-ci.org/jupiny/ndic\n.. |Coverage Status| image:: https://coveralls.io/repos/github/jupiny/ndic/badge.svg?branch=master\n :target: https://coveralls.io/github/jupiny/ndic?branch=master\n.. |Pypi Version| image:: https://img.shields.io/pypi/v/ndic.svg\n :target: https://pypi.python.org/pypi/ndic\n.. |Downloads Per Month| image:: https://img.shields.io/pypi/dm/ndic.svg\n :target: https://pypi.python.org/pypi/ndic\n.. |License MIT| image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://raw.githubusercontent.com/jupiny/ndic/master/LICENSE", "description_content_type": "", "docs_url": null, "download_url": "https://pypi.python.org/pypi/ndic", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jupiny/ndic", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ndic", "package_url": "https://pypi.org/project/ndic/", "platform": "Posix; MacOS X; Windows", "project_url": "https://pypi.org/project/ndic/", "project_urls": { "Download": "https://pypi.python.org/pypi/ndic", "Homepage": "https://github.com/jupiny/ndic" }, "release_url": "https://pypi.org/project/ndic/1.9/", "requires_dist": null, "requires_python": "", "summary": "Python module for NAVER English-Korean and Korean-English dictionaries", "version": "1.9" }, "last_serial": 4149788, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "2c58aff635fd06e70ba61defa05501cc", "sha256": "25a9d9523b70f8d1c4524fc8cb2dea77aaaa42e0e8b274bbad09019b442d543a" }, "downloads": -1, "filename": "ndic-0.2.tar.gz", "has_sig": false, "md5_digest": "2c58aff635fd06e70ba61defa05501cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1158, "upload_time": "2016-08-04T06:00:31", "url": "https://files.pythonhosted.org/packages/5c/49/578c5b424d4420ea068e3bce0671ca378f1886732f0f744ca6373861efe5/ndic-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f5a83a8cf50d31264c617065f98bac50", "sha256": "c37bde4b08d5a9b896b355cf13ecf1d63013dc79060d2dbc888b31da4ff8a401" }, "downloads": -1, "filename": "ndic-0.3.tar.gz", "has_sig": false, "md5_digest": "f5a83a8cf50d31264c617065f98bac50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1222, "upload_time": "2016-08-04T06:14:14", "url": "https://files.pythonhosted.org/packages/87/34/d25d922ca40b06bbc6922d67bb79977881f0d7f4f6d99e925ef9789c2cab/ndic-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "2d7bb14535ceb09e5b97806276cb5868", "sha256": "a1780761409614501c05cde6111db708cc1d3b23e128f8ca904260ce141a6db8" }, "downloads": -1, "filename": "ndic-0.4.tar.gz", "has_sig": false, "md5_digest": "2d7bb14535ceb09e5b97806276cb5868", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1344, "upload_time": "2016-08-04T08:46:42", "url": "https://files.pythonhosted.org/packages/91/03/012919ffaf972f36fa642b50b4131e4bf2ddb783aebf069e3f6e431dea20/ndic-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "d94eb7a76b7ded5ca35ccddece99d850", "sha256": "12498bdfe19cbfb90cb85f3648db27dbdf86654fab5810b5e12c6bc6f846ce1b" }, "downloads": -1, "filename": "ndic-0.5.tar.gz", "has_sig": false, "md5_digest": "d94eb7a76b7ded5ca35ccddece99d850", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1495, "upload_time": "2016-08-04T10:30:54", "url": "https://files.pythonhosted.org/packages/8e/e2/629e57d2af6aff032d2b7d360a63d699aa3fdd70d722475a471953d90865/ndic-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "66f9f8dc788b73b73b73cd54d61d40c6", "sha256": "2801ec3b6b7f9fa7ea430a189a3fc6978b717b42252dbceddc1bffc10c9fc334" }, "downloads": -1, "filename": "ndic-0.6.tar.gz", "has_sig": false, "md5_digest": "66f9f8dc788b73b73b73cd54d61d40c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1503, "upload_time": "2016-08-04T10:47:35", "url": "https://files.pythonhosted.org/packages/e4/30/834b755d815de7cbbc9617a6fbc3d10554d69bbb4f0d9afaad05616c7746/ndic-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "ae63ad757e39d5f12f5230042cd612a0", "sha256": "3be1fd3d0f4a5d6fcff2aab6e806d5dbf1e77e44d4465bff36df465991cc4ab9" }, "downloads": -1, "filename": "ndic-0.7-py3.5.egg", "has_sig": false, "md5_digest": "ae63ad757e39d5f12f5230042cd612a0", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 3127, "upload_time": "2018-08-08T16:28:31", "url": "https://files.pythonhosted.org/packages/c0/96/ac48a3059ed1d24d108e93b3295024c02d25eaf96f859e9caee589a35f6d/ndic-0.7-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "be7a6cadbfd050b45ce9ff8a5ec6cef2", "sha256": "3c59ef3135c854b5553c8f1c1761e2cae854a1ecbba222ae168d6ac71c6b5093" }, "downloads": -1, "filename": "ndic-0.7.tar.gz", "has_sig": false, "md5_digest": "be7a6cadbfd050b45ce9ff8a5ec6cef2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1531, "upload_time": "2016-08-05T06:50:31", "url": "https://files.pythonhosted.org/packages/5c/8c/b51c2583daf7e5f5daf0936633f3d0167044871d7953b15df7a85523bae3/ndic-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "a814fc8b4d1cd5d4d09392870302d21f", "sha256": "88cb9834354e47409e1da31b6b8ce89c023b8499a45534825add4a37b271c456" }, "downloads": -1, "filename": "ndic-0.8-py3.5.egg", "has_sig": false, "md5_digest": "a814fc8b4d1cd5d4d09392870302d21f", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 3127, "upload_time": "2018-08-08T16:43:21", "url": "https://files.pythonhosted.org/packages/58/e8/cd858f106a81c1dbd3fed99062640daba6f2c6ce085a2d553b682c8fe4a2/ndic-0.8-py3.5.egg" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "ff090b480c7898979d6700bb3e85fe98", "sha256": "636d37dae0a2cef93b285a2ed52ef1ca514ff15d5cc96380de2ddaa5d84380bd" }, "downloads": -1, "filename": "ndic-0.9.tar.gz", "has_sig": false, "md5_digest": "ff090b480c7898979d6700bb3e85fe98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2012, "upload_time": "2016-08-06T09:21:17", "url": "https://files.pythonhosted.org/packages/ee/59/329b22d5f109fc34c5baaa5df9af5280d76bc267eeb000da01a747e46a17/ndic-0.9.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "711b0c9f8c30fb82ee95957c47cf799e", "sha256": "b6768e42bcef1a550030426c1ce038583a171b7f25c8b567f4a59da03372a592" }, "downloads": -1, "filename": "ndic-1.0.tar.gz", "has_sig": false, "md5_digest": "711b0c9f8c30fb82ee95957c47cf799e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2420, "upload_time": "2016-08-10T14:56:18", "url": "https://files.pythonhosted.org/packages/f1/d3/f6220abe41900ffe990611c5426679ba7e36548ca19f3ec67a5cb73df7c1/ndic-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "03b478cba0e6ebc9596c6d59038a0020", "sha256": "d3b5d759ba21db44fc536c65d7e808abea6931c4f6d0f1a0c25ed3c722e28145" }, "downloads": -1, "filename": "ndic-1.1.tar.gz", "has_sig": false, "md5_digest": "03b478cba0e6ebc9596c6d59038a0020", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4661, "upload_time": "2016-09-01T12:01:57", "url": "https://files.pythonhosted.org/packages/9b/ae/09ec368eb286e2b13882aeaf0170d4ed6b19313f7e3f39abf2ff573b84ed/ndic-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "b7c69cbcf0ec4de6d0d10f07202506b1", "sha256": "bd06458c452ea72b29b1c0272acf58fae96eb71ed74bb86daecddaa6dcb7cda2" }, "downloads": -1, "filename": "ndic-1.2.tar.gz", "has_sig": false, "md5_digest": "b7c69cbcf0ec4de6d0d10f07202506b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5044, "upload_time": "2016-09-02T03:29:21", "url": "https://files.pythonhosted.org/packages/ec/55/c64fd730f7b87521e2e011fb5463e2c3b0fc9f8a43a3d9140020a496bd9f/ndic-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "33503b7103c2c20bde73ee233ad16545", "sha256": "fd1e7d95e8190f42866e28d711e1264780d3af65c401b52590a33e7777257221" }, "downloads": -1, "filename": "ndic-1.3.tar.gz", "has_sig": false, "md5_digest": "33503b7103c2c20bde73ee233ad16545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5461, "upload_time": "2016-09-07T08:43:38", "url": "https://files.pythonhosted.org/packages/c5/6e/3bff61a87ca96c453caaf2dcaca26b8dac099a6bcafa0e61c8974187589b/ndic-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "faf12470c73d751cc0de4bd7cf5f497b", "sha256": "82c5b9b333de2ea466cb54e9e8a0d8982afe455a44757f5ff3f9ab1798720c17" }, "downloads": -1, "filename": "ndic-1.4.tar.gz", "has_sig": false, "md5_digest": "faf12470c73d751cc0de4bd7cf5f497b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5464, "upload_time": "2016-09-08T13:28:17", "url": "https://files.pythonhosted.org/packages/87/1e/7921ffcb91ee6dd729f8e26b98f835bbf2f47cd98727b75fdeba710baea7/ndic-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "c01f78a570b36a19169e76b035d1e714", "sha256": "0709b78bcfa27f6aea5a5d7fea023a9b0de6a295ba67a3ae76ab5da36dee3511" }, "downloads": -1, "filename": "ndic-1.5.tar.gz", "has_sig": false, "md5_digest": "c01f78a570b36a19169e76b035d1e714", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5594, "upload_time": "2016-09-08T14:45:24", "url": "https://files.pythonhosted.org/packages/64/4b/2aef793d82c714b47f6916b8181164c3ea248906c28fc217b97eebcbdfa7/ndic-1.5.tar.gz" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "3a8e42d36dbaef965bd4da4ac1e8e6d0", "sha256": "dbea74441295e34d08f10357411282776247ce23ad172388460fd862d3376318" }, "downloads": -1, "filename": "ndic-1.6.tar.gz", "has_sig": false, "md5_digest": "3a8e42d36dbaef965bd4da4ac1e8e6d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5597, "upload_time": "2016-09-08T15:57:18", "url": "https://files.pythonhosted.org/packages/59/b7/b3ebc5d946e6b52dc94faf396e574829863a454bbe7049c91bfed1bbd9c5/ndic-1.6.tar.gz" } ], "1.7": [ { "comment_text": "", "digests": { "md5": "8201cc09f9148d7f260e1ba71dd9690f", "sha256": "088c36b0bc1779f8abda8007add940b4ada4716f7d795b7530267ab6c27924a1" }, "downloads": -1, "filename": "ndic-1.7.tar.gz", "has_sig": false, "md5_digest": "8201cc09f9148d7f260e1ba71dd9690f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5713, "upload_time": "2016-09-10T05:20:28", "url": "https://files.pythonhosted.org/packages/0f/3a/437dcfb33b52a6e58a724562217db8cef56a766d3e347eb612846a40e24e/ndic-1.7.tar.gz" } ], "1.8": [ { "comment_text": "", "digests": { "md5": "980fbd083ad155151c6e6e7230f5ba88", "sha256": "0de09d10fc0b99e7214a4d3749da1180f7e8acbc25a217f5076dba1557092f10" }, "downloads": -1, "filename": "ndic-1.8.tar.gz", "has_sig": false, "md5_digest": "980fbd083ad155151c6e6e7230f5ba88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5743, "upload_time": "2016-09-10T09:01:41", "url": "https://files.pythonhosted.org/packages/c3/d4/d51e74fb5d45eb664290ab1f8aced3141c81011a39be9ebff5eebed09e59/ndic-1.8.tar.gz" } ], "1.9": [ { "comment_text": "", "digests": { "md5": "34869a34645a49b967a7d7c5607d057b", "sha256": "1c6a42e86512099273ba647f3f5977eb9b6906184e8dbf4b55a6b29b0f2bd4c9" }, "downloads": -1, "filename": "ndic-1.9.tar.gz", "has_sig": false, "md5_digest": "34869a34645a49b967a7d7c5607d057b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7936, "upload_time": "2018-08-08T16:58:01", "url": "https://files.pythonhosted.org/packages/0d/bf/94329cc335abe02e8d287c23a3bd4c8a40ff3492792f22ffb0b7976e3720/ndic-1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34869a34645a49b967a7d7c5607d057b", "sha256": "1c6a42e86512099273ba647f3f5977eb9b6906184e8dbf4b55a6b29b0f2bd4c9" }, "downloads": -1, "filename": "ndic-1.9.tar.gz", "has_sig": false, "md5_digest": "34869a34645a49b967a7d7c5607d057b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7936, "upload_time": "2018-08-08T16:58:01", "url": "https://files.pythonhosted.org/packages/0d/bf/94329cc335abe02e8d287c23a3bd4c8a40ff3492792f22ffb0b7976e3720/ndic-1.9.tar.gz" } ] }