RedisGears cli
Project description
gears-cli
Simple cli that allows the send python code to RedisGears
Install
pip install gears-cli
Install latest code
pip install git+https://github.com/RedisGears/gears-cli.git
Usage
Usage: __main__.py [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
export-requirements Export requirements from RedisGears
import-requirements Import requirements to RedisGears
install-requirements Install give requirements
run Run gears function
> gears-cli run --help
Usage: __main__.py run [OPTIONS] FILEPATH [EXTRA_ARGS]...
Run gears function
Options:
--host TEXT Redis host to connect to
--port INTEGER Redis port to connect to
--password TEXT Redis password
--requirements TEXT Path to requirements.txt file
--help Show this message and exit.
> gears-cli export-requirements --help
Usage: __main__.py export-requirements [OPTIONS]
Export requirements from RedisGears
Options:
--host TEXT Redis host to connect to
--port INTEGER Redis port to connect to
--password TEXT Redis password
--save-directory TEXT Directory for exported files
--output-prefix TEXT Prefix for the requirement zip file
--registration-id TEXT Regisrations ids to extract their requirements
--requirement TEXT Requirement to export
--all Export all requirements
--help Show this message and exit.
> gears-cli import-requirements --help
Usage: __main__.py import-requirements [OPTIONS] [REQUIREMENTS]...
Import requirements to RedisGears
Options:
--host TEXT Redis host to connect to
--port INTEGER Redis port to connect to
--password TEXT Redis password
--requirements-path TEXT Path of requirements directory containing
requirements zip files, could also be a zip file
contains more requirements zip files
--bulk-size INTEGER Max bulk size to send to redis in MB
--help Show this message and exit.
> gears-cli install-requirements --help
Usage: __main__.py install-requirements [OPTIONS] [REQUIREMENTS]...
Install give requirements
Options:
--host TEXT Redis host to connect to
--port INTEGER Redis port to connect to
--password TEXT Redis password
--requirements-file TEXT Path to requirements.txt file
--help Show this message and exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gears-cli-1.1.0.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for gears_cli-1.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a01f494a973fe22ca9d830c252e223bbd8a7bc37c9ad7a5f700e42d61daa60a |
|
MD5 | f4e3dfb1e4ab7294f0e1c13dd8c2b3bd |
|
BLAKE2b-256 | cf5568390ae326e30ac08aff095987f57d565a2a82849d8e71a3332eac47b3a3 |