summaryrefslogtreecommitdiff
path: root/requests_cache
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect location of redirects.sqlite when using filesystem backendJordan Cook2021-08-231-4/+12
|
* Add appdirs as a dependency, and add 'use_cache_dir' option to SQLite and ↵Jordan Cook2021-08-212-33/+49
| | | | Filesystem backends
* Add CLI arg to benchmark script to select a backendJordan Cook2021-08-202-1/+5
|
* Add support for SQLite in-memory databasesJordan Cook2021-08-202-21/+49
|
* Make DynamoDB and MongoDB naming consistentJordan Cook2021-08-204-12/+14
|
* Add FileCache.paths() wrapper method, and return a list instead of generatorJordan Cook2021-08-202-9/+22
|
* Better backend docsJordan Cook2021-08-207-46/+280
|
* Better serializer docsJordan Cook2021-08-203-29/+44
|
* Move autosummaries to module docstrings instead of template, to make them ↵Jordan Cook2021-08-208-10/+64
| | | | easier to customize
* Rename DbDict to SQLiteDict for consistency with other backends (with ↵Jordan Cook2021-08-193-34/+22
| | | | aliases for backwards-compatibility)
* Some misc docstring editsJordan Cook2021-08-196-22/+19
|
* Exclude cache headers from cache key by defaultJordan Cook2021-08-141-1/+3
|
* Add support for custom cache keysJordan Cook2021-08-143-26/+47
|
* Add support for Last-Modified + If-Modified-Since headersJordan Cook2021-08-145-80/+76
|
* Add support for ETag + If-None-Match headersJordan Cook2021-08-143-18/+35
|
* Convert CacheActions into an attrs classJordan Cook2021-08-142-18/+39
|
* Remove deprecated 'core' module and BaseCache.remove_old_entries()Jordan Cook2021-08-143-23/+1
|
* Drop support for python 3.6Jordan Cook2021-08-145-34/+10
|
* Replace some 'type: ignore' statements with better type hintingJordan Cook2021-08-144-17/+23
|
* Update changelog, contributors, and bump versionJordan Cook2021-08-121-1/+1
|
* Parallelize unit tests per module instead of per functionJordan Cook2021-08-122-3/+4
|
* Ensure httpdate strings from headers get converted to UTCJordan Cook2021-08-121-5/+4
|
* Add test coverage for optional serialization dependenciesJordan Cook2021-08-121-9/+8
|
* SQLite clear(): first attempt DROP TABLE, then delete and re-initialize the ↵Jordan Cook2021-08-101-6/+10
| | | | cache file if that fails
* Apply whitespace/EOF fixes and isort updatesJordan Cook2021-08-082-3/+0
|
* Add better examples for using requests-cache with requests-mockJordan Cook2021-08-071-1/+1
|
* More doc formatting and class/module linksJordan Cook2021-08-071-8/+8
|
* For filesystem backend, add an appropriate file extension to cache filesJordan Cook2021-08-032-11/+31
|
* Pretty-print JSON by defaultJordan Cook2021-08-031-1/+8
|
* Add a `BaseCache.delete_urls()` methodJordan Cook2021-08-021-0/+4
|
* Update `DbDict.bulk_delete()` to support deleting more items than SQLite's ↵Jordan Cook2021-08-021-8/+16
| | | | variable limit (999)
* Update `DbCache.clear()` to succeed even if the database is corruptedJordan Cook2021-08-021-13/+31
|
* Add separate Dependabot schedules for requests+urllib3 (daily) vs everything ↵Jordan Cook2021-07-211-1/+1
| | | | else (weekly)
* Add doc section and sample response for YAML serializerJordan Cook2021-07-211-2/+2
|
* Add CachedResponse.cache_key attribute and update in CachedSession.send()Jordan Cook2021-07-204-13/+17
|
* Fix unpickling CachedResponse on python 3.6Jordan Cook2021-07-161-0/+6
|
* Update changelog, bump project version, and bump black versionJordan Cook2021-07-161-1/+1
|
* Add support for Response.next when 302 responses are cached directlyJordan Cook2021-07-162-4/+25
|
* Make CachedResponse a non-slotted class to allow client code to set ↵Jordan Cook2021-07-161-12/+5
| | | | arbitrary attributes on it
* Bump versionv0.7.1Jordan Cook2021-07-091-1/+1
|
* Fix cache_control option to correctly toggle cache header usage (off by default)Jordan Cook2021-07-091-0/+9
|
* Add mypy to CI jobs, and add py.typed to indicate PEP-561 complianceJordan Cook2021-07-061-0/+1
|
* Improve type annotations and fix type checking errorsJordan Cook2021-07-0612-94/+144
|
* Update changelogJordan Cook2021-07-061-2/+4
|
* Some serialization fixes & updates:Jordan Cook2021-07-039-152/+194
| | | | | | | | | | | | | | | | | * Fix tests on python 3.6: * Make `cattrs` optional again * Don't run tests for serializers with missing optional dependencies * Show any skipped tests in pytest output * Fix redirect serialization for backends that serialize all values (DynamoDB and Redis) * Otherwise, the redirect value (which is just another key) will get converted into a `CachedResponse` * Make `pickle` serializer use `cattrs` if installed * Make `bson` serializer compatible with both `pymongo` version and standalone `bson` library * Split up `CattrStage` and preconf converters into separate modules * Turn preconf converters into `Stage` objects * Add `DeprecationWarning` for previous method of using `itsdangerous`, now that there's a better way to initialize it via `SerializerPipeline` * Remove `suppress_warnings` kwarg that's now unused * Make `SerializerPipeline`, `Stage`, and `CattrStage` importable from top-level package (`from requests_cache import ...`) * Add some more details to docs and docstrings
* Add option to exclude expired responses in keys(), values(), and ↵Jordan Cook2021-07-032-23/+25
| | | | response_count()
* Rephrase BaseCache.__str__() count as 'total rows' to be less ambiguous, ↵Jordan Cook2021-07-031-1/+4
| | | | since the total may include invalid responses
* Add BaseCache.response_count() method to get an accurate count of valid ↵Jordan Cook2021-07-031-0/+6
| | | | responses
* Merge pull request #286 from parkerhancock/serialization_pipelinesJordan Cook2021-06-2211-213/+201
|\ | | | | Serialization Pipeline Refactor
| * removed initialization serializer checkParker Hancock2021-06-211-10/+0
| |