{ "info": { "author": "Max Hutchinson", "author_email": "maxhutch@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "glopen\n======\n|Version Status| |Downloads|\n\nOpen-like context managers for remote globus files.\n\n``glopen(filename, mode, endpoint)``:\n \n1. Creates a temporary file\n2. [On a read mode:] Transfers the remote file to the temporary file\n3. Opens the temporary file with the given mode\n4. Yields the open temporary file\n5. Closes the temporary file\n6. [On a write mode:] Transfers the temporary file to the remote file\n7. Deletes the temporary file\n\n``glopen_many(filenames, mode, endpoint)`` takes a list of filenames and yeilds a list of open files. \nThe remote copies are grouped into a single globus transfer, improving performance for small files.\n\nExample\n-------\n.. code:: python\n\n >>> from glopen import glopen\n >>> with glopen(\"path/to/remote/file.anything\", mode=\"r\", \n endpoint=\"globusid#endpoint\") as f:\n ... lines = f.readlines()\n\n >>> from glopen import glopen_many\n >>> files = [\"file1\", \"file2\", \"file3\"]\n >>> with glopen_many(files, mode=\"w\", endpoint=\"globusid#endpoint\") as fs:\n ... for f,d in zip(fs,d):\n ... f.write(d)\n\nInstall\n-------\n\n``glopen`` is on the Python Package Index (PyPI):\n\n::\n\n pip install glopen\n\nIt depends on globussh_, a light-weight wrapper around the globus SSH interface.\nYour local machine must be a globus endpoint, so you can either run `Globus connect personal`_ or `Globus connect server`_.\n\nConfiguration\n-------------\n\n``glopen`` transfers files to and from a temporary directory on your local machine, \nso it needs to know the machine's endpoint name and a directory that globus can access.\nYou tell ``glopen`` the endpoint and temporary directory in a ``~/.glopen`` config file:\n\n::\n\n {\n \"local_endpoint\" : \"#\",\n \"tempdir\" : \"/home//tmp\"\n }\n\n.. |Version Status| image:: https://pypip.in/v/glopen/badge.png\n :target: https://pypi.python.org/pypi/glopen/\n.. |Downloads| image:: https://pypip.in/d/glopen/badge.png\n :target: https://pypi.python.org/pypi/glopen/\n.. _globussh: https://github.com/maxhutch/glopen\n.. _Globus connect personal: https://www.globus.org/globus-connect-personal\n.. _Globus connect server: https://www.globus.org/globus-connect-server", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/maxhutch/glopen/", "keywords": "globus ssh open", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "glopen", "package_url": "https://pypi.org/project/glopen/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/glopen/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/maxhutch/glopen/" }, "release_url": "https://pypi.org/project/glopen/0.0.12/", "requires_dist": null, "requires_python": null, "summary": "Open-like interface to globus remotes", "version": "0.0.12" }, "last_serial": 1504723, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "faa0de23d33989f248d4f1d0a19039a2", "sha256": "ef9b37f769b84cc61bb8ae51b3559c4d8a44554176fb069a0301d657140be2d4" }, "downloads": -1, "filename": "glopen-0.0.1.tar.gz", "has_sig": false, "md5_digest": "faa0de23d33989f248d4f1d0a19039a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1392, "upload_time": "2015-03-12T16:51:44", "url": "https://files.pythonhosted.org/packages/2e/ab/3516319b1a3a46e7410f3628faff711b4e6ad974d3eafbd55876e4e26f27/glopen-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "4fca90dbfbd85fc31b20fd3658e72413", "sha256": "34e6185f31a47dadba705ecd6d262cb1a127d4b727ab5467afd0f8b438964f6f" }, "downloads": -1, "filename": "glopen-0.0.10.tar.gz", "has_sig": false, "md5_digest": "4fca90dbfbd85fc31b20fd3658e72413", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3778, "upload_time": "2015-03-25T16:42:56", "url": "https://files.pythonhosted.org/packages/62/d7/600964fedf1b5bd8911b70c40b3adad3e68b0f4093e75a13e49aa32491c2/glopen-0.0.10.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "86f257598540c2d19a61f624e91e3fb9", "sha256": "8f883a0848bff4a81bb558eededcc4bb1b93a779a4d0eeb217b3bdab0be96619" }, "downloads": -1, "filename": "glopen-0.0.11.tar.gz", "has_sig": false, "md5_digest": "86f257598540c2d19a61f624e91e3fb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3885, "upload_time": "2015-04-13T19:36:39", "url": "https://files.pythonhosted.org/packages/0a/a2/665f27d401a97afc78ffb232b3e4c9e0e6d032f94219a8eb2b04fab111c1/glopen-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "302b196abff7e6b981f0c35174726b9d", "sha256": "cf946d170b37cfd30d8afdf5ce8b202eab1b6e7cae16210e6957cb838d7579a0" }, "downloads": -1, "filename": "glopen-0.0.12.tar.gz", "has_sig": false, "md5_digest": "302b196abff7e6b981f0c35174726b9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3873, "upload_time": "2015-04-14T11:33:25", "url": "https://files.pythonhosted.org/packages/c5/f5/a49806625bd9550ea21280021339a55c3c39d8ae5c494035602b48a8f08f/glopen-0.0.12.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ebff94a8c2a20499a991332bb0e7fbe1", "sha256": "2da7e6cd0a3df4f086fb8a96a9600a78d4fc7d3171db70bf311fb7da279e3b9c" }, "downloads": -1, "filename": "glopen-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ebff94a8c2a20499a991332bb0e7fbe1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1544, "upload_time": "2015-03-12T19:18:00", "url": "https://files.pythonhosted.org/packages/89/de/737a8999617f899163e0d41e409ac4d028fce15edd0da80aa8066730a0c3/glopen-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c8ef5b3265888bb8ca01dd4fdb2af83a", "sha256": "aa43363c82a827f6a1a9c6060f79c48ea825434f29a11b25526c752903661a08" }, "downloads": -1, "filename": "glopen-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c8ef5b3265888bb8ca01dd4fdb2af83a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2452, "upload_time": "2015-03-13T15:52:11", "url": "https://files.pythonhosted.org/packages/88/fe/b245a3da6430be47317f6f975df6d6617d220f346affc6a2ab772e7bdcf8/glopen-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "cae0bd72af3ee3677545c7a9e5c438b3", "sha256": "e806a1bad586cf0ed7cee1915b99613da3ee6e7fbb1394d74df41d70ec9c963e" }, "downloads": -1, "filename": "glopen-0.0.4.tar.gz", "has_sig": false, "md5_digest": "cae0bd72af3ee3677545c7a9e5c438b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2750, "upload_time": "2015-03-13T17:50:14", "url": "https://files.pythonhosted.org/packages/88/f1/124204dd70eaf6a6fb79f6c422c81d20c89a65e48d252b19e9709dd5f4fd/glopen-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "a4541df48ce3a98399f94ac26318514f", "sha256": "bb79df3e6e3b7c561dc1295a200c435446484ad7674d473d76aca37eb2bb091d" }, "downloads": -1, "filename": "glopen-0.0.5.tar.gz", "has_sig": false, "md5_digest": "a4541df48ce3a98399f94ac26318514f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2752, "upload_time": "2015-03-13T18:41:37", "url": "https://files.pythonhosted.org/packages/00/a3/13603337797f5c485ea156fe222a451ba833b6d7268a82ef7d91d66e74ea/glopen-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "452e6f037c4ba644f73957be55e045e9", "sha256": "51ae55ec4a3b17b892593f42bfc7610319340a8ccb90ac3d138f266b5d0041e9" }, "downloads": -1, "filename": "glopen-0.0.6.tar.gz", "has_sig": false, "md5_digest": "452e6f037c4ba644f73957be55e045e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3536, "upload_time": "2015-03-13T18:44:37", "url": "https://files.pythonhosted.org/packages/da/08/ca2c3146c598d9166e3470577051fbe3c1d219adaaed191c0ca2af800858/glopen-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "b1ed5276f96c36afa542e93c5d1986dc", "sha256": "df9a619925275a5d6fc22882cfe6effb9b28b66f9f1566f91a8f64371c9b733f" }, "downloads": -1, "filename": "glopen-0.0.7.tar.gz", "has_sig": false, "md5_digest": "b1ed5276f96c36afa542e93c5d1986dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3538, "upload_time": "2015-03-13T18:45:34", "url": "https://files.pythonhosted.org/packages/bb/2f/78280c829402fb5e9cd8c4d039c0ebb05e3cdfe9f41ef0c7725ddc3427fb/glopen-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "4f66ecea72bba4b1899cf9d10683c910", "sha256": "107b9c75324fa75c49cfb31d715eb6f64a2a61b06c48cd2ab1104178c609968c" }, "downloads": -1, "filename": "glopen-0.0.8.tar.gz", "has_sig": false, "md5_digest": "4f66ecea72bba4b1899cf9d10683c910", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3714, "upload_time": "2015-03-16T11:42:50", "url": "https://files.pythonhosted.org/packages/f3/77/fa65cff1867412f68f3e6d1a1b475fd1042e52358febb96835057190fb82/glopen-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "544698a5eb01308f85730910ace9e86b", "sha256": "ceb23513c07118099168150705e0887fa90c936a0bc0396a31937f2b3f7c46ce" }, "downloads": -1, "filename": "glopen-0.0.9.tar.gz", "has_sig": false, "md5_digest": "544698a5eb01308f85730910ace9e86b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3715, "upload_time": "2015-03-20T17:38:43", "url": "https://files.pythonhosted.org/packages/cc/83/9d3bc197442e76cba7f3890eaaf789b58b0783c69eff4afb8f80bc835d5b/glopen-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "302b196abff7e6b981f0c35174726b9d", "sha256": "cf946d170b37cfd30d8afdf5ce8b202eab1b6e7cae16210e6957cb838d7579a0" }, "downloads": -1, "filename": "glopen-0.0.12.tar.gz", "has_sig": false, "md5_digest": "302b196abff7e6b981f0c35174726b9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3873, "upload_time": "2015-04-14T11:33:25", "url": "https://files.pythonhosted.org/packages/c5/f5/a49806625bd9550ea21280021339a55c3c39d8ae5c494035602b48a8f08f/glopen-0.0.12.tar.gz" } ] }