semvec/pypi-packages huggingface dataset:
djangotribune 0.7.8
Django-tribune is a chat-like application
License: MIT

.. _Django internationalization system: https://docs.djangoproject.com/en/dev/topics/i18n/
.. _texttable: http://pypi.python.org/pypi/texttable/0.8.1
.. _crispy-forms-foundation: https://github.com/sveetch/crispy-forms-foundation
.. _South: http://south.readthedocs.org/en/latest/

Introduction
============

This Django app is a *chat-like application* with some aspects of *IRC* but with a 
strong usage of message clocks.

**Message clocks** are always displayed and used in message to reference answer or 
relation with other messages.

A sample part of Tribune messages will look like this in a plain-text version : ::
    
    16:15:27     <superman>            First
    16:16:13     Anonymous coward      16:15:27 oh no you don't !
    16:15:27     <superman>            16:16:13 lier !
    18:39:01     Mozilla/5.0           Hello world !
    18:39:05     <superman>            18:39:01 hello
    18:43:22     Anonymous coward      18:39:01 yo

The application has a rich interface but is also accessible from third client 
application (via a XML backend) and even in plain text.

Features
********

* Easy embedding in your Django webapp;
* Various backends `Formats`_;
* `Action commands`_;
* `Message filtering`_ usually called a *BaK*;
* A rich interface (currently in development);
* Full localization for french and english language;
* `Discovery`_ XML configuration file for third client applications (aka remote client or *coincoins*);
* Channel support;
* `South`_ support;

Links
*****

* Download his `PyPi package <http://pypi.python.org/pypi/djangotribune>`_;
* Clone it on his `Github repository <https://github.com/sveetch/djangotribune>`_;
* Documentation on `Read the Docs <http://djangotribune.readthedocs.org/>`_;
pytest-rethinkdb 0.1.3
A RethinkDB plugin for pytest.
License: MIT

**warning**: Scaffolding only. Not Yet Implemented! 

.. image:: https://travis-ci.org/sbellem/pytest-rethinkdb.svg?branch=master
    :target: https://travis-ci.org/sbellem/pytest-rethinkdb
    :alt: See Build Status on Travis CI


pytest-rethinkdb
================

A RethinkDB plugin for pytest.


Features
--------

* TODO


Requirements
------------

* TODO


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

You can install "pytest-rethinkdb" via `pip`_ from `PyPI`_::

    $ pip install pytest-rethinkdb


Usage
-----

* TODO


Contributing
------------
Contributions are very welcome. Tests can be run with `tox`_, please ensure
the coverage at least stays the same before you submit a pull request.

License
-------

Distributed under the terms of the `MIT`_ license, "pytest-rethinkdb" is free
and open source software.


Issues
------

If you encounter any problems, please `file an issue`_ along with a detailed
description.


Special Thanks
--------------

This `Pytest`_ plugin was started with `Cookiecutter`_ along with
`@hackebrot`_'s `Cookiecutter-pytest-plugin`_ template.


.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
.. _`@hackebrot`: https://github.com/hackebrot
.. _`MIT`: http://opensource.org/licenses/MIT
.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0
.. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin
.. _`file an issue`: https://github.com/sbellem/pytest-rethinkdb/issues
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`tox`: https://tox.readthedocs.io/en/latest/
.. _`pip`: https://pypi.python.org/pypi/pip/
.. _`PyPI`: https://pypi.python.org/pypi
gsdr 0.1.1
Generative Sparse Distributed Representations, a fast generative model
License: MIT

gsdr
====

Generative Sparse Distributed Representations, a fast generative model
written in Python (Original C++ implementation
https://github.com/222464/GSDR)

Dependencies
============

-  Python 3
-  Python libraries

   -  numpy

Installation
============

``pip install gsdr`` or clone and ``python setup.py install``

Usage
=====

(More extensive examples and IPython notebooks can be found in
examples/)

With labeled data:

.. code:: python

    data, labels = ...

    num_labels = 10

    # Data: (batches, num_features)
    # Labels: (batches,) (contains numbers from 0 to num_labels-1, eg. 10 for MNIST)

    # Build the GSDR network (only one layer for now)
    gsdr = GSDRStack()
    gsdr.add(input_count=data.shape[1], hidden_count=256, sparsity=0.1, forced_latent_count=num_labels)

    forced_latents = np.eye(num_labels)

    # Train once for each data point
    for i in range(data.shape[0]):
        gsdr.train(data[i], forced_latents={0: forced_latents[labels[i]]})
        
    # Generate one example for each label
    for i in range(num_labels):
        generated = gsdr.generate(forced_latents={0: forced_latents[i]})

With unlabeled data:

.. code:: python

    data = ...

    # Data: (batches, num_features)

    # Build the GSDR network (only one layer for now)
    gsdr = GSDRStack()
    gsdr.add(input_count=data.shape[1], hidden_count=256, sparsity=0.1)

    # Train once for each data point
    for i in range(data.shape[0]):
        gsdr.train(data[i])
        
    states = np.eye(hidden_count)

    # Generate one example for each one-hot state
    for i in range(hidden_count):
        generated = gsdr.generate(states[i])
prettyqr 0.0.2
Create QR codes merged with images.
License: MIT
Keywords: qrcode image

prettyqr
========

Create QR codes merged with images.

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

::

   pip install prettyqr

You will need `Python <https://www.python.org/>`_ and `pip <https://pypi.python.org/pypi/pip>`_.

Example usage
-------------

Take a background image:

.. image:: https://raw.githubusercontent.com/olorin/prettyqr/master/img/dna-orig.png
   :alt: Original image

And a URL or some other text::

    foo.com

Combine them::

    prettyqr --qr-opacity 150 --outfile img/dna-qr.png foo.com img/dna-orig.png

.. image:: https://raw.githubusercontent.com/olorin/prettyqr/master/img/dna-qr.png
   :alt: QR code image

Command-line options
--------------------

::

    usage: prettyqr [-h] [--border BORDER] [--out-file OUT_FILE]
                    [--qr-opacity QR_OPACITY] [--qr-red QR_RED]
                    [--qr-green QR_GREEN] [--qr-blue QR_BLUE]
                    DATA IMAGE-FILE
    
    Make pretty QR codes.
    
    positional arguments:
      DATA                  Data to encode (e.g., "http://example.com").
      IMAGE-FILE            Image file to composite (e.g., "lena.jpg").
    
    optional arguments:
      -h, --help            show this help message and exit
      --border BORDER       Size of border (in multiples of QR module size).
                            Defaults to 4. Can be zero if the QR code is intended
                            for printing or use on a light background.
      --out-file OUT_FILE   Path to write composite image file to. Extension will
                            determine the output format. Defaults to
                            "prettyqr.png".
      --qr-opacity QR_OPACITY
                            Opacity of the QR code modules, between 0 (invisible)
                            and 255 (opaque). Default is 200.
      --qr-red QR_RED       Red element of the QR module color, between 0 and 255.
                            Default is 0.
      --qr-green QR_GREEN   Green element of the QR module color, between 0 and
                            255. Default is 0.
      --qr-blue QR_BLUE     Blue element of the QR module color, between 0 and
                            255. Default is 0.

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

`prettyqr` is a fairly raw proof-of-concept, and currently has an
assortment of limitations:

* Only supports square images.
* Only supports square QR modules.
* Doesn't support complex color changes in the source image.

It will work best with sources where the focus of the image is not
central, and doesn't handle black backgrounds very well.

All of these issues are fairly tractable; patches are welcome.