jzqt / aioqiniu Goto Github PK
View Code? Open in Web Editor NEW基于asyncio和aiohttp的七牛云Python异步客户端。
License: MIT License
基于asyncio和aiohttp的七牛云Python异步客户端。
License: MIT License
七牛官方没有提供async的SDK,在pip上找到的。学习一个。
观察到使用了aiohttp,在你的另一篇文章中提到,由于使用了asyncio特有的协程,会出现一定的问题。「我自己在python3.6 + tornado4.5.1下复现了该问题」因此,该SDK是否不能直接在tornado中使用?
ps. 此前我在处理run_on_executor的时候碰到过类似的问题,run_on_executor的协程不能直接await,需要使用asyncio.futures.wrap_future装饰一层。与你的文章提到的用装饰器解决方案很类似。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.