summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Update docs and screenshots for DynamoDBJordan Cook2023-03-011-5/+1
|
* Add example with requests per second graphJordan Cook2023-01-132-0/+123
|
* Add example with GitHub ActionsJordan Cook2022-07-191-0/+27
|
* Related doc updatesJordan Cook2022-06-177-8/+13
|
* Add example of caching GitHub API requests with PyGitHubJordan Cook2022-06-171-0/+118
|
* Update tests and docsJordan Cook2022-06-113-3/+3
|
* Split up remove_expired_reponses() into remove() and reset_expiration() ↵Jordan Cook2022-06-111-5/+2
| | | | methods, with more granular arguments
* use https for links谭九鼎2022-05-095-11/+11
|
* Add support for DynamoDB TTLJordan Cook2022-04-201-6/+12
|
* Add an example CloudFormation template for DynamoDBJordan Cook2022-04-191-0/+32
|
* Add links to source files on Examples pageJordan Cook2022-04-181-1/+1
|
* Turn VCR converter into an example in the docs instead of a library featureJordan Cook2022-04-181-0/+99
|
* Add indexed datetime column to SQLite backend for faster evictionJordan Cook2022-04-101-6/+4
|
* Refactor refresh/revalidate behaviorJordan Cook2022-04-091-3/+3
| | | | | | | | | | | | | | | * Rename two (unreleased) options to be more consistent with browser behavior: * `revalidate()` -> `refresh()` * `refresh()` -> `force_refresh()` * Revert `RequestSettings` changes and use just kwargs instead for per-request settings * Add full type hints back to extra kwargs for `CachedSession.send()` * Fix a bug in which some kwargs specific to requests-cache could get passed to `requests.Session.send()` * Use 'must-revalidate' as a temporary header for a user-requested refresh * Refer to expiration value of 0 more accurately as 'expire immediately' rather than 'do not cache' * It may potentially be saved and used with revalidation, depending on other headers/settings * `DO_NOT_CACHE` now has a different value but same effect * Refer to constants in docs instead of 0, -1, etc. * Log more details about post-read and pre-cache checks
* Add example of loading settings from a config fileJordan Cook2022-04-012-0/+45
|
* Add documentation example for backtesting with time-machineJordan Cook2022-02-151-0/+39
|
* Add -m / --max-size arg to benchmark scriptJordan Cook2021-11-241-6/+7
|
* Some adjustments for test db generator scriptJordan Cook2021-11-241-8/+16
|
* Fix usage of BaseCache.urls in example scriptsJordan Cook2021-09-192-2/+4
|
* Update benchmark script to optionally run for a specific serializerJordan Cook2021-09-141-4/+10
|
* Some formatting for examplesJordan Cook2021-08-293-3/+3
|
* Add example with URL patternsJordan Cook2021-08-271-0/+49
|
* Add example with ThreadPoolExecutorJordan Cook2021-08-273-1/+40
|
* Reorganize user docs: break down User Guide and Advanced Usage sections into ↵Jordan Cook2021-08-261-2/+2
| | | | smaller pages
* Add CLI arg to benchmark script to select a backendJordan Cook2021-08-201-14/+55
|
* Add read speed test to benchmark exampleJordan Cook2021-08-201-1/+18
|
* Add docs + example script for custom cache keysJordan Cook2021-08-141-0/+64
|
* Add some more details to contributing guide, and add sample caches for 0.7 ↵Jordan Cook2021-08-101-1/+3
| | | | patch versions
* Apply whitespace/EOF fixes and isort updatesJordan Cook2021-08-083-3/+4
|
* Fix generate_test_db script, and add a basic script for testing cache write ↵Jordan Cook2021-07-312-13/+63
| | | | speeds
* Add automated tests for cache behavior after version upgradesJordan Cook2021-06-201-120/+0
|
* Add a BSON serializerJordan Cook2021-06-111-20/+28
|
* Refactor JSONSerializer using cattrs; add support for ultrajsonJordan Cook2021-06-111-37/+64
|
* Move performance test to examples so it doesn't get picked up by pytestJordan Cook2021-06-031-0/+85
|
* Update readthedocs links to point to stable version instead of latestJordan Cook2021-05-081-1/+1
|
* Add an example script to generate a large cache for testing purposesJordan Cook2021-04-291-0/+110
|
* Include example scripts on readthedocsJordan Cook2021-04-165-5/+13
|
* Add example of logging non-cached requestsJordan Cook2021-04-165-0/+46
|
* Add example script to convert an existing cache from previous serialization ↵Jordan Cook2021-04-031-0/+44
| | | | format to new one
* Fix remaining linting issues, and add flake8 to 'analyze' job in GitHub ActionsJordan Cook2021-04-012-0/+2
|
* Move 'Security' section to a separate page, link from Readme, and add ↵Jordan Cook2021-03-281-0/+2
| | | | itsdangerous to default package dependencies
* More usage examples, formatting, and editing for Readme + Sphinx docsJordan Cook2021-03-243-0/+109
* Closes #135, #165 * Add a 'Summary' section at the top of the Readme explaining the scope of requests-cache and why you would want to use it * Add some more info explaining the difference between using `CachedSession` directly vs. patching with `install_cache()` * Move basic examples from 'User Guide' section into Readme * Include Readme in Sphinx docs (using `.. mdinclude::`) and remove duplicate sections * Include Contributing guide in Sphinx docs * Convert History doc to markdown and include in Sphinx docs * Use `automod` options to move main cache documentation from `CacheMixin` back to to `CachedSession`, since that's probably where a user will look first * Add more detailed usage examples to an 'Advanced Usage' section for `CachedSession` options (`filter_fn`, `ignore_parameters`, etc.) * Update example scripts and move them to `examples/` folder