All Projects → guyskk → Curequests

guyskk / Curequests

Licence: mit
Curio + Requests: Async HTTP for Humans

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
Snug
Write reusable web API interactions
Stars: ✭ 108 (-55.56%)
Mutual labels:  async, requests
Asks
Async requests-like httplib for python.
Stars: ✭ 429 (+76.54%)
Mutual labels:  async, requests
Redux Arc
A declarative way to make request with redux actions
Stars: ✭ 162 (-33.33%)
Mutual labels:  async, requests
Sourcecodeofbook
《Python爬虫开发 从入门到实战》配套源代码。
Stars: ✭ 226 (-7%)
Mutual labels:  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
Autoline
建议你使用更新的AutoLink平台
Stars: ✭ 227 (-6.58%)
Mutual labels:  requests
Mysql
Async MySQL client for PHP based on Amp.
Stars: ✭ 235 (-3.29%)
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
Run Series
Run an array of functions in series
Stars: ✭ 223 (-8.23%)
Mutual labels:  async
Dsladapter
🔥 Kotlin时代的Adapter, Dsl 的形式使用 RecyclerView.Adapter, 支持折叠展开, 树结构,悬停,情感图状态切换, 加载更多, 多类型Item,侧滑菜单等
Stars: ✭ 231 (-4.94%)
Mutual labels:  async
Network
C# Network Library
Stars: ✭ 237 (-2.47%)
Mutual labels:  async

Curio + Requests: Async HTTP for Humans

PyPI travis-ci codecov

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

  1. 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.
  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  3. Write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.md.

Similar projects

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].