Scrapy Memcached Cache
Memcached HTTP cache storage backend for Scrapy.
Install
Install the package with pipenv install scrapy-memcached-cache or pip install memcached-cache.
Usage
In your Scrapy settings.py:
Enable HTTP cache with HTTPCACHE_ENABLED = True
Set the cache expiration (in seconds), for example, with HTTPCACHE_EXPIRATION_SECS = 600
Set MemcachedCacheStorage as your cache storage with HTTPCACHE_STORAGE = 'scrapy_memcached_cache.MemcachedCacheStorage'
Set the location where your Memcached is running, for example, with MEMCACHED_LOCATION=localhost:11211
Done 🎉
Contributing
Please, format your code with Black.
Metadata
Release files for scrapy-memcached-cache 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scrapy-memcached-cache-0.0.3.tar.gz | 2.5 kB | Without provenance | Details for scrapy-memcached-cache-0.0.3.tar.gz |
Release files / scrapy-memcached-cache-0.0.3.tar.gz
| Download URL | scrapy-memcached-cache-0.0.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbc8b3649fde268b046e85bbcfbf475563a95b166be30612181a5443d68feec5
|
|
BLAKE2b-256 checksum How to use checksums |
3e807204d665aae9b3fb6fb997ff89b6009a52655e1e4101cf54df9dbdee76d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for scrapy-memcached-cache 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.