https://github.com/divbzero/aioclient
An async web client for humans
https://github.com/divbzero/aioclient
async asyncio client forhumans python web
Last synced: about 11 hours ago
JSON representation
An async web client for humans
- Host: GitHub
- URL: https://github.com/divbzero/aioclient
- Owner: divbzero
- License: mit
- Created: 2018-03-09T15:47:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T22:21:41.000Z (9 months ago)
- Last Synced: 2025-12-22T01:26:00.007Z (about 1 month ago)
- Topics: async, asyncio, client, forhumans, python, web
- Language: Python
- Homepage: https://pypi.python.org/pypi/aioclient
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
aioclient
===
Installation
---
```sh
python3 -m pip install aioclient
```
Usage
---
```python
import aioclient
import asyncio
async def get_example():
status, headers, body = await aioclient.get('https://www.example.com/')
print(body)
asyncio.run(get_example())
```
Changelog
---
### v0.1.0
* GET requests return `status, headers, body` tuples
### v0.2.0
* Support `OPTIONS`, `HEAD`, `POST`, `PUT`, `PATCH`, and `DELETE` requests
* Deserialize `text/xml` responses as XML `ElementTree`
### v0.2.1
* Fix project description
### v0.2.2
* Remove `cchardet` dependency