softlayer-object-storage-python
softlayer-object-storage-python copied to clipboard
SoftLayer Object Storage Python Client
What has bee handled: - Use of `dict.items()` instead of `dict.iteritems` - Enforce unicode as input of `json.loads` - Handling Exception syntax - Implement `__iter__` and `__len__` for abstract classes...
Failing to connect using `sl_storage = object_storage.get_client('YOUR_USERNAME', 'YOUR_API_KEY', datacenter='dal05')` Don't know which credentials to use. Here is what my Bluemix OS credentials looks like ```json { "auth_url": "https://identity.open.softlayer.com", "project": "object_storage_072d5151_ee1a_4432_afa8_e822cbaa146c",...
Hey, I am getting following error, i have tried setting up on different server, on local server code is working fine. Request Method: GET Request URL: http://*********/ Django Version: 1.9.5...
When I tried to create the client (using windows 7 + python 3.4 ) I got the following error: Traceback (most recent call last): File "C:\scripst\getdetails\customerObjectStorageIssue.py", line 3, in sl_storage...
Hey guys, Has anyone tested this on python 3.x? Is it supported? Thanks, Wissam
what is the right way to get cdn_url from object_storage? after doing prime_cd and get_info, cdn_url is None ``` >>> sl_storage = object_storage.get_client('###', '###',datacenter='sjc01') >>> f=c['YUk1-27-Apr-15-10-33-04.xml'] >>> f.prime_cdn() f >>>...
How upload files with Object Storage, how using a method Write or chunk_upload, help me please
How do i set Expires, and cache control Headers? This doesn't set the expires and cache control headers. ``` sl_storage = object_storage.get_client('XXX', 'YYY',datacenter='sjc01') f=sl_storage['video']['aa.txt'].create() f.load_from_filename('aa.txt') f.update(headers={'Expires':'Thu, 31 Dec 2037 23:55:55...
ChunkedUploadConnection doesn't seem to be ensuring that any port it parses out of the connection string is actually an int() before passing it onto an HTTPConnection/HTTPSConnection object. From there, it...
I have a virtual server on softlayer with closed public network, and when I try to run the following, it fails (Exception below): import object_storage sl_storage = object_storage.get_client(X,Y, datacenter='dal05',auth_url='http://dal05.objectstorage.softlayer.net/auth/v1.0') #...