{ "info": { "author": "\u0141ukasz Bo\u0142dys", "author_email": "mail@utek.pl", "bugtrack_url": null, "classifiers": [], "description": " Permission is hereby granted, free of charge, to any person obtaining\r\n a copy of this software and associated documentation files (the\r\n \"Software\"), to deal in the Software without restriction, including\r\n without limitation the rights to use, copy, modify, merge, publish,\r\n distribute, sublicense, and/or sell copies of the Software, and to\r\n permit persons to whom the Software is furnished to do so, subject to\r\n the following conditions:\r\n\r\n The above copyright notice and this permission notice shall be\r\n included in all copies or substantial portions of the Software.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\nDescription-Content-Type: UNKNOWN\r\nDescription: *********************************************************\r\n PySeaweed\r\n *********************************************************\r\n \r\n Class to simplify communication with Weed-FS_\r\n \r\n ============\r\n Installation\r\n ============\r\n \r\n From PyPI::\r\n \r\n pip install pyseaweed\r\n \r\n ============\r\n Tests\r\n ============\r\n Install dependencies::\r\n \r\n pip install -r test_requirements.txt\r\n \r\n Run tests::\r\n \r\n python setup.py tests\r\n \r\n Or using nose::\r\n \r\n nosetests\r\n \r\n .. note::\r\n Functional tests assumes that there is WeedFS master running on localhost:9333 (defaults).\r\n If it's not then there will be errors in tests.\r\n \r\n \r\n ============\r\n Usage\r\n ============\r\n \r\n Upload file to weedFS\r\n \r\n .. code-block:: python\r\n \r\n from pyseaweed import WeedFS\r\n \r\n # File upload\r\n w = WeedFS(\"localhost\", 9333) # weed-fs master address and port\r\n fid = w.upload_file(\"n.txt\") # path to file\r\n \r\n # Get file url\r\n file_url = w.get_file_url(fid)\r\n \r\n # Delete file\r\n res = w.delete_file(fid)\r\n # res is boolean (True if file was deleted)\r\n \r\n \r\n .. _Weed-FS: https://github.com/chrislusf/seaweedfs\r\n \r\n \r\n \r\nPlatform: UNKNOWN\r\nClassifier: Intended Audience :: Developers\r\nClassifier: Programming Language :: Python\r\nClassifier: Programming Language :: Python :: 2.7\r\nClassifier: Programming Language :: Python :: 3.3\r\nClassifier: Programming Language :: Python :: 3.4\r\nClassifier: License :: OSI Approved :: MIT License\r\nClassifier: Operating System :: OS Independent\r\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/utek/pyseaweed", "keywords": "", "license": "Copyright (C) 2014 Lukasz Boldys", "maintainer": "", "maintainer_email": "", "name": "pyseaweed", "package_url": "https://pypi.org/project/pyseaweed/", "platform": "", "project_url": "https://pypi.org/project/pyseaweed/", "project_urls": { "Homepage": "https://github.com/utek/pyseaweed" }, "release_url": "https://pypi.org/project/pyseaweed/1.0.2/", "requires_dist": [ "requests", "six" ], "requires_python": "", "summary": "Module to simplify usage of WeedFS in python.", "version": "1.0.2" }, "last_serial": 3279380, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "bab0038447191dd76349336c6d235494", "sha256": "631690f55442558f8f124d3fe48d27e06f1a9fef83b99ee7242fe2cfadeb6cd1" }, "downloads": -1, "filename": "pyseaweed-1.0.0.zip", "has_sig": false, "md5_digest": "bab0038447191dd76349336c6d235494", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12094, "upload_time": "2016-06-11T08:22:33", "url": "https://files.pythonhosted.org/packages/72/cd/1aa356a8dec844aeedd0c3ac272dea36041bde178d6b025a73084a622199/pyseaweed-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "dc397f14e03c1642f21b0d1413ac3406", "sha256": "3f5620ebe6708f578717ec96ef0c4502068f76293e3e605426878853e89c351d" }, "downloads": -1, "filename": "pyseaweed-1.0.1.zip", "has_sig": false, "md5_digest": "dc397f14e03c1642f21b0d1413ac3406", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12200, "upload_time": "2016-06-12T08:49:55", "url": "https://files.pythonhosted.org/packages/07/44/2196353d7e3af7897852e054314974663c4f61f2702e529423549939be77/pyseaweed-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "dfff476dfc0c31272ac2bc7d0c9d113d", "sha256": "1ba98b122892141b413a8976bc0d5e3d4efae107d79cfa23b7b9f35e39a58d42" }, "downloads": -1, "filename": "pyseaweed-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "dfff476dfc0c31272ac2bc7d0c9d113d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10186, "upload_time": "2017-10-25T22:05:47", "url": "https://files.pythonhosted.org/packages/8b/64/fcc7a5fc625cd1931b58f42da0865206ae0475afe16f5d00d40a628ccf8c/pyseaweed-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8639d629d9e25a25d30ca3a4249c16a", "sha256": "fc14e238e0a4735a07b073b3e13234803b91d6be769a2ea30c25f4e4149c129f" }, "downloads": -1, "filename": "pyseaweed-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b8639d629d9e25a25d30ca3a4249c16a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6605, "upload_time": "2017-10-25T22:05:48", "url": "https://files.pythonhosted.org/packages/3d/af/a6b66a95f0b22c96788a01e4714c0b27d2cf07941d25642cf3b12e2ac353/pyseaweed-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dfff476dfc0c31272ac2bc7d0c9d113d", "sha256": "1ba98b122892141b413a8976bc0d5e3d4efae107d79cfa23b7b9f35e39a58d42" }, "downloads": -1, "filename": "pyseaweed-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "dfff476dfc0c31272ac2bc7d0c9d113d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10186, "upload_time": "2017-10-25T22:05:47", "url": "https://files.pythonhosted.org/packages/8b/64/fcc7a5fc625cd1931b58f42da0865206ae0475afe16f5d00d40a628ccf8c/pyseaweed-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8639d629d9e25a25d30ca3a4249c16a", "sha256": "fc14e238e0a4735a07b073b3e13234803b91d6be769a2ea30c25f4e4149c129f" }, "downloads": -1, "filename": "pyseaweed-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b8639d629d9e25a25d30ca3a4249c16a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6605, "upload_time": "2017-10-25T22:05:48", "url": "https://files.pythonhosted.org/packages/3d/af/a6b66a95f0b22c96788a01e4714c0b27d2cf07941d25642cf3b12e2ac353/pyseaweed-1.0.2.tar.gz" } ] }