Skip to content

Commit 41df98c

Browse files
Merge pull request #18 from bjoernmeier/add-url-docu
Add README section for URL types
2 parents 4bf9186 + 792eed5 commit 41df98c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,20 @@ There are two possibilities to use storefact.
6363
store.put(u'key', b'value')
6464
assert store.get(u'key') == b'value'
6565
66+
URL and store types:
67+
68+
* In memory: :code:`memory://` and :code:`hmemory://`.
69+
* Redis: :code:`redis://[[password@]host[:port]][/db]` and :code:`hredis://[[password@]host[:port]][/db]`
70+
* Filesystem: :code:`fs://` and :code:`hfs://`
71+
* Amazon S3: :code:`s3://access_key:secret_key@endpoint/bucket[?create_if_missing=true]` and :code:`hs3://access_key:secret_key@endpoint/bucket[?create_if_missing=true]`
72+
* Azure Blob Storage (:code:`azure://` and :code:`hazure://`):
73+
* with storage account key: :code:`azure://account_name:account_key@container[?create_if_missing=true][?max_connections=2]`
74+
* with SAS token: :code:`azure://account_name:shared_access_signature@container?use_sas&create_if_missing=false[?max_connections=2&socket_timeout=(20,100)]`
75+
* with SAS and additional parameters: :code:`azure://account_name:shared_access_signature@container?use_sas&create_if_missing=false[?max_connections=2&socket_timeout=(20,100)][?max_block_size=4*1024*1024&max_single_put_size=64*1024*1024]`
76+
77+
Storage URLs starting with a :code:`h` indicate extended allowed characters. This allows the usage of slashes and spaces in blob names.
78+
URL options with :code:`[]` are optional and the :code:`[]` need to be removed.
79+
6680
Documentation
6781
=============
6882

0 commit comments

Comments
 (0)