{ "info": { "author": "Nick Coghlan", "author_email": "ncoghlan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython" ], "description": "JSL -> ElasticSearch\n====================\n\n``jsl_elasticsearch`` generates ElasticSearch mappings from JSL definitions.\n\nIt requires Python 3.4 or later (mainly for ``functools.singledispatch``).\n\nIt is specifically aimed at use cases where ElasticSearch is being used as a\ntime series database for JSON data with schemas defined using the\n`jsl `__ Python library.\n\nThe main API is ``jsl_elasticsearch.render_es_template``::\n\n def render_es_template(document, title, role, doc_type=\"content\"):\n \"\"\"Render an ElasticSearch time series template for given JSL document\n\n Template name is generated from the given *title* and *role*\n Document variables are resolved using the given *role*\n *doc_type* specifies the ElasticSearch mapping name (default: \"content\")\n \"\"\"\n\nThe ``@timestamp`` field expected by Kibana is added automatically, and\nstring fields are flagged as ``not_analyzed`` by default (so ElasticSearch\ntreats them as opaque tokens, rather than as plain text fields to be\nanalyzed for full text search)\n\nThe following JSL field types are currently supported:\n\n* ``jsl.StringField``\n* ``jsl.NumberField``\n* ``jsl.IntField``\n* ``jsl.ArrayField``\n* ``jsl.DictField``\n* ``jsl.DocumentField``\n\nAn additional field type is also defined:\n\n* ``jsl_elasticsearch.TextField``\n\nWith string fields being flagged as opaque tokens by default, ``TextField``\nis a new ``StringField`` subclass that flags the field for full text search\nin the ElasticSearch mapping, but is otherwise handled exactly like\n``StringField`` by JSL.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ncoghlan/jsl_elasticsearch", "keywords": "jsl,elasticsearch", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "jsl-elasticsearch", "package_url": "https://pypi.org/project/jsl-elasticsearch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jsl-elasticsearch/", "project_urls": { "Homepage": "https://github.com/ncoghlan/jsl_elasticsearch" }, "release_url": "https://pypi.org/project/jsl-elasticsearch/0.1.dev0/", "requires_dist": null, "requires_python": null, "summary": "Generate ElasticSearch templates from JSL", "version": "0.1.dev0" }, "last_serial": 2370665, "releases": { "0.1.dev0": [ { "comment_text": "", "digests": { "md5": "7c48d09998db7cf4f033de1afb0e0a09", "sha256": "717ce3a04c4b489a2c2000c2361ddff66da093e01d18c76c476cb9b564723b15" }, "downloads": -1, "filename": "jsl_elasticsearch-0.1.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "7c48d09998db7cf4f033de1afb0e0a09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6173, "upload_time": "2016-09-29T09:29:27", "url": "https://files.pythonhosted.org/packages/90/b0/a1558f80716e5cf12ad951ffb0c23ddc032e312cb4ff75241ecbd6263659/jsl_elasticsearch-0.1.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c157dd31035b34e208c4e53e39eb575c", "sha256": "af4273c3c584710ab07428020d32bfdf9053e2e09a3bf50c3a924a5fc49a12ae" }, "downloads": -1, "filename": "jsl-elasticsearch-0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "c157dd31035b34e208c4e53e39eb575c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5765, "upload_time": "2016-09-29T09:29:29", "url": "https://files.pythonhosted.org/packages/e9/81/5e8007538718881fd78627c5ec6fd9d411b67397ccc5b689eaf9595f1806/jsl-elasticsearch-0.1.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c48d09998db7cf4f033de1afb0e0a09", "sha256": "717ce3a04c4b489a2c2000c2361ddff66da093e01d18c76c476cb9b564723b15" }, "downloads": -1, "filename": "jsl_elasticsearch-0.1.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "7c48d09998db7cf4f033de1afb0e0a09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6173, "upload_time": "2016-09-29T09:29:27", "url": "https://files.pythonhosted.org/packages/90/b0/a1558f80716e5cf12ad951ffb0c23ddc032e312cb4ff75241ecbd6263659/jsl_elasticsearch-0.1.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c157dd31035b34e208c4e53e39eb575c", "sha256": "af4273c3c584710ab07428020d32bfdf9053e2e09a3bf50c3a924a5fc49a12ae" }, "downloads": -1, "filename": "jsl-elasticsearch-0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "c157dd31035b34e208c4e53e39eb575c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5765, "upload_time": "2016-09-29T09:29:29", "url": "https://files.pythonhosted.org/packages/e9/81/5e8007538718881fd78627c5ec6fd9d411b67397ccc5b689eaf9595f1806/jsl-elasticsearch-0.1.dev0.tar.gz" } ] }