feedcache¶
A class to wrap Mark Pilgrim’s Universal Feed Parser module so that parameters can be used to cache the feed results locally instead of fetching the feed every time it is requested.
Features¶
- Supports etag and modification time caching.
- Parameterized cache supports multiple backend storage options.
Installation¶
Download the latest release from the PyPI page or install with pip feedcache.
Support¶
This project is hosted on bitbucket.org: https://bitbucket.org/dhellmann/feedcache
Please report issues via the bug tracker.
History¶
1.3.1
Updated build to work with hg and migrated code to bitbucket hosting. No source changes.
1.3
Supports purging cache contents, based on a suggestion by Thomas Perl.
1.2
Add a bit of documentation.
1.1
New features based on a patch from Thomas Perl:
- Unicode handling for URLs.
- force_update flag
- offline mode flag
1.0
Lock down the API from the last alpha version, and move to beta status.
0.5
Add tests that illustrate using feedcache with shove.
0.4
API changes and additional tests.
0.3
Eliminates a race condition in the backend storage API.
0.2
Improve the ShelveStorage backend and add an example script to illustrate how to use the cache.
0.1
Early alpha version with in-memory and shelve storage options for the backend.
License¶
Copyright Doug Hellmann, All Rights Reserved
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Doug Hellmann not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.
DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.