semvec/pypi-packages huggingface dataset:
ircb 0.3.0
A IRC bouncer
License: MIT
Keywords: irc,client,bouncer

# ircb

A versatile IRC bouncer.

## Requirements

- Python3.5
- Pip3.5


## Setup

- Install dependencies:

    ``[sudo] pip3.5 install -r requirements.txt``

- Copy and extend

    ``ircb/config/default_settings.py``, as needed,     to a custom location. say, ``/etc/ircb/settings.py``.

- [OPTIONAL] ``export IRCB_SETTINGS=<path to your custom settings file>``

- Install the project as a development dep

    ``python3.5 setup.py develop``

## Setup for development

- Install system dependencies:

    `` sudo dnf install python3-devel openssl-devel redis``

    `` sudo pip install virtualenvwrapper``

- Make `python3` virtualenv:

    ``mkvirtualenv --python=/usr/bin/python3 python3``

- Activate virtualenv:

    ``workon python3``

- Install dependencies:

    ``pip3 install -r requirements.txt``

- Install the project as development dep:

    ``python3.5 setup.py develop``

- Make sure `REDIS` is running:

    ``sudo systemctl start redis.service``

- Now, you need to run ``ircb stores``:

    ``ircb run stores``

Continue with `` Setting up data``

## Setting up data
- Creating a user:
  ```
  ircb users create USERNAME EMAIL [PASSWORD]
  ```

- Creating a network for a user:
  ```
  ircb networks create USER NETWORK_NAME HOST PORT NICK
  ```
  You'll get an access token as an output of the above. Use this as
  **server password** when configuring your IRC client to connect to ``ircb``.

## Running the app

### Quickstart
```
sudo ircb run allinone

```

Note: If you are using virtualenv `sudo` will not work this way, you need to
run:

```
sudo ~/.virtualenvs/python3/bin/ircb run allinone

```
### Advanced

You can run the various components of ``ircb``: ``stores``, ``bouncers`` as
different processes.

- Run stores as a different process: ``ircb run stores``
- Run bouncer: ``ircb run bouncer``
- Run web server: ``ircb run web``
- Run identd server: ``sudo ircb run identd``

## Connecting for IRC client

Now, you should be able to connect to ``ircb`` from your IRC client at:

- host/port: ``localhost/9000``

- server password: ``<your network access token>``

- IRC client should have the following settings enabled:

    * Use SSL for all server on this network
    * Accept invalid SSL certificate

### Configure HexChat

- Go to HexChat -> Network List

- Change the nick to the nick you have given while configuring network

- Under ``Network`` Click `Add` and name the server ``ircb``

- Click on `Edit` then `Add` and type `localhost/9000`

- Under ``Server`` tab check the ``SSL`` option mentioned above

- Enter the ``Server Password`` in `Password` field

- Close the dialog box and then connect to the network

Note: In case the problem persist try to ``restart`` ircb server
polygon-infra 0.1a1
An intelligent infrastructure controller
License: MIT
Keywords: virtualization,clusterization,clusters,distributed systems,infrastructure,containers

=======
Polygon
=======

**Polygon is an intelligent infrastructure controller.**

It automates common procedures of development, testing, provisioning, deployment and maintenance of services and tasks in infrastructures. It has a few core principles and concepts (that can be found in its documentation) for guiding its development, is highly extensible and is designed to be lightweight, running in commodity and high-end bare metals, virtual machines and containers.

Read the detailed conceptualization at http://polygon.readthedocs.io/.

---------------
Getting started
---------------

First, clone this repository, then build the Docker image::

$ docker build -t polygon .

Building the docs
^^^^^^^^^^^^^^^^^

::

$ sudo python run.py builddocs

----------
Disclaimer
----------

So far, this is only a conceptual work. I would love to receive feedback and ideas on this.
pytest-auto-parametrize 0.1.0
pytest plugin: avoid repeating arguments in parametrize
License: MIT
Keywords: parametrized,testing

`pytest` plugin: avoid repeating arguments in `parametrize`
===========================================================

This is an alternative to the rejected pull request
`#780 <https://github.com/pytest-dev/pytest/pull/780>`__ of
`pytest <http://docs.pytest.org/>`__.

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

Just get it from `PyPI <https://pypi.org/project/pytest-auto-parametrize>`__::

    python3 -m pip install pytest-auto-parametrize --user

Usage
-----

This is an example for the usage of a `parametrized test`__ without using this
plugin:

__ http://docs.pytest.org/en/latest/parametrize.html

.. code:: python

    import pytest

    testparams = [
        (1, 2, 3, 4, 5, 6, 7),
        (7, 6, 5, 4, 3, 2, 1),
    ]

    @pytest.mark.parametrize('a, b, c, d, e, f, g', testparams)
    def test_many_args(a, b, c, d, e, f, g):
        assert d == 4

The argument list has to be repeated, which is annoying.

By using this plugin, the repetition can be avoided:

.. code:: python

    import pytest

    testparams = [
        (1, 2, 3, 4, 5, 6, 7),
        (7, 6, 5, 4, 3, 2, 1),
    ]

    @pytest.auto_parametrize(testparams)
    def test_many_args(a, b, c, d, e, f, g):
        assert d == 4

The auto-deduced parameters must be in the beginning of the parameter list, but
any other parameters can be used afterwards, e.g. fixtures:

.. code:: python

    import pytest

    testparams = [
        (1, 2, 3, 4, 5, 6, 7),
        (7, 6, 5, 4, 3, 2, 1),
    ]

    @pytest.fixture
    def myfixture():
        return 4

    @pytest.auto_parametrize(testparams)
    def test_many_args_and_fixture(a, b, c, d, e, f, g, myfixture):
        assert d - myfixture == 0

Limitations
-----------

Unlike ``@pytest.mark.parametrize(...)`` the decorator
``@pytest.auto_parametrize(...)`` cannot be used multiple times for the same
test function.  It can be used together with one or multiple instances of
``@pytest.mark.parametrize(...)``, though, as long as the "auto" arguments are
in the beginning of the argument list.