{ "info": { "author": "Joel Klinger", "author_email": "joel.klinger@nesta.org.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "# es2es [![Build Status](https://travis-ci.com/nestauk/es2es.svg?branch=master)](https://travis-ci.com/nestauk/es2es)\n\nTransfers data between Elasticsearch servers\n\n## Installation\n\n```python\n\npip install es2es\n```\n\n## Usage\n\n```python\n\nfrom es2es import es2es\n\nes2es(origin_endpoint='https://PATH-TO-ENDPOINT',\n origin_index='ORIGIN_INDEX',\n dest_endpoint='https://PATH-TO-ANOTHER-ENDPOINT',\n dest_index='DESTINATION_INDEX')\n```\n\n## Advanced usage\n\n```python\n\norigin_endpoint (str): \"Path to the endpoint to transfer data from.\"\norigin_index (str): \"Index at the endpoint to transfer data from.\"\ndest_endpoint (str): \"Path to the endpoint to transfer data to.\"\ndest_index (str): \"Index at the endpoint to transfer data to.\"\norigin_method (str, default='GET'): \"Method for retrieving data from origin endpoint (e.g. 'GET' or 'POST').\"\nchunksize (int, default=100): \"Number of records to send to the new server in bulk.\"\nscroll (str, default='1m'): \"Elasticsearch scroll window.\"\norigin_kwargs (dict, default={}): \"Any additional kwargs to add to the http(s) request to the origin endpoint.\"\ndest_kwargs (dict, default={}): \"Any additional kwargs to add to the http(s) request to the origin endpoint.\"\ndo_transfer_index (bool, default=True): \"Flag regarding whether to transfer the index, settings and mapping as well. Set this to False if the index already exists, or you're restarting a transfer.\"\nlimit (int, default=None): \"Maximum number of 'rows' of data to transfer.\"\n```", "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/nesta/es2es", "keywords": "", "license": "MIT", "maintainer": "Joel Klinger", "maintainer_email": "joel.klinger@nesta.org.uk", "name": "es2es", "package_url": "https://pypi.org/project/es2es/", "platform": "", "project_url": "https://pypi.org/project/es2es/", "project_urls": { "Homepage": "https://github.com/nesta/es2es" }, "release_url": "https://pypi.org/project/es2es/0.1.0/", "requires_dist": null, "requires_python": ">3.6", "summary": "", "version": "0.1.0", "yanked": false, "yanked_reason": null }, "last_serial": 6048648, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "cd14b703c5cff9089504ca0d254afade", "sha256": "f2a8b181f9095a1683d943365ac077c59854f1dd69ed6e343dc9de8986ebe9b5" }, "downloads": -1, "filename": "es2es-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cd14b703c5cff9089504ca0d254afade", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 3725, "upload_time": "2019-10-29T18:10:41", "upload_time_iso_8601": "2019-10-29T18:10:41.445068Z", "url": "https://files.pythonhosted.org/packages/86/34/40250ffa1f61a2cbcf695014979c761973966ec4f676d6cd6a4d7cfba597/es2es-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd14b703c5cff9089504ca0d254afade", "sha256": "f2a8b181f9095a1683d943365ac077c59854f1dd69ed6e343dc9de8986ebe9b5" }, "downloads": -1, "filename": "es2es-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cd14b703c5cff9089504ca0d254afade", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 3725, "upload_time": "2019-10-29T18:10:41", "upload_time_iso_8601": "2019-10-29T18:10:41.445068Z", "url": "https://files.pythonhosted.org/packages/86/34/40250ffa1f61a2cbcf695014979c761973966ec4f676d6cd6a4d7cfba597/es2es-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }