guyskk / Curequests
Licence: mit
Curio + Requests: Async HTTP for Humans
Stars: ✭ 243
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Curequests
Requests Threads
🎭 Twisted Deferred Thread backend for Requests.
Stars: ✭ 366 (+50.62%)
Mutual labels: async, requests
Saber
⚔️ Saber, PHP异步协程HTTP客户端 | PHP Coroutine HTTP client - Swoole Humanization Library
Stars: ✭ 866 (+256.38%)
Mutual labels: async, requests
Many requests
Dead easy interface for executing many HTTP requests asynchronously. Also provides helper functions for executing embarrassingly parallel async coroutines.
Stars: ✭ 384 (+58.02%)
Mutual labels: async, requests
Redux Arc
A declarative way to make request with redux actions
Stars: ✭ 162 (-33.33%)
Mutual labels: async, requests
Swaglyrics For Spotify
📃 Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later. Very fast.
Stars: ✭ 235 (-3.29%)
Mutual labels: requests
Php Console Spinner
Colorful highly configurable spinner for php cli applications (suitable for async apps)
Stars: ✭ 225 (-7.41%)
Mutual labels: async
Loadjs
A tiny async loader / dependency manager for modern browsers (899 bytes)
Stars: ✭ 2,507 (+931.69%)
Mutual labels: async
Pulse
✨ Pulse is a global state and logic framework for reactive Typescript & Javascript applications. Supporting frameworks like VueJS, React and React Native.
Stars: ✭ 243 (+0%)
Mutual labels: requests
Cphalcon7
Dao7 - Web framework for PHP7.x,项目接洽 QQ 176013762
Stars: ✭ 237 (-2.47%)
Mutual labels: async
Brayns
Visualizer for large-scale and interactive ray-tracing of neurons
Stars: ✭ 232 (-4.53%)
Mutual labels: async
Actor Framework
An Open Source Implementation of the Actor Model in C++
Stars: ✭ 2,637 (+985.19%)
Mutual labels: async
Await Of
await wrapper for easier errors handling without try-catch
Stars: ✭ 240 (-1.23%)
Mutual labels: async
Dsladapter
🔥 Kotlin时代的Adapter, Dsl 的形式使用 RecyclerView.Adapter, 支持折叠展开, 树结构,悬停,情感图状态切换, 加载更多, 多类型Item,侧滑菜单等
Stars: ✭ 231 (-4.94%)
Mutual labels: async
Curio + Requests: Async HTTP for Humans
The same taste as Requests!
Overview
from curio import run
from curequests import get, post
async def main():
r = await get('https://httpbin.org/get')
print(r.json())
r = await post('https://httpbin.org/post', json={'hello': 'world'})
print(r.json())
run(main)
Install
Python 3.6+ is required.
pip install curequests
Features
Follow http://docs.python-requests.org/en/master/#the-user-guide
Work in progress, Not production ready!
Quickstart
- [x] Make a Request
- [x] Passing Parameters In URLs
- [x] Response Content
- [x] Binary Response Content
- [x] JSON Response Content
- [x] Custom Headers
- [x] POST a Multipart-Encoded File
- [x] Response Status Codes
- [x] Response Headers
- [x] Cookies
- [x] Redirection and History
- [x] Timeouts
- [x] Errors and Exceptions
Advanced Usage
- [x] Session Objects [CuSession]
- [x] Request and Response Objects [CuResponse]
- [x] Prepared Requests [CuRequest, CuPreparedRequest]
- [x] SSL Cert Verification
- [x] Client Side Certificates
- [x] CA Certificates
- [x] Body Content Workflow
- [x] Keep-Alive
- [x] Streaming Uploads
- [x] Chunk-Encoded Requests [Generator / Async Generator]
- [x] POST Multiple Multipart-Encoded Files
- [x] Event Hooks
- [x] Custom Authentication
- [x] Streaming Requests [Async Generator]
- [x] Proxies [HTTP&HTTPS, not support SOCKS currently]
- [x] Compliance
- [x] HTTP Verbs
- [x] Custom Verbs
- [x] Link Headers
- [x] Transport Adapters [CuHTTPAdapter]
- [x] Blocking Or Non-Blocking?
- [x] Header Ordering
- [x] Timeouts
- [x] Authentication
How to Contribute
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.
- Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.md.
Similar projects
- https://github.com/littlecodersh/trip Async HTTP for Humans, Tornado & Requests In Pair
- https://github.com/theelous3/asks Async requests-like httplib for python
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].