{ "info": { "author": "Mitchell Long", "author_email": "meechllada@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# Pyblazeb2 \n---------------\n\n Pyblazeb2 is a Python 3 module for accessing the Backblaze B2 API\n\n\n To install run: \n\n```python \n pip install pyblazeb2\n```\n\n# Examples\n-------------------------------\n\n from pyblazeb2 import BackBlazeB2\n b2 = BackBlazeB2(account_id, app_key)\n\n # Upload an entire directory concurrently\n b2.recursive_upload('/path/to/foobar', bucket_name='my-bucket', multithread=True)\n\n # Upload a single file without a password\n b2.upload_file('/path/to/file.txt', bucket_name='baz')\n\n # Upload a single file, then download\n b2.upload_file('/path/to/secrets.txt', bucket_name='baz')\n response = b2.download_file_by_name('/path/to/myfile.txt', 'savedfile.txt')\n\n # List all of your buckets\n buckets = b2.list_buckets()\n\n # Create a bucket\n response = b2.create_bucket('new-bucket', bucket_type='allPrivate')\n\n # Download a file by name\n response = b2.download_file_by_name('/path/to/myfile.txt', 'savedfile.txt')\n\n # Authorize download for a private file\n bucket_id = \"\" # Id of bucket which you want authorize download file\n bucket_name = \"\" # Verbose name of bucket\n file_name_prefix = \"\"\n url_authorized_download = b2.get_download_authorization(\n bucket_id=bucket_id, bucket_name=bucket_name,\n file_name_prefix=file_name_prefix)\n # The response some looks like this:\n # https://f345.backblazeb2.com/file/photos/cute/kitten.jpg?Authorization=3_20160803004041_53982a92f631a8c7303e3266_d940c7f5ee17cd1de3758aaacf1024188bc0cd0b_000_20160804004041_0006_dnld\n\n # Download with authorized url\n b2.download_file_with_authorized_url(url_authorized_download, 'file_name.log')\n\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/mwlong23/pyblazeb2", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyblazeb2", "package_url": "https://pypi.org/project/pyblazeb2/", "platform": "", "project_url": "https://pypi.org/project/pyblazeb2/", "project_urls": { "Homepage": "https://github.com/mwlong23/pyblazeb2", "Source": "https://github.com/mwlong23/pyblazeb2", "Tracker": "https://github.com/mwlong23/pyblazeb2/issues" }, "release_url": "https://pypi.org/project/pyblazeb2/0.0.23/", "requires_dist": null, "requires_python": "", "summary": "A compact library for interacting with Backblaze b2 buckets", "version": "0.0.23" }, "last_serial": 4166259, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9066e67f1f1a10399c5c82e82becdb7e", "sha256": "24918b861245aa3295573b9739410a55601c3e9a93671b89b3daa6adcbd5b96b" }, "downloads": -1, "filename": "pyblazeb2-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9066e67f1f1a10399c5c82e82becdb7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5817, "upload_time": "2018-08-07T21:14:32", "url": "https://files.pythonhosted.org/packages/38/60/f5a9142d0ee8f63f594393228af3ebda18c056f3bedaa902150e0185e4ba/pyblazeb2-0.0.1.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "6e4e52b68cb60e168d03efc09af09bda", "sha256": "f993b69e5e9c9bcef4ac6809a181541f4ed20218a0bf58849c5a780bce1b9b15" }, "downloads": -1, "filename": "pyblazeb2-0.0.11-py3-none-any.whl", "has_sig": false, "md5_digest": "6e4e52b68cb60e168d03efc09af09bda", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6221, "upload_time": "2018-08-07T23:25:27", "url": "https://files.pythonhosted.org/packages/66/d2/0cbabcd8b18262b6c20388c706339c61560b6c65bccccf260a5b18810a6f/pyblazeb2-0.0.11-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8ab820aecfd0e5ea86d243073a116660", "sha256": "92935e2611241b87a24a7c19c2128d8bd96a1d9e4c89023ef990c673c8e06d47" }, "downloads": -1, "filename": "pyblazeb2-0.0.11.tar.gz", "has_sig": false, "md5_digest": "8ab820aecfd0e5ea86d243073a116660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5818, "upload_time": "2018-08-07T23:25:28", "url": "https://files.pythonhosted.org/packages/e4/fc/efc4fba710344de50007503f9405c962dab2ccdb3686ce02846e9f391a23/pyblazeb2-0.0.11.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "cae65578dfc531ca22acb39e73433eb8", "sha256": "b459841c94a5ed50b2a93c617ae54191b39e3c413ff855482ff58866b8126bc9" }, "downloads": -1, "filename": "pyblazeb2-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "cae65578dfc531ca22acb39e73433eb8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6210, "upload_time": "2018-08-07T23:34:27", "url": "https://files.pythonhosted.org/packages/b2/8b/57fc9972daf58cb4bdad64b13ecdefb3043e4058e869effef9bd7fe99415/pyblazeb2-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1352a827dd9571cdc344401a295697d", "sha256": "5a1def074ab81d6b62aa63ecc33606b8e831e44995a56b9df6d87563119e79b6" }, "downloads": -1, "filename": "pyblazeb2-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d1352a827dd9571cdc344401a295697d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5813, "upload_time": "2018-08-07T23:34:29", "url": "https://files.pythonhosted.org/packages/45/60/127bb596ca10d10ed551b7c40dd387e618c0570cc1bb0e2168f768d07d95/pyblazeb2-0.0.2.tar.gz" } ], "0.0.21": [ { "comment_text": "", "digests": { "md5": "644cfd78421fc604ea86db7807e302a9", "sha256": "4ff1260e77d2ee71e974690ab7ff7b5b9653670a6005e71860d8b24a028baacc" }, "downloads": -1, "filename": "pyblazeb2-0.0.21-py3-none-any.whl", "has_sig": false, "md5_digest": "644cfd78421fc604ea86db7807e302a9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6227, "upload_time": "2018-08-08T00:58:14", "url": "https://files.pythonhosted.org/packages/55/96/d1b34260a3d5da6e425b1b199a530ee2f51e05fe1415d0b0b56907346705/pyblazeb2-0.0.21-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eaa74af318560f5d91d8e50286ba5266", "sha256": "6ea33f0cab711f2ff7a86297cbf2a1a63cf345c9dd1ce32a6fb32db0758f862f" }, "downloads": -1, "filename": "pyblazeb2-0.0.21.tar.gz", "has_sig": false, "md5_digest": "eaa74af318560f5d91d8e50286ba5266", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5823, "upload_time": "2018-08-08T00:58:15", "url": "https://files.pythonhosted.org/packages/13/eb/18a27bf99ef9477c167caf929b1bdbf0d18497db42250619d01ed0f64144/pyblazeb2-0.0.21.tar.gz" } ], "0.0.23": [ { "comment_text": "", "digests": { "md5": "af62ae7c30f74fdf3ceb053e44e521ae", "sha256": "0cd1be385e3fd0ad20724d2691233504fe783e1653d4876d8e3f2cc59342ea9c" }, "downloads": -1, "filename": "pyblazeb2-0.0.23-py3-none-any.whl", "has_sig": false, "md5_digest": "af62ae7c30f74fdf3ceb053e44e521ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6238, "upload_time": "2018-08-13T16:58:12", "url": "https://files.pythonhosted.org/packages/cb/36/9c733e6c278334f2c0bf17df16fe955fbe8c055c818aa37feb9bee016b48/pyblazeb2-0.0.23-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ab26d35b7141870c609cef8e80562af", "sha256": "b88e99c742c2a264ffdb842dc0c31d5153ab1b78ba80e75f7c8b0f773175f996" }, "downloads": -1, "filename": "pyblazeb2-0.0.23.tar.gz", "has_sig": false, "md5_digest": "7ab26d35b7141870c609cef8e80562af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5840, "upload_time": "2018-08-13T16:58:13", "url": "https://files.pythonhosted.org/packages/6b/65/5c40edec6f5e91cd968d22c66419068c9f1c7d185271c107f0c3107c27df/pyblazeb2-0.0.23.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af62ae7c30f74fdf3ceb053e44e521ae", "sha256": "0cd1be385e3fd0ad20724d2691233504fe783e1653d4876d8e3f2cc59342ea9c" }, "downloads": -1, "filename": "pyblazeb2-0.0.23-py3-none-any.whl", "has_sig": false, "md5_digest": "af62ae7c30f74fdf3ceb053e44e521ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6238, "upload_time": "2018-08-13T16:58:12", "url": "https://files.pythonhosted.org/packages/cb/36/9c733e6c278334f2c0bf17df16fe955fbe8c055c818aa37feb9bee016b48/pyblazeb2-0.0.23-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ab26d35b7141870c609cef8e80562af", "sha256": "b88e99c742c2a264ffdb842dc0c31d5153ab1b78ba80e75f7c8b0f773175f996" }, "downloads": -1, "filename": "pyblazeb2-0.0.23.tar.gz", "has_sig": false, "md5_digest": "7ab26d35b7141870c609cef8e80562af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5840, "upload_time": "2018-08-13T16:58:13", "url": "https://files.pythonhosted.org/packages/6b/65/5c40edec6f5e91cd968d22c66419068c9f1c7d185271c107f0c3107c27df/pyblazeb2-0.0.23.tar.gz" } ] }