semvec/pypi-packages huggingface dataset:
swissdutch 0.1.0
An implementation of the Swiss Dutch pairing system in Python
License: MIT
Keywords: swiss,pairing,dutch,system,chess,tournament

Dutch Pairing System for Swiss Tournaments
==========================================

The Dutch is a pairing system for tournaments in the Swiss format. Although
designed to be used for chess tournaments, it may prove useful for other types
of games using the Swiss tournament format, e.g. *Magic: The Gathering (tm)*.

The focus in the Dutch system is on two aspects, in descending priority:

1. Pairing players with similar scores
2. Allocating colours in a fair manner

Mario Held has written an excellent [turorial](http://www.tinyurl.com/held2014)
on the Dutch system in which he guides the reader through its implementation
for an example 5 round tournament. He also provides an annotated copy of the
FIDE Dutch rules in an appendix.
fuzzify 0.0.1
rSync fuzzy file pool creation
License: MIT

fuzzify
=======

rSync fuzzy file pool manager

rSync does a wonderful job of finding like files using it's `--fuzzy` flag in a transfeterred files directory but does not properly index and scour through the entire file set to find matching files.  The result of this not happening is when files move or are removed from a file set and replaced again rSync loses the ability to match up remote content and further save bandwidth.

fuzzify simply sets up a pool as a temporary directory where hard links of the file set are grouped into directories representing the file size (or optionally an sha256 sum of the contents) and named similarly to eachother so that rSync can easily find and match up files that have a high possibility of being the same throughout the entire file set.

Once fuzzify has been run both locally and remotely under the source and destination directory then rSync can be run again with the ``--hard-links`` flag on on the entire file set where the pool is processed first due to its alphanumerically tuned directory name of ``...fuzzify```.

With any luck, and in an office environment there will be plenty of opportunity, files that have moved will not be retransferred to the remote location.

The fuzzify prep time is a consideration of course if you are planning on backing up files.  It runs quickly, hopefully it runs fast enough to make the bandwidth savings worth it in your situation.

You can optionally have fuzzify run in dirty mode.  When files are removed from the file set they will persist in a way in the fuzzify pool where when they are restored to the file set there is a high likelyhood that rsync will find a match.  It is probably not desirable to keep the pool dirty for very long due to it retaining all files via hard link each time the pool is refreshed.

Example Session
---------------

On Local:

.. code::

  fuzzify --logging=debug /sourcedir/
  
On Remote:

.. code::

  fuzzify --logging=debug /destdir/

The rSync:

  rsync -avPHS --human-readable --stats --fuzzy /sourcedir/...fuzzify /sourcedir/ remote:/destdir/ --delete --delete-after

Then just remove ...fuzzify in sourcedir and destdir as needed.
ocqm_cohort_website 0.1.9
A tool to build a static website for OCQM cohorts.
License: MIT

Part of our research server that we offer OCQM clients. See http://www.ocqm.org/

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

To use locally create a new virtual environment in an empty folder::

    virtualenv -p python3.4 .

Activate the environment:

    source bin/activate

And install the package::

    pip install ocqm_cohort_website

Usage
-----

To see how it looks like just run::

    ocqm-cohort-website demo

And open http://localhost:8000

To create your own site run in an empty folder::

    ocqm-cohort-website init

And start editing the `cohort.yml` file. To see your changes run::

    ocqm-cohort-website build --serve

And have a look at http://localhost:8000 again.

Tests
-----

To run the tests install tox::

    pip install tox

And run it::

    tox

ocqm_cohort_website works with python 2.7 and python 3.3+

Current Build Status
~~~~~~~~~~~~~~~~~~~~
|Build Status|

.. |Build Status| image:: https://secure.travis-ci.org/seantis/ocqm_cohort_website.png
   :target: http://travis-ci.org/seantis/ocqm_cohort_website

Translations
------------

To add a new language::

    python setup.py init_catalog -l <locale>

e.g.::

    python setup.py init_catalog -l it

To update the catalog::

    python setup.py update_catalog

To compile the catalog::

    python setup.py compile_catalog

Updating and compiling the catalog is required every time a text changes!

License
-------

ocqm_cohort_website is licensed under MIT. See LICENSE file.

Attribution
-----------

* The images in the example cohort are from http://pixabay.com/

* The chart in the example has been generated by http://www.chartjs.org/
History
-------

0.1.9 (2014-09-22)
~~~~~~~~~~~~~~~~~~

- Adds ability to define a list of portraits.
  [freinhard]

- Adds more example content.
  [freinhard]

0.1.8 (2014-09-19)
~~~~~~~~~~~~~~~~~~

- Fixed typo in German example text.
  [freinhard]

- Added list styling including example list.
  [freinhard]

0.1.7 (2014-08-25)
~~~~~~~~~~~~~~~~~~

- Make sure the *.mo files are included in the release package.
  [href]

0.1.6 (2014-08-25)
~~~~~~~~~~~~~~~~~~

- Fixed bad nesting of langauges. Closes #1.
  [href]

- Rounded corners banner image for the top only.
  [freinhard]

0.1.5 (2014-08-21)
~~~~~~~~~~~~~~~~~~

- No longer compile the catalog on the fly.
  [href]

0.1.4 (2014-08-21)
~~~~~~~~~~~~~~~~~~

- Fixes demo not working.
  [href]

0.1.3 (2014-08-21)
~~~~~~~~~~~~~~~~~~

- Fixes http server not working under Python 3.
  [href]

0.1.2 (2014-08-21)
~~~~~~~~~~~~~~~~~~

- Properly include babel commands in setup.py.
  [href]

- Make sure all files are included in the package.
  [href]

0.1.1 (2014-08-21)
~~~~~~~~~~~~~~~~~~

- Renames remaining ocqm_cohort_site references to ocqm_cohort_website.
  [href]

0.1 (2014-08-21)
~~~~~~~~~~~~~~~~

- Initial release.
  [href]
fabric-verbose 0.1.0
fabric-verbose
License: MIT
Keywords: Fabric,Verbose

Fabric-Verbose
==============

.. image:: https://badge.fury.io/py/fabric-verbose.svg
   :target: http://badge.fury.io/py/fabric-verbose

At a glance
-----------

**fabfile.py**

.. code-block:: python

   from fabric_verbose import verbose

   # ...

   def deploy():
        with verbose("Discarding local changes") as v:
            v.run('git reset HEAD; git clean -fd; git checkout .')

        with verbose("Pulling source code") as v:
            v.run('git pull')

        with verbose("Installing requirements") as v:
            v.run('pip install -r requirements.txt')

        with verbose("Starting") as v:
            v.run('fab start')


**Output**

.. code-block::

   * Discarding local changes... Done
   * Pulling source code... Done
   * Installing requirements... Done
   * Starting... Failed

   Fatal error: /bin/sh: uwsgi: command not found

   Aborting.


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

.. code-block:: console

   $ pip install fabric-verbose