===============
This is a simple hack to allow the writing to redis as if it was
just file object in python.
Usage
-----
# Import and open up a ne "file"
from redisfile import RedisFile
f = RedisFile("myrediskey")
# Write some lines to the "file"
f.write('hello')
f.writelines('world')
f.writelines('Your
Awesome')
# Read the whole file
print f.read()
# Reading a file from the end shows no data
print f.read()
# seek to the start of the file
f.seek(0)
# Read a single line
print f.readline()
# Read the rest
print f.read()
# "close" will delete all the data
f.close()
Installation
------------
Installation is simple too::
$ pip install redis-file
Metadata
Release files for reids-file 0.0.1
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 |
|---|---|---|---|---|
| reids-file-0.0.1.tar.gz | 2.0 kB | Without provenance | Details for reids-file-0.0.1.tar.gz |
Release files / reids-file-0.0.1.tar.gz
| Download URL | reids-file-0.0.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
600be4362306e4a39d54f570e35f3017ac86e2487250e215486fd8f190579681
|
|
BLAKE2b-256 checksum How to use checksums |
20a9df02bfab957a8478826d1a102bfbbe91be847e072e4068d90cc8c63ee424
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for reids-file 0.0.1
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.