cloudstorage
cloudstorage copied to clipboard
Unified cloud storage API for storage services.
Hey everyone, when importing the MinioDriver by `from cloudstorage.drivers.minio import MinioDriver` the following error occurs: ``` from minio import Minio, PostPolicy, definitions ImportError: cannot import name 'PostPolicy' from 'minio' ```...
Currently its not possible to change the endpoint url for the `S3Driver`. I would suggest something like this: ```py @property def s3(self): return self.session.resource( service_name="s3", region_name=self.region, endpoint_url=self._endpoint_url, use_ssl=self._endpoint_use_ssl, verify=self._endpoint_verify, )...
Fix for https://github.com/scottwernervt/cloudstorage/issues/80
This is using [`pyocclient`](https://pypi.org/project/pyocclient/) to implement a driver for [ownCloud](https://owncloud.com/) & [Nextcloud](https://nextcloud.com/). As both of these systems rather use file/directory semantics instead of container/blob ones, the driver behaves somewhat similar...
While `setup.py` correctly declares a dependency on `python-magic`, relying on PIP for dependency resolution still fails; `python-magic` requires that the `libmagic` shared library is installed into the system separately, and...
I'm looking to gauge whether adding a utility function would be a useful or welcome addition to this library. In order to use `cloudstorage` in some of our projects we've...
**Steps to reproduce:** We have an S3 bucket (which, if relevant, displays a created date in the AWS console) which we are simply trying to access via StorageCloud: ``` container...
The following fails: ```python from cloudstorage.drivers.local import LocalDriver storage = LocalDriver(key="./foobar/") storage.create_container("foo") container = storage.get_container("foo") container.upload_blob("./todo.md", blob_name=f"12/1231/todo.md") for b in container: print(b.path, b.name) ``` With the following trace: ``` FileNotFoundError...