semvec/pypi-packages huggingface dataset:
smux 0.6
Simple tmux launcher that will take less than 2 minutes to learn and should work across all versions of tmux
License: MIT

smux
====================

The minimal tmux launcher, with the fewest options to set and the fastest
ramp-up time.

Originally created to be tool to make it easier to reproduce (and interactively
debug) distributed systems bugs that required sshing into a lot of servers and
starting processes, smux is a general purpose tmux launcher whose input
resembles in all respects a concatenation of bash scripts to be run on each
terminal.

Dependencies
========================================

* Python2
* tmux (any version)

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

Run the following command::

    sudo pip install smux

Usage (as a command line tool)
========================================

0. Create a new file, either from scratch or by copying Sample.smux_.
1. (Optional) Specify ``PANES_PER_WINDOW`` and ``LAYOUT`` as described in the
   usage message.
2. For every pane you want to launch, write an entry of the following form.::

      ---------
      command1
      command2
      command3

   Note that a pane does not necessary need to run any commands.

   Note further that it is not uncommon for the first command in a pane to
   be ``ssh ...`` and then the subsequent commands the ones to be run on the
   rmeote server.

3. ``smux.py <input_file_name>``

Usage (as a library)
========================================

smux has a single API call ``create``::

    import smux

    smux.create(numPerWindow,
            [["command1_for_pane1", "command2_for_pane1"],
             ["command1_for_pane2", "command2_for_pane2"],
             ...
             ])

.. _Sample.smux: https://github.com/hq6/smux/blob/master/Sample.smux
sitesync 1.0.3
Script to sync db and/or data from remote host
License: MIT
Keywords: django database

sitesync
========

Script to sync db and/or data from remote host

Installation
------------

::

    pip install git+https://github.com/morlandi/sitesync


Usage
-----

Provides an easy way to build a working local copy from a remote site, either by:

1) DUMP: saving a copy of remote database and data into ./dump/HOST folder
2) SYNC: replacing local database and data downloading a fresh copy from remote host

Supported platforms:

1) Django (postgresql db + ./public/media/)
2) Workpress (mysql + ./www/wordpress/)


Usage: sitesync [-h] [-v {0,1,2,3}] [--dry-run] [--quiet] [--localhost]
                action target

Dump remote db and/or data, or Sync local db and/or data from remote instance

positional arguments:
  action                choices: sync, dump
  target                choices: db, data, all

optional arguments:
  -h, --help            show this help message and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level. (default: 2)
  --dry-run, -d         simulate actions
  --quiet, -q           do not require user confirmation before executing commands
  --localhost, -l       dump db and data from localhost into ./dumps/localhost





History
=======

v1.0.3
------
* Suggest relative local paths in default config file
* Added support for legacy Postgresql syntax

v1.0.2
------
* Python 2 & 3 compatibility

v1.0.1
------
* Few fixes for Python3

v1.0.0
------
* Initial setup
happybase-mock 0.10.0
A mocking library for HappyBase
License: MIT

HappyBase-mock
==============

.. image:: https://badge.fury.io/py/happybase-mock.svg
    :target: http://badge.fury.io/py/happybase-mock

.. image:: https://travis-ci.org/eliangcs/happybase-mock.svg?branch=master
    :target: https://travis-ci.org/eliangcs/happybase-mock

.. image:: https://coveralls.io/repos/eliangcs/happybase-mock/badge.png?branch=master
    :target: https://coveralls.io/r/eliangcs/happybase-mock

A mocking library for HappyBase_.

Installing HBase_ is not easy. Running HBase_ also costs high system resource.
This library simulates HappyBase_ API in local memory, so you don't have to
set up HBase_. This is handy if you want to do fast in-memory testing.


Installation
------------

To install HappyBase-mock, just do::

    pip install happybase-mock


Usage
-----

The API and package structure of HappyBase-mock is a mimic of HappyBase_. They
are almost identical, so you can use it like you normally would do in
HappyBase_.

For example, you can replace ``happybase`` package with ``happybase_mock``.
Then all of the operations will be performed in memory::

    import happybase_mock as happybase

    pool = happybase.ConnectionPool(host='localhost', table_prefix='app')
    with pool.connection() as conn:
        table = conn.table('table_name')
        table.put('rowkey', {'d:data': 'value'})

TIP: You can also use Mock_ library to help you patch HappyBase_ on runtime.


.. _HappyBase: https://github.com/wbolster/happybase
.. _HBase: http://hbase.apache.org/
.. _Mock: http://www.voidspace.org.uk/python/mock/


Contribute
----------

Running Tests
~~~~~~~~~~~~~

Install test requirements::

    pip install -r requirements-test.txt

Then run the test::

    py.test