{ "info": { "author": "Kitware, Inc.", "author_email": "kitware@kitware.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "======================\nResource Path Tools\n======================\n\nA Girder plugin to add some server-side tools that work with resource paths.\n\nFeatures\n--------\n\n* Download by path.\n\n ``GET /resource/path/download/`` will download the collection, user, folder, item, or file. If there is a single file within a parent object, the file will be downloaded directly. If there are multiple files, a zip file will be downloaded.\n\n* Redirect by path.\n\n ``GET``, ``PUT``, ``POST``, ``DELETE`` ``/resource/path/redirect/[/]`` will redirect to the appropriate model route for the last identifiable Girder model within the route. \n \n Since only routes that the user has permission for can be accessed, this can have strange repercussions if the resource path has components that look like route paths. For instance, ``PUT /resource/path/redirect/user/User/Public/ItemA/metadata`` will either modify an item's metadata OR alter a file named ``metadata`` within the item.\n\n Also, redirecting has a significant overhead compared to accessing a route by model and id, as the resource path must be validated and checked for permissions.\n\n* Browse files via path.\n\n A ``GET /files`` endpoint is added at the server's root (not under the ``/api/v1`` route). This responds much like an ftp server, providing HTML listings of available resources (based on the current user). If the path is a single-file item or a file, then the appropriate file is returned. For instance ``/files/user/User/Public/`` would list folders and items within the user's ``Public`` folder, while ``/files/user/User/Public/ItemA/File1`` will download the specified file.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/girder/resource_path_tools", "keywords": "girder-plugin,resource_path_tools", "license": "Apache Software License 2.0", "maintainer": "", "maintainer_email": "", "name": "girder-resource-path-tools", "package_url": "https://pypi.org/project/girder-resource-path-tools/", "platform": "", "project_url": "https://pypi.org/project/girder-resource-path-tools/", "project_urls": { "Homepage": "https://github.com/girder/resource_path_tools" }, "release_url": "https://pypi.org/project/girder-resource-path-tools/0.0.0/", "requires_dist": null, "requires_python": "", "summary": "Add resource path utility endpoints.", "version": "0.0.0" }, "last_serial": 5739259, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "06fd715655f7b6df75283584bf810ca9", "sha256": "c46d4352e2620949d99cd6c8477a480680033cef99584f08cc04845d55da70c2" }, "downloads": -1, "filename": "girder-resource-path-tools-0.0.0.zip", "has_sig": false, "md5_digest": "06fd715655f7b6df75283584bf810ca9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10762, "upload_time": "2019-08-19T16:45:05", "url": "https://files.pythonhosted.org/packages/eb/f8/987b5cfd3777413296b84aac0c6119c11d8bf57210e5df75684e1525f248/girder-resource-path-tools-0.0.0.zip" } ], "1.0.1.dev2": [ { "comment_text": "", "digests": { "md5": "88d1f4a47758e6a4db08c45fc79852a9", "sha256": "bf8add50659ef9fe69c6b6c41485863bc2be5c9c32ebce23cd60b3a41307f82f" }, "downloads": -1, "filename": "girder-resource-path-tools-1.0.1.dev2.zip", "has_sig": false, "md5_digest": "88d1f4a47758e6a4db08c45fc79852a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13719, "upload_time": "2019-08-27T19:57:56", "url": "https://files.pythonhosted.org/packages/ca/36/0d03112209416d1ddc038fee4d3c4b879b2fa5eadd58925df6d1e10dad0b/girder-resource-path-tools-1.0.1.dev2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "06fd715655f7b6df75283584bf810ca9", "sha256": "c46d4352e2620949d99cd6c8477a480680033cef99584f08cc04845d55da70c2" }, "downloads": -1, "filename": "girder-resource-path-tools-0.0.0.zip", "has_sig": false, "md5_digest": "06fd715655f7b6df75283584bf810ca9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10762, "upload_time": "2019-08-19T16:45:05", "url": "https://files.pythonhosted.org/packages/eb/f8/987b5cfd3777413296b84aac0c6119c11d8bf57210e5df75684e1525f248/girder-resource-path-tools-0.0.0.zip" } ] }