{ "info": { "author": "Swiftype", "author_email": "eng@swiftype.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "

\"Elastic

\n\n> **\u26a0\ufe0f This client is deprecated \u26a0\ufe0f**\n>\n> **swiftype_enterprise has been replaced by elastic_enterprise_search. Thank you! - Elastic**\n\n> A first-party Python client for [Elastic Enterprise Search](https://www.elastic.co/solutions/enterprise-search).\n\n## Contents\n\n+ [Getting started](#getting-started-)\n+ [Usage](#usage)\n+ [FAQ](#faq-)\n+ [Contribute](#contribute-)\n+ [License](#license-)\n\n***\n\n## Getting started \ud83d\udc23\n\nSupports Python 2.7 and Python 3.3+.\n\nDepends on [futures](https://github.com/PythonCharmers/python-future) and [requests](https://github.com/requests/requests).\n\nInstalled with\n`pip `:\n\n```bash\n$ python -m pip install swiftype_enterprise\n```\n\nYou can also download and install the project source:\n\n```bash\n$ python setup.py install\n```\n\n## Usage\n\nRetrieve your access token and a content source key after creating your content source.\n\nIndexing a document into a custom content source:\n\n```python\n from swiftype_enterprise import SwiftypeEnterpriseClient\n content_source_key = 'content source key'\n authorization_token = 'authorization token'\n client = SwiftypeEnterpriseClient(authorization_token)\n documents = [\n {\n 'id': '1234',\n 'url': 'https://github.com/swiftype/swiftype-enterprise-python',\n 'title': 'Swiftype Enterprise Python Github',\n 'body': 'A descriptive body, with document contents and metadata'\n }\n ]\n\n document_results = client.index_documents(content_source_key, documents, timeout=10, delay=2)\n print(document_results)\n```\n\n### Change API endpoint\n\n```python\nclient = SwiftypeEnterpriseClient(authorization_token, \"https://your-server.example.com/api/v1/ent\")\n```\n\n## FAQ \ud83d\udd2e\n\n### Where do I report issues with the client?\n\nIf something is not working as expected, please open an [issue](https://github.com/swiftype/swiftype-enterprise-python/issues/new).\n\n## Contribute \ud83d\ude80\n\nWe welcome contributors to the project. Before you begin, a couple notes...\n\n+ Before opening a pull request, please create an issue to [discuss the scope of your proposal](https://github.com/swiftype/swiftype-enterprise-python/issues).\n+ Please write simple code and concise documentation, when appropriate.\n\n## License \ud83d\udcd7\n\n[MIT](https://github.com/swiftype/swiftype-enterprise-python/blob/master/LICENSE) \u00a9 [Elastic](https://github.com/elastic)\n\nThank you to all the [contributors](https://github.com/swiftype/swiftype-enterprise-python/graphs/contributors)!", "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/swiftype/swiftype-enterprise-python", "keywords": "swiftype enterprise search api", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "swiftype-enterprise", "package_url": "https://pypi.org/project/swiftype-enterprise/", "platform": "", "project_url": "https://pypi.org/project/swiftype-enterprise/", "project_urls": { "Homepage": "https://github.com/swiftype/swiftype-enterprise-python" }, "release_url": "https://pypi.org/project/swiftype-enterprise/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "A Deprecated API client for Swiftype Enterprise Search. Use elastic_enterprise_search instead.", "version": "1.0.1", "yanked": false, "yanked_reason": null }, "last_serial": 6019989, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "5792ff744dc99d0b063ba85bf42ddfcf", "sha256": "3eafec0212f2fb2671475d0ea0eabd68a50562e86039eb5a4391304ac4e6e5fd" }, "downloads": -1, "filename": "swiftype_enterprise-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5792ff744dc99d0b063ba85bf42ddfcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5687, "upload_time": "2017-06-30T23:42:06", "upload_time_iso_8601": "2017-06-30T23:42:06.949618Z", "url": "https://files.pythonhosted.org/packages/94/b6/277e2f362a5e2f52cba4f7a494526a74f3597982cbea29a0ab5b38393574/swiftype_enterprise-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c2a77d0444c7a7a9cc3bc98d5217b7e5", "sha256": "0bd07b09b84bacc9b647709034613f26a8779afaf2d553d7a400c4da26ac24a1" }, "downloads": -1, "filename": "swiftype_enterprise-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c2a77d0444c7a7a9cc3bc98d5217b7e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6081, "upload_time": "2017-07-06T22:16:26", "upload_time_iso_8601": "2017-07-06T22:16:26.160167Z", "url": "https://files.pythonhosted.org/packages/51/68/d3551b93ff75f87a39cc975c206c79cb3be31a605e536cf0a623075e0178/swiftype_enterprise-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "a307d4fa8327b6388c0cead6b3b8e792", "sha256": "1d3cc08479871a017edaeb7509aed1a942380f8b75d307fe2bd2d80ed81fe751" }, "downloads": -1, "filename": "swiftype_enterprise-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a307d4fa8327b6388c0cead6b3b8e792", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5114, "upload_time": "2019-05-03T12:39:39", "upload_time_iso_8601": "2019-05-03T12:39:39.766698Z", "url": "https://files.pythonhosted.org/packages/f1/02/bcf18c354a99cf831932b2e70c7d59a906b2cdd9080394963f848ddf0abd/swiftype_enterprise-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "cff78fe53877744471f9076a98d7eecf", "sha256": "18a8c5b3968868ceb9554e8f0807e221322ab47a935da8b172c2667241a37f31" }, "downloads": -1, "filename": "swiftype_enterprise-1.0.0.tar.gz", "has_sig": false, "md5_digest": "cff78fe53877744471f9076a98d7eecf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4697, "upload_time": "2019-07-25T17:35:26", "upload_time_iso_8601": "2019-07-25T17:35:26.391190Z", "url": "https://files.pythonhosted.org/packages/5d/12/8c5a858e1edff96aeb8da2fce870aa57575e3105ffb2870fe234e015b967/swiftype_enterprise-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e05bf2a4da595308515a84c3865505b1", "sha256": "a7c2346246a515e7167cc5e788af48995e9772d0c01bea8d388d3f8ba3457bb1" }, "downloads": -1, "filename": "swiftype_enterprise-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e05bf2a4da595308515a84c3865505b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4919, "upload_time": "2019-09-05T16:41:37", "upload_time_iso_8601": "2019-09-05T16:41:37.652816Z", "url": "https://files.pythonhosted.org/packages/c3/f8/f5b50c3351801fe34a9495485e96e94782fcd80319fa903d9fed7f6d576c/swiftype_enterprise-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e05bf2a4da595308515a84c3865505b1", "sha256": "a7c2346246a515e7167cc5e788af48995e9772d0c01bea8d388d3f8ba3457bb1" }, "downloads": -1, "filename": "swiftype_enterprise-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e05bf2a4da595308515a84c3865505b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4919, "upload_time": "2019-09-05T16:41:37", "upload_time_iso_8601": "2019-09-05T16:41:37.652816Z", "url": "https://files.pythonhosted.org/packages/c3/f8/f5b50c3351801fe34a9495485e96e94782fcd80319fa903d9fed7f6d576c/swiftype_enterprise-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }