Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A lightweight Qiniu Python SDK. github:

Project Description

# coding:utf-8

import tornado.ioloop
import tornado.web
from qiniu_lite import Cow

cow = Cow('access key', 'secret key')
policy = cow.get_put_policy('bucket name')

class MainHandler(tornado.web.RequestHandler):
def get(self):
<form method="post" action="" enctype="multipart/form-data">
<input name="token" type="hidden" value="%s">
<input name="file" type="file" />
<input name="accept" type="hidden" />
<input type="submit" value="涓婁紶" />
</body></html>''' % policy.token())

if __name__ == "__main__":
application = tornado.web.Application([
(r"/", MainHandler),

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.2 kB) Copy SHA256 Hash SHA256
Wheel py3 Oct 17, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers