Metadata-Version: 2.1
Name: ustorage
Version: 0.1.1
Summary: Unified Storage Interface for Python.
Home-page: https://github.com/wonderbeyond/ustorage
Author: wonderbeyond
Author-email: wonderbeyond@gmail.com
License: UNKNOWN
Description: UStorage
        ========
        
        Unified Storage Interface for Python.
        Copied and decoupled from [Flask-FS](https://github.com/noirbizarre/flask-fs) for working anywhere.
        
        Thanks to [Flask-FS](https://github.com/noirbizarre/flask-fs)
        
        See also [django-storages](https://github.com/jschneier/django-storages)
        
        ## Installation
        
        ```
        $ pip install ustorage
        ```
        
        ## Quick start
        
        ```python
        from ustorage.s3 import S3Storage
        
        options = {
            'endpoint': 'https://s3.cn-north-1.amazonaws.com.cn',
            'access_key': '<AccessKey>',
            'secret_key': '<SecretKey>',
            'bucket': 'my-bucket',
            'region': 'cn-north-1',
        }
        fs = S3Storage(options)
        
        fs.write('hello.txt', 'Hello, World!')
        fs.exists('hello.txt')
        fs.read('hello.txt')
        fs.delete('hello.txt')
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Provides-Extra: s3
