{ "info": { "author": "Doug Turnbull", "author_email": "dturnbull@o19s.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# Elyzer\n\nSee step-by-step how Elasticsearch custom analyzers decompose your text into tokens.\n\nMy therapist said this would be a good idea...\n\n
\nDoug:  hi\nEliza: How are you today.. What would you like to discuss?\nDoug:  well I can't really see how my Elasticsearch analyzers work, on the inside\nEliza: How do you know you can't really see how your Elasticsearch analyzers work, on the inside?\nDoug:  cause I call _analyze, and it does the whole analyzer or just one step\nEliza  What other reasons might there be?\nDoug:  I guess nobody's gotten around to making a good debugger\nEliza  I'm not sure I understand you fully.\nDoug   well just keep reading this README then...\nEliza  Come, come, elucidate your thoughts.\n
\n\n# Installation\n\nInstall through pip3\n\n(ES 2.x & 5.x)\n\n pip3 install elyzer\n\n# Usage\n\nGive Elyzer some text and have its analyzed. See the process broken down step-by-step on the command line.\n\nAssuming I'd created an `english_bigrams` custom analyzer for the index tmdb, I would run the analyzer like so\n\n```\n$ elyzer --es \"http://localhost:9200\" --index tmdb --analyzer english_bigrams \"Mary had a little lamb\"\nTOKENIZER: standard\n{1:Mary} {2:had} {3:a} {4:little} {5:lamb} \nTOKEN_FILTER: standard\n{1:Mary} {2:had} {3:a} {4:little} {5:lamb} \nTOKEN_FILTER: lowercase\n{1:mary} {2:had} {3:a} {4:little} {5:lamb} \nTOKEN_FILTER: porter_stem\n{1:mari} {2:had} {3:a} {4:littl} {5:lamb} \nTOKEN_FILTER: bigram_filter\n{1:mari had} {2:had a} {3:a littl} {4:littl lamb} \n```\n\nOutput is each token, prefixed by the numerical position attribute in the token stream at each step.\n\n## Args\n\nThere are four required command line args:\n\n- es: the elasticsearch host (ie http://localhost:9200)\n- index: name of the index where your custom analyzer can be found\n- analyzer: name of your custom analyzer\n- text: the text to analyze\n\n\n# Shortcomings\n\naka \"Areas for Improvement\"\n- Only works for custom analyzers right now (as it accesses the settings for your index)\n- Attributes besides the token text and position would be handy \n\n## Who?\n\nCreated by [OpenSource Connections](http://opensourceconnections.com)\n\n## License\n\nReleased under [Apache 2](LICENSE.txt)\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/o19s/elyzer", "keywords": "elasticsearch", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "elyzer", "package_url": "https://pypi.org/project/elyzer/", "platform": "", "project_url": "https://pypi.org/project/elyzer/", "project_urls": { "Homepage": "https://github.com/o19s/elyzer" }, "release_url": "https://pypi.org/project/elyzer/1.2.2/", "requires_dist": null, "requires_python": "", "summary": "Step-by-Step Debug Elasticsearch Analyzers", "version": "1.2.2" }, "last_serial": 4058364, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f2413d4c45c958e967391ea4aa630e17", "sha256": "1c4355e6df4be4d1f5db0ff4c584f9b0c5454aed5125a23df8788846d010512e" }, "downloads": -1, "filename": "elyzer-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f2413d4c45c958e967391ea4aa630e17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3273, "upload_time": "2015-09-17T02:48:58", "url": "https://files.pythonhosted.org/packages/ed/3a/c9bdc24a02d7ae71f2d528f659a93372a1b7965d162f7893947976794f6c/elyzer-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d8213986c32bcc5b5f4025e43a667c60", "sha256": "41b59c930801ed46c8b97f39e3d9827edaa47e806598a3f63dfd35a4baf79332" }, "downloads": -1, "filename": "elyzer-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d8213986c32bcc5b5f4025e43a667c60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3489, "upload_time": "2015-09-17T02:55:02", "url": "https://files.pythonhosted.org/packages/9c/67/60c09a017ac8cd4b383bcab78760e4b26fca26de79e7a4da9ac6600c0672/elyzer-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b81590cd8eb7486e17237d30be5dc8d4", "sha256": "8513e1372b99fefbd91d0b38e163c1511ec3b8ba393421f7a5f6ea26e9a557d7" }, "downloads": -1, "filename": "elyzer-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b81590cd8eb7486e17237d30be5dc8d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3749, "upload_time": "2016-01-14T18:43:17", "url": "https://files.pythonhosted.org/packages/c6/d5/680ae8b8733e8257165bdb8d0364ba634fe461c04e188ee214477cb97f57/elyzer-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c8149cb52f1ce84ed18a893ad4604269", "sha256": "f2dfb56c05a9e0940b68a461e23a563454213f7ff7eae886ac52d1aef246df58" }, "downloads": -1, "filename": "elyzer-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c8149cb52f1ce84ed18a893ad4604269", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3935, "upload_time": "2016-02-22T03:45:36", "url": "https://files.pythonhosted.org/packages/bf/23/13b913be1f60f5f01f784ebe9db4ae5a828e4597127050c2bbf6074a7d9f/elyzer-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e762d04d33d1250251ff4ffaa2786739", "sha256": "6a6c1538c9fb7da2a983fe30f6321d89805e2add0e2c056cd1a1036f8fc510f3" }, "downloads": -1, "filename": "elyzer-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e762d04d33d1250251ff4ffaa2786739", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3997, "upload_time": "2017-01-17T15:32:19", "url": "https://files.pythonhosted.org/packages/08/9b/f8613272e37967526b85bba6c90ab00a38f11bc56820eba94008b5f0eca5/elyzer-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "e48d38e7a44253a0bceb641397665a51", "sha256": "0d639d4500079c80ad4ea71d7abeed2fe295d2a1ff0262073503fb84d0000edd" }, "downloads": -1, "filename": "elyzer-0.2.2.tar.gz", "has_sig": false, "md5_digest": "e48d38e7a44253a0bceb641397665a51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3997, "upload_time": "2017-01-17T15:53:30", "url": "https://files.pythonhosted.org/packages/e2/bc/da287e6c2ed6503d6fd1afe99fcf5bd14293e98a98e782d9dcd6e2b0032a/elyzer-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "1f43cd5a58eb51fccbe6f2828e15477c", "sha256": "c687584ecf8cec47f463ef382fb4378f14564500faf8f4e2b46454fd35ad92c5" }, "downloads": -1, "filename": "elyzer-0.3.0.tar.gz", "has_sig": false, "md5_digest": "1f43cd5a58eb51fccbe6f2828e15477c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3994, "upload_time": "2017-04-05T01:32:12", "url": "https://files.pythonhosted.org/packages/dc/84/d354a2afba6243a678f90cffc42819a4012c2da790b72a60c57f5c93f64f/elyzer-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "1a4e54274080e6b1074ba45a7aded4b0", "sha256": "2284da06fd5fc52235b912e94b58722750b6aad50c05c912eeb6b5533c695c48" }, "downloads": -1, "filename": "elyzer-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1a4e54274080e6b1074ba45a7aded4b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3989, "upload_time": "2017-04-05T01:35:58", "url": "https://files.pythonhosted.org/packages/6d/f8/8cbcfc003c7ee37e97d3d28ea8e439c90467fb4cf154c27db5807272997f/elyzer-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "9cbfa485ed117bab74fc8417d2d21264", "sha256": "26f6629657f613d07367e65cb40b980ae79c542087352243c8301cb98628737e" }, "downloads": -1, "filename": "elyzer-0.3.2.tar.gz", "has_sig": false, "md5_digest": "9cbfa485ed117bab74fc8417d2d21264", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3994, "upload_time": "2017-04-05T01:50:06", "url": "https://files.pythonhosted.org/packages/a8/9c/67af1e9b25b921751951812ccd1f380b1291e682d00ffd193a0ba910b081/elyzer-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "06d3d2ba187cb9cac02d99c16c28f06a", "sha256": "8b1dbb185e75e6c56bf494a09704261cc552aabb7b92a77c2eb0a2028f449652" }, "downloads": -1, "filename": "elyzer-0.3.3.tar.gz", "has_sig": false, "md5_digest": "06d3d2ba187cb9cac02d99c16c28f06a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4005, "upload_time": "2017-04-05T01:59:12", "url": "https://files.pythonhosted.org/packages/14/7e/b05e3e3a471ad769c775e03d1784937825ff1d394180856992b4104ccbf5/elyzer-0.3.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "094b654617e9d1d05b89bad589063725", "sha256": "9468a8a9c5b597a0a1084f6860c10f4a6387ff334c9db6454851a71b59c7ad51" }, "downloads": -1, "filename": "elyzer-1.0.0.tar.gz", "has_sig": false, "md5_digest": "094b654617e9d1d05b89bad589063725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4385, "upload_time": "2017-04-08T04:14:45", "url": "https://files.pythonhosted.org/packages/d2/bd/e0c86cd159ac6e1f0f6f8ac1653f3b73cd8b9bc31112292eda57a703c929/elyzer-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "58a18289d9dc5e0d92ea24dabf1ccb93", "sha256": "f09ae1605cdd8b008031fd5be62c29da46237a09663ac87e6d97bf2cb1a2380b" }, "downloads": -1, "filename": "elyzer-1.0.1.tar.gz", "has_sig": false, "md5_digest": "58a18289d9dc5e0d92ea24dabf1ccb93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4464, "upload_time": "2017-05-04T17:20:59", "url": "https://files.pythonhosted.org/packages/4c/8b/b8c5276c6f7512f18dad6f64828dc13b420bc1b14f83b125038648daea75/elyzer-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f4c9f1c9c432f9ca5469efd1a9562410", "sha256": "5c1db7dba5f8ea5d9c54b631b4bc14880485ef3cb3002d08467b42e8e9157d44" }, "downloads": -1, "filename": "elyzer-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f4c9f1c9c432f9ca5469efd1a9562410", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4443, "upload_time": "2017-05-04T17:32:25", "url": "https://files.pythonhosted.org/packages/cd/a3/ee673437cd3cda18b891b4b90d46c58fba9474c98b4175964987f7cd9e7c/elyzer-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "01cf85f949229446837fe1e28b4e5561", "sha256": "ba697f7f1f5935dcffafc6521d356485b25c736c2ffea977147b7f2c2c6a9e01" }, "downloads": -1, "filename": "elyzer-1.1.0.tar.gz", "has_sig": false, "md5_digest": "01cf85f949229446837fe1e28b4e5561", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4280, "upload_time": "2017-06-27T19:42:01", "url": "https://files.pythonhosted.org/packages/eb/54/10f15faa07d80af1b7bb378c859b5895278287c1aede9dc4e847a131e213/elyzer-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "735b0b65c0bf5dd035be8706eb4d3115", "sha256": "e5e7838ab9478aecb299c4ff1babdd3267338ffbabea38582107b8938e096d0c" }, "downloads": -1, "filename": "elyzer-1.2.0.tar.gz", "has_sig": false, "md5_digest": "735b0b65c0bf5dd035be8706eb4d3115", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4326, "upload_time": "2017-10-19T22:02:23", "url": "https://files.pythonhosted.org/packages/15/b5/050766eb608305ed57b922f25a9ac205cf922e836ed62d3be0c2318ce435/elyzer-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "32104af21b37a229fee57f91484693d3", "sha256": "14c7127baa569e3dcc511fc87b0f438261f1338c56391d547b2286b002582636" }, "downloads": -1, "filename": "elyzer-1.2.1.tar.gz", "has_sig": false, "md5_digest": "32104af21b37a229fee57f91484693d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4427, "upload_time": "2017-12-04T01:47:25", "url": "https://files.pythonhosted.org/packages/10/bc/98ebd2bde3d2de4b9f316db97ea99a97bf0fe32c2785fb16151952fc0aec/elyzer-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "3a4ffcf89c75503ef92ccf0cc8667c3c", "sha256": "05409b8167ac3b54efe7b19536b72c5eee785005a44e5cf2f23ba6cf9e4f4a12" }, "downloads": -1, "filename": "elyzer-1.2.2.tar.gz", "has_sig": false, "md5_digest": "3a4ffcf89c75503ef92ccf0cc8667c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4467, "upload_time": "2018-07-13T15:35:00", "url": "https://files.pythonhosted.org/packages/92/65/d0235397337c179b85a18d0b23e58fec5b0bc96c0005d8fd92ac4c6068a1/elyzer-1.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a4ffcf89c75503ef92ccf0cc8667c3c", "sha256": "05409b8167ac3b54efe7b19536b72c5eee785005a44e5cf2f23ba6cf9e4f4a12" }, "downloads": -1, "filename": "elyzer-1.2.2.tar.gz", "has_sig": false, "md5_digest": "3a4ffcf89c75503ef92ccf0cc8667c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4467, "upload_time": "2018-07-13T15:35:00", "url": "https://files.pythonhosted.org/packages/92/65/d0235397337c179b85a18d0b23e58fec5b0bc96c0005d8fd92ac4c6068a1/elyzer-1.2.2.tar.gz" } ] }