Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 !