This project has been archived by its maintainers, and is no longer receiving any updates.
Redis Dumper
CLI utility and library for creating encrypted redis dump.
Install
pip install redis_dumper
Use in CLI
redis_dumper [OPTIONS] COMMAND [ARGS]...
Use in your code
Examples:
import io
import aioredis
import redis_dumper
REDIS_ADDR = 'redis://10.0.0.1:6379'
PASSWORD = 'qwerty'
FILE_PATH = 'mydump.rdump'
async def dump_to_file_example():
await redis_dumper.dump_to_file(REDIS_ADDR, PASSWORD, FILE_PATH)
async def dump_to_bytesio_example():
dump = await redis_dumper.dump_to_bytesio(REDIS_ADDR, PASSWORD)
async def restore_from_file_example():
await redis_dumper.restore_from_file(REDIS_ADDR, PASSWORD, FILE_PATH)
async def restore_from_bytesio_example(dump: io.BytesIO):
await redis_dumper.restore_from_bytesio(REDIS_ADDR, PASSWORD, dump)
# you can also use the already created aioredis.Redis instance
async def example_with_created_redis():
redis = await aioredis.create_redis(REDIS_ADDR)
dump = await redis_dumper.dump_to_bytesio(redis, PASSWORD)
Metadata
Release files for redis-dumper 0.1.0
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 |
|---|---|---|---|---|
| redis_dumper-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for redis_dumper-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| redis_dumper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for redis_dumper-0.1.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / redis_dumper-0.1.0.tar.gz
| Download URL | redis_dumper-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19812d2f3c22f41ab2c8ca5cd641c6d8de55cd0576a4dafde34b7cae01723679
|
|
BLAKE2b-256 checksum How to use checksums |
8699b54bfc62208d4d4584bae1f191fb8be43895b05339f1f0c29abef55708b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
|
Release files / redis_dumper-0.1.0-py3-none-any.whl
| Download URL | redis_dumper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e15459e661cfae8b0733bb6d21dbcb56b5c973be73718251e508974b8b76c28c
|
|
BLAKE2b-256 checksum How to use checksums |
e04e5bf88ce1a793e79a233bee7e7bb77ae35ed77b006f62ac6f4ab5bc207feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
|
Security for redis-dumper 0.1.0
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.