Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/obendidi/httpx-cache
Simple caching transport for httpx
https://github.com/obendidi/httpx-cache
asyncio cache cache-control caching http httpx python
Last synced: 30 days ago
JSON representation
Simple caching transport for httpx
- Host: GitHub
- URL: https://github.com/obendidi/httpx-cache
- Owner: obendidi
- License: bsd-3-clause
- Archived: true
- Created: 2021-12-12T20:44:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T20:17:34.000Z (about 1 year ago)
- Last Synced: 2024-10-31T09:11:42.141Z (about 1 month ago)
- Topics: asyncio, cache, cache-control, caching, http, httpx, python
- Language: Python
- Homepage: https://obendidi.github.io/httpx-cache/
- Size: 967 KB
- Stars: 50
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Archived: This project is no longer maintained, please migrate to [hishel](https://github.com/karosis88/hishel)
--------------------------------------------------------
# HTTPX-CACHE[![codecov](https://codecov.io/gh/obendidi/httpx-cache/branch/main/graph/badge.svg?token=FHHRA6F17X)](https://codecov.io/gh/obendidi/httpx-cache)
httpx-cache is an implementation of the caching algorithms in [httplib2](https://github.com/httplib2/httplib2) and [CacheControl](https://github.com/ionrock/cachecontrol) for use with [httpx](https://github.com/encode/httpx) transport object.
It is is heavily insipired by:
- [https://github.com/ionrock/cachecontrol](https://github.com/ionrock/cachecontrol)
- [https://github.com/johtso/httpx-caching](https://github.com/johtso/httpx-caching)## Documentation
Full documentation is available at [https://obendidi.github.io/httpx-cache/](https://obendidi.github.io/httpx-cache/)
## Installation
Using pip:
```sh
pip install httpx-cache
```_Please make sure to pin the exact `httpx-cache` version for your project, to make sure it all works._
## Contributors
Feel free to contribute !