Redisolar Sample Data Generator
This is a fast sample data generator for the Education team's "redisolar" applications.
Python Version
This package requires Python 3.7.
Installation
After checking out the repository, make sure you are using a virtualenv. Create one in the checkout directory like this:
python3 -m venv env
Then activate it:
source env/bin/activate
Next you can install the Python dependencies with pip:
pip install .
If you're going to work on the code, install it in "editable" mode and include the dev dependencies:
pip install -e ".[dev]"
Running
This package installs the load_redisolar command. Running it generates
sample data and uploads it to a target Redis instance.
By default, redisolar uploads to a Redis instance running on localhost at
port 6379, with no password. It uses an included JSON fixture file containing
Site data.
You can override the hostname, port, and fixture file with the --hostname,
--port, and --filename options:
$ load_redisolar --hostname 192.168.1.2 --port 16379 --filename path/to/sites.json
Specifying a password
For password-protected Redis instances, you can specify a password
interactively with the --request-password option.
$ load_redisolar --request-password
Redis password: xyz
Specify a password non-interactively by setting the environment variable
REDISOLAR_REDIS_PASSWORD.
$ export REDISOLAR_REDIS_PASSWORD=xyz
$ load_redisolar
Metadata
Release files for redisolar-sample-data-generator 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| redisolar_sample_data_generator-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for redisolar_sample_data_generator-1.0.5-py3-none-any.whl |
Release files / redisolar_sample_data_generator-1.0.5-py3-none-any.whl
| Download URL | redisolar_sample_data_generator-1.0.5-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e862c0bb96ebd1e2e6fb3e85a979aee62290bbb767f9c0cd4e5c441ab028a9ad
|
|
BLAKE2b-256 checksum How to use checksums |
c54d6c0ac7f2ebe335211b20a4f8f56f3b2cbe6d544f6267d807998df2486d76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for redisolar-sample-data-generator 1.0.5
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.