semvec/pypi-packages huggingface dataset:
redis-clu 0.0.7
Redis Cluster Management Tool
License: MIT
Keywords: redis cluster management replication master slave

# redis-clu
Redis Cluster Management Tool

Create/Manage sharded+replicated redis cluster easily.

# Installation

```bash
pip install redis-clu
```

# Usage

##### Create cluster

```bash
# Sharded cluster (master-master)
redis-clu create localhost:6376 localhost:6377 localhost:6378
```


##### Show status

```bash
redis-clu status localhost:6376
```


##### Add masters

```bash
# single node:
redis-clu add localhost:6379
(optional: --keyMigrationCount <count> ) pipelined command, default 1

# multiple nodes:
# recommended for dynamic scaling, it will be split cluster into subclusters
# and each subcluster will be resharding simultaneously
# <cluster> <masters>
redis-clu add_multi localhost:6376 localhost:6381 localhost:6382 
(optional: --keyMigrationCount <count> ) pipelined command, default 1
```


##### Add slaves

```bash
# master-slave replication
# To make redis cluster high available, all master should have at least one slave.
# <master> <slave>
redis-clu replicate localhost:6376 localhost:6385
```


##### Fix cluster

```bash
redis-clu fix localhost:6376
# If occurs "Slot <slot> is already busy" execute with "--force 1"
redis-clu fix localhost:6376 --force 1
```


##### Reshard cluster (Slot balancing)

```bash
redis-clu reshard localhost:6376
(optional: --keyMigrationCount <count> ) pipelined command, default 1
```


##### Remove node

```bash
# <cluster> <node(master or slave)>
redis-clu remove localhost:6376 localhost:6380
(optional: --keyMigrationCount <count> ) pipelined command, default 1
```


##### Flush/Destroy cluster

```bash
# flush cluster (initialize with 0 keys):
redis-clu reset localhost:6376

# destroy cluster:
redis-clu reset localhost:6376 --hard 1
```


# Monitoring

Also you can make your own basic monitoring screen using 'watch'.

    brew install watch (For Mac OSx)
    redis-clu status <cluster_node>
    watch -d -n 1 'redis-clu status localhost:6376'

Monitoring will help you to make an action.

![ScreenShot](https://raw.github.com/baranbartu/redis-clu/master/screenshot.png)
i3-output-selector 0.1.2
GUI tool to change output for the current workspace in i3.
License: MIT
Keywords: i3,workspace,selector,output

i3-output-selector
==================

Damn simple output selector of the current workspace in i3 WM. 
It is based on i3-py package and Tkinter.

.. image:: https://raw.githubusercontent.com/kwarunek/i3-output-selector/master/screenshot.png

Installation
============

You can use pip (python3 and python2 compatible):

::

    pip install i3-output-selector
    # .. or directly from Github
    # pip install git+https://github.com/kwarunek/i3-output-selector.git

App uses Tkinter as a GUI, be sure to have it installed. On Debian/Ubunutu:

::
   
   apt-get install python-tkinter
   # .. or
   # apt-get install python3-tk


Usage
=====

Simply run **i3-output-selector**.

License
=======

MIT
lobot 0.0.7
An extensible IRC bot
License: MIT

LoBot
=====

A highly extensible IRC Bot framework inspired by `irc3 <https://github.com/gawel/irc3>`_

.. image:: https://badge.fury.io/py/lobot.svg
    :target: https://badge.fury.io/py/lobot
    :alt: PyPI Version

.. image:: https://readthedocs.org/projects/lobot/badge/?version=latest
    :target: http://lobot.readthedocs.org/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://travis-ci.org/pyrated/lobot.svg?branch=master
    :target: https://travis-ci.org/pyrated/lobot
    :alt: Travis Build

Getting started
===============

::

    $ pip install lobot


Running LoBot
^^^^^^^^^^^^^

Start LoBot by passing it a working directory::

    $ lobot ~/.lobot


The first time you run LoBot, it will initialize the directory with a simple echo bot::

    bot-directory/
        config.json
        plugs/
            echo.py


Configuration
^^^^^^^^^^^^^

LoBot's configuration is in ``config.json``. The basic LoBot configuration is under the key ``lobot``::

    "lobot": {
        "nick": "LoBot",
        "username": "LoBot",
        "host": "irc.freenode.net",
        "port": 8001,
        "ssl": false,
        "channels": [
            "#lobot"
        ],
        "plugdir": "plugs",
        "plugins": [
            "echo"
        ]
    }


Documentation
=============

https://lobot.readthedocs.org

Requirements
============

- Python >= 3.5

License
=======

| Copyright (c) 2016 Scott LaVigne
|
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.