{ "info": { "author": "Sondre Engebraaten", "author_email": "info@sender.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7" ], "description": "# b2_fuse - FUSE for Backblaze B2\n \n### Version: 1.3 \n\n#### This is fresh release based upon B2 Command line tool's API for B2. \n\n#### Warning this software may contain bugs, be careful of using it with important data.\n#### Please report bugs, use-case issues and feature requests through the Github issue tracker\n\n\n\n### Basic setup:\n\nRequires YAML and FUSE for python to work (this is not the same as \"python-fuse\" package). \n\nInstall YAML for python as follows: \n\n```\nsudo apt-get install python-yaml\n```\n\nInstall FUSE and B2 Command Line Tool for python as follows: \n\n```\nsudo apt-get install python-pip\nsudo pip install fusepy\nsudo pip install b2\n```\n\nIf the above does not work (a possibility on Python 2.7) use this instead:\n\n```\nsudo python -m pip install fusepy\nsudo python -m pip install b2\n```\n\nAn example config (\"config.yaml\"):\n\n```\naccountId: \napplicationKey: \nbucketId: \n```\n\nIn order to use the FUSE driver as an interface to the online service B2 run:\n\n```\npython b2fuse.py \n```\n\nFull usage info:\n\n\n```\nusage: b2fuse.py [-h] [--enable_hashfiles] [--version] [--use_disk]\n [--account_id ACCOUNT_ID] [--application_key APPLICATION_KEY]\n [--bucket_id BUCKET_ID] [--temp_folder TEMP_FOLDER]\n [--config_filename CONFIG_FILENAME]\n mountpoint\n\npositional arguments:\n mountpoint Mountpoint for the B2 bucket\n\noptional arguments:\n -h, --help show this help message and exit\n --enable_hashfiles Enable normally hidden hashes as exposed by B2 API\n --version show program's version number and exit\n --use_disk\n --account_id ACCOUNT_ID\n Account ID for your B2 account (overrides config)\n --application_key APPLICATION_KEY\n Application key for your account (overrides config)\n --bucket_id BUCKET_ID\n Bucket ID for the bucket to mount (overrides config)\n --temp_folder TEMP_FOLDER\n Temporary file folder\n --config_filename CONFIG_FILENAME\n Config file\n```\n\nUsage notes:\n\n* Can be used as a regular filesystem, but should not (high latency)\n* Files are cached in memory or on disk. If using memory you are limited by the available memory, swapping will occur for very large files.\n* Neither permissions or timestamps are supported by B2. B2_fuse ignores any requests to set permissions.\n* Filesystem contains \".sha1\" files, these are undeletable and contain the hash of the file without the postfix. This feature can be disabled by setting variable \"enable_hashfiles\" to False.\n* For optimal performance and throughput, you should store a few large files. Small files suffer from latency issues due to the way B2 API is implemented. Large files will allow you to saturate your internet connection.\n\n### Application specific notes:\n\n#### Using RSync with B2 Fuse\n\nSince there is no support for updating file times or permissions in a bucket, rsync must be told to ignore both when synching folders (sync will be based on checksum meaning files have to be downloaded to compare).\n\n```\nrsync -avzh --no-perms --no-owner --no-group dir1/ dir2/ \n```\n\nOption \"--inplace\" may also be useful. RSync creates a temporary file when syncing, this option will make RSync update the file inplace instead (Effectively twice as fast syncing).\n\n#### Using unison to synchronize against mounted folder\n\nAgain, we ignore permissions as these are not applicable.\n\n```\nunison dir1/ dir2/ -auto -perms 0 -batch\n```\n\n#### Using encfs to overlay a locally encrypted filesystem onto the bucket\n\nInstall encfs (apt-get install encfs)\n\n```\nencfs \n```\n\n#### Instruction for permanent mounting of B2Fuse can be found [here](../master/permanent_mount.md)\n\n### Known issues:\n\n* Concurrent access from multiple client will lead to inconsistent results\n* Small files give low read/write performance (due to high latency)\n* Some text editors may return odd characters when viewing the \".sha1\" files. Use cat for reliable operation.\n\n\nLicense: MIT license", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "b2fuse", "package_url": "https://pypi.org/project/b2fuse/", "platform": "", "project_url": "https://pypi.org/project/b2fuse/", "project_urls": null, "release_url": "https://pypi.org/project/b2fuse/1.3/", "requires_dist": null, "requires_python": "", "summary": "FUSE integration for Backblaze B2 Cloud storage", "version": "1.3" }, "last_serial": 3727516, "releases": { "1.3": [ { "comment_text": "", "digests": { "md5": "0cfaa9e40e73fec25e44bb40335a630a", "sha256": "e07281f54ae294a05e132e3248c120f48db25dc6202c4b5bec1357205903bdb8" }, "downloads": -1, "filename": "b2fuse-1.3.tar.gz", "has_sig": false, "md5_digest": "0cfaa9e40e73fec25e44bb40335a630a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13974, "upload_time": "2018-04-02T20:28:01", "url": "https://files.pythonhosted.org/packages/67/e6/6884773918f9d05cd7a73d9c89e55caf0bf37b82022d144f6da407d75da1/b2fuse-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0cfaa9e40e73fec25e44bb40335a630a", "sha256": "e07281f54ae294a05e132e3248c120f48db25dc6202c4b5bec1357205903bdb8" }, "downloads": -1, "filename": "b2fuse-1.3.tar.gz", "has_sig": false, "md5_digest": "0cfaa9e40e73fec25e44bb40335a630a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13974, "upload_time": "2018-04-02T20:28:01", "url": "https://files.pythonhosted.org/packages/67/e6/6884773918f9d05cd7a73d9c89e55caf0bf37b82022d144f6da407d75da1/b2fuse-1.3.tar.gz" } ] }