This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

ebcloudstore is a sdk for 53iq cloud

hello,world

from ebcloudstore.client import EbStore
store = EbStore("your token")
r = store.upload("/your/file/path/hello.jpg")
print(r)

use in tornado

def post(self):
        if len(self.request.files) >= 1:
            file_metas = self.request.files["myfile"]
            for meta in file_metas:
                from ebcloudstore.client import EbStore
                store = EbStore("your token")
                r = store.upload(meta['body'],meta['filename'], meta["content_type"])
                self.write(r)

use in django

def test(request):
    if request.method == "POST":
        if len(request.FILES.dict()) >= 1:
            f = request.FILES["myfile"]
            fn_arr = f.name.split(".")
            from ebcloudstore.client import EbStore
            store = EbStore("your token")
            r = store.upload(f.read(),f.name,f.content_type)
            return HttpResponse(r)

callback after finished

from ebcloudstore.client import EbStore
store = EbStore("your token",action="callback",callback_url="http://your.domain.receive")
r = store.upload("/your/file/path/hello.jpg")

Installation

Automatic installation:

pip install ebcloudstore
  • once you want to use this sdk,first of all you need a token, apply for by email to zhengdw@56iq.com
  • only python3.x supported
Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ebcloudstore-1.1.win-amd64.exe (228.7 kB) Copy SHA256 Checksum SHA256 any Windows Installer Oct 27, 2015
ebcloudstore-1.1.zip (6.9 kB) Copy SHA256 Checksum SHA256 Source Oct 27, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting