{ "info": { "author": "Guthrie McAfee Armstrong", "author_email": "guthrie.armstrong@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "[![Build Status](https://travis-ci.org/gmarmstrong/python-datamuse.svg?branch=master)](https://travis-ci.org/gmarmstrong/python-datamuse)\n\n# python-datamuse\n\nPython wrapper and scripts for the [Datamuse API](http://datamuse.com/api/).\nAvailable on PyPI at . You can\ninstall this library with `pip3 install python-datamuse`.\n\n## Changelog\n\n### Version 1.3.0\n\n- Add optional arguments to `suggest` method\n\n### Version 1.2.1\n\n- Fix README formatting on PyPI\n\n### Version 1.2.0\n\n- Raise Python version to 3.6\n- Mock the Datamuse API for tests\n- Restructure project files\n- Set README as PyPI long description\n\n### Version 1.1.0\n\n- Changed to Python 3\n- Uploaded to PyPI, added instructions for PyPI installation\n- Changed README example to reflect PyPI packaging\n- Set up Travis CI\n- Temporarily removed pandas\n- Changed mode of scripts to executable\n\n## Example\n\n```python\n>>> from datamuse import datamuse\n>>> api = datamuse.Datamuse()\n>>> ninth_rhymes = api.words(rel_rhy='ninth', max=5)\n>>> ninth_rhymes\n[]\n>>> orange_rhymes = api.words(rel_rhy='orange', max=5)\n>>> orange_rhymes\n[{'word': 'door hinge', 'score': 74, 'numSyllables': 2}]\n>>> yellow_things = api.words(rel_jja='yellow', max=5)\n>>> yellow_things\n[{'word': 'fever', 'score': 1001}, {'word': 'color', 'score': 1000}, {'word': 'flowers', 'score': 999}, {'word': 'light', 'score': 998}, {'word': 'colour', 'score': 997}]\n>>> foo_complete = api.suggest(s='foo', max=10)\n>>> foo_complete\n[{'word': 'food', 'score': 3888}, {'word': 'foot', 'score': 3041}, {'word': 'fool', 'score': 1836}, {'word': 'football', 'score': 1424}, {'word': 'footage', 'score': 1328}, {'word': 'footprint', 'score': 1082}, {'word': 'foolish', 'score': 967}, {'word': 'foof', 'score': 930}, {'word': 'footing', 'score': 786}, {'word': 'foolproof', 'score': 697}]\n```\n\nNote that the default number of results is set to 100. You can set the default\n`max` to something else using the `set_max_default` method, e.g.\n`api.set_max_default(300)`. Datamuse only returns 1000 results max.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gmarmstrong/python-datamuse", "keywords": "datamuse,linguistics,language,wrapper", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-datamuse", "package_url": "https://pypi.org/project/python-datamuse/", "platform": "", "project_url": "https://pypi.org/project/python-datamuse/", "project_urls": { "Homepage": "https://github.com/gmarmstrong/python-datamuse" }, "release_url": "https://pypi.org/project/python-datamuse/1.3.0/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Python wrapper for the Datamuse API", "version": "1.3.0" }, "last_serial": 5863348, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "dad5097183dc2c3c00b49ffdabff1104", "sha256": "90ed1ecac5fb8a1767e3bab8bc8edc829cb984922f95af24735c3bd94607e0e4" }, "downloads": -1, "filename": "python-datamuse-1.0.0.tar.gz", "has_sig": true, "md5_digest": "dad5097183dc2c3c00b49ffdabff1104", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3747, "upload_time": "2018-02-18T06:06:18", "url": "https://files.pythonhosted.org/packages/82/ff/8226ce5cb2d9cdba6e947de2b01e4c0065d50f484c9f94b9e27e17dcb072/python-datamuse-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c528eb51994d09730b52fb5c30a29607", "sha256": "97efab7450fe96830beb3b36d094b1d2525b48fbaee1f794a3552e46a94304f3" }, "downloads": -1, "filename": "python-datamuse-1.1.0.tar.gz", "has_sig": true, "md5_digest": "c528eb51994d09730b52fb5c30a29607", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3602, "upload_time": "2018-02-18T19:08:34", "url": "https://files.pythonhosted.org/packages/2e/3b/f5a1ef05b8a5a947add1cdffc4f9212b6b80ceaf9c06430e0dba826e8bc4/python-datamuse-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "13e3f06fed09884fe02ceb7e3e2f8c0d", "sha256": "c6b4488d9efeedcb716f66b84b0b36af728960be14bfb7bf4121fef484a7f57e" }, "downloads": -1, "filename": "python_datamuse-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "13e3f06fed09884fe02ceb7e3e2f8c0d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3193, "upload_time": "2018-10-23T18:40:33", "url": "https://files.pythonhosted.org/packages/b7/07/17e42f9ce16ff527084746787ecf44d5fe6b575736ff64d2d28f7f5e1c74/python_datamuse-1.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ff90cb39d3a5746eda312c1dd1c3215", "sha256": "d5ec8ade20b2c1ef38a54969ab8c245acc11c17335798b99aca2dc3a36c12505" }, "downloads": -1, "filename": "python-datamuse-1.2.0.tar.gz", "has_sig": false, "md5_digest": "9ff90cb39d3a5746eda312c1dd1c3215", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3717, "upload_time": "2018-10-23T18:40:35", "url": "https://files.pythonhosted.org/packages/d8/a4/ac04ad97de9f29cb8c88c4fdf8a8d42689241d53cc6ad1390d748edebfa8/python-datamuse-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "ba6a15151d89ea89aedc9b473fb1586c", "sha256": "1f147db9c9df7c0dab099c8daea2972e3de6e64a04f42697aaeefb102a1f9c30" }, "downloads": -1, "filename": "python_datamuse-1.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ba6a15151d89ea89aedc9b473fb1586c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3233, "upload_time": "2018-10-26T19:16:52", "url": "https://files.pythonhosted.org/packages/9d/14/ac88f2adaefd68c92d8df5743a4e7d59f466fa507753a57c8d7fdf146b7c/python_datamuse-1.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9067d2185b3f0fde607be7cd54c525f", "sha256": "06020fae5ef54cf0595c753885d370c3c4c7e18defaa094b842451d9c90f562c" }, "downloads": -1, "filename": "python-datamuse-1.2.1.tar.gz", "has_sig": false, "md5_digest": "b9067d2185b3f0fde607be7cd54c525f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3780, "upload_time": "2018-10-26T19:16:54", "url": "https://files.pythonhosted.org/packages/25/47/9e79fef4826364786d2b3382f2beb7dafbbb68d4ce6e94c0700c816f7f6c/python-datamuse-1.2.1.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "60c9c5d59231ec40fa1185402bd3163c", "sha256": "a171269e4c3298916df403a6a90369de35b1ee164b58dd705c388a942818fbb3" }, "downloads": -1, "filename": "python-datamuse-1.3.0.tar.gz", "has_sig": false, "md5_digest": "60c9c5d59231ec40fa1185402bd3163c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4120, "upload_time": "2019-09-20T17:21:29", "url": "https://files.pythonhosted.org/packages/01/23/7f6db9d7a2cf3348106bd2eaa5cf84f34fc640227c7f64ff0241f756375a/python-datamuse-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60c9c5d59231ec40fa1185402bd3163c", "sha256": "a171269e4c3298916df403a6a90369de35b1ee164b58dd705c388a942818fbb3" }, "downloads": -1, "filename": "python-datamuse-1.3.0.tar.gz", "has_sig": false, "md5_digest": "60c9c5d59231ec40fa1185402bd3163c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4120, "upload_time": "2019-09-20T17:21:29", "url": "https://files.pythonhosted.org/packages/01/23/7f6db9d7a2cf3348106bd2eaa5cf84f34fc640227c7f64ff0241f756375a/python-datamuse-1.3.0.tar.gz" } ] }