semvec/pypi-packages huggingface dataset:
samyro 0.0.5
An automatic text generator based on RNNs.
License: MIT
Keywords: RNNs poetry generation

Samyro
=======================

An automatic poetry organizer built on `TensorFlow <http://tensorflow.org>`_'s
RNNs.

Samyro learns a text style from examples, saving
checkpoints, and generating new text segments from those samples.
Derived from example code built for PrettyTensor.

"Samyro" was the first pseudonym of Samuel (Samy) Rosenstock, better
known by his later pseudonym `Tristan Tzara
<http://en.wikipedia.org/Tristan_Tzara>`_. (`tzara` was already taken
on pypi.)


Contributing
============

Unstable vx.x.x-dev branches are maintained for the next version to be
released on master at github.  Please submit pull requests to the new
dev branches if possible, but pull requests against master will also
be gladly integrated.

Feature request lists are currently in TODO.rst (part of this
distribution) but may migrate to github issues if that makes it easier
for others to contribute.
dirty-water 1.0.0
UNKNOWN
License: MIT
Keywords: dirty_water

Dirty Water
===========

.. image:: https://img.shields.io/pypi/v/dirty_water.svg
   :target: https://pypi.python.org/pypi/dirty_water

.. image:: https://img.shields.io/pypi/pyversions/dirty_water.svg
   :target: https://pypi.python.org/pypi/dirty_water

.. image:: https://img.shields.io/travis/kalekundert/dirty_water.svg
   :target: https://travis-ci.org/kalekundert/dirty_water

.. image:: https://img.shields.io/coveralls/kalekundert/dirty_water.svg
   :target: https://coveralls.io/github/kalekundert/dirty_water?branch=master
webassets-rollup 1.0.0
Rollup filter for webassets
License: MIT
Keywords: rollup,webassets,django assets

Rollup filter for webassets
-------------------------------

Filter for for compiling assets using `Rollup <http://rollupjs.org>`_ and
`webassets <http://webassets.readthedocs.org>`_.

Basic usage
```````````

.. code:: python

    from webassets.filter import register_filter
    from webassets_rollup import Rollup

    register_filter(Rollup)
pytest-beds 0.3.0
Fixtures for testing Google Appengine (GAE) apps
License: MIT

Convenience plugin on top of the testbed the Google Appengine (GAE) SDK already provides.

.. image:: https://travis-ci.org/kaste/pytest-beds.svg?branch=master
    :target: https://travis-ci.org/kaste/pytest-beds

Install
=======

``pip install pytest-beds``

After that the plugin is enabled by default. You can use specific fixtures (see below) to activate the Testbed and stub specific services.


Options
=======

``--no-gae``
    Disable the plugin, esp. do not change the python paths and try to import dev_appserver.

``--sdk-path PATH``
    The plugin assumes it can just ``import dev_apserver``. If that fails it looks up the SDK path in the environment variable ``GAE``. Otherwise, you can specify the path to the SDK by using the ``--sdk-path PATH`` option.

``--project-root PATH``
    Secondly, the plugin assume that your current path is the projects root folder, t.i. the dirctory which holds the app.yaml. You can specify a different path using ``--project-root PATH``.

``--noisy-tasklets``
    By default the plugin shortens the tracebacks when using ndb tasklets, so they don't include the eventloop's internal noise.
    Use this switch to make ndb noisy again.


Fixtures
========

The plugin provides fixtures to stub the different services. Usage is therefore simple and straightforward::

    # Say, if you create a Foo you hit the database and put some work on queue
    def test_foo(ndb, taskqueue):
        foo = Foo.create()

        assert Foo.query().fetch() == [foo]

List of builtin fixtures::

    bed
    mailer
    channel
    urlfetch
    memcache
    taskqueue
    blobstore
    ndb
    users


Users
-----

There are two fixtures ``anonymous`` and ``login`` to handle the users-stub.

``anonymous``
    Prepares the user stub so that ``users.get_current_user()`` will return None

``login``
    Prepares the user stub and returns a function to login actual users::

        def test_login(login):
            # at this point users.get_current_user() will return None

            login(id=1, email='foo@gmail.com')
            # now users.get_current_user() will return a user

            login.logout()
            # now users.get_current_user() will return None again


Deferreds
---------

The ``deferreds`` fixture inits the taskqueue stub, but returns a useful object, so you can actually run the deferred functions::

    def test_work(deferreds):
        deferred.defer(work, 'to be done')

        deferreds.consume()

        assert 'work has been done'
pyside-tooltip 0.2.1
Custom tooltip extension for pyside
License: MIT

Custom Tooltips for PySide
--------

To use you will need to subclass Tooltip or TooltipWithArrow and implement the getWidget function::

    >>> class MyTooltip(Tooltip):
    >>>   def getWidget(self):
    >>>	    return MyQWidget()

getWidget should return the widget that you wish to be displayed as a tooltip.

Your tooltip will need a few parameters to initialize::

    >>> my_tooltip = MyTooltip(hoverable_widget, list_of_positionings, main_window, gap=7)

**hoverable_widget** is the widget that will trigger the tooltip.

**list_of_positionings** is a list of tuples: (TooltipPositioning, TooltipAlignment).
**TooltipPositioning** can be one of Tooltips Macros: Tooltip.LEFT_POSITIONING, Tooltip.TOP_POSITIONING, Tooltip.RIGHT_POSITIONING or Tooltip.BOTTOM_POSITIONING
Positionings should be TooltipWithArrow.*_POSITIONING if you chose to subclass TooltipWithArrow.

**TooltipAlignment** should be one of the functions included in TooltipAlignment.

Therefore, a **list_of_positioning** could be: [(TooltipWithArrow.RIGHT_POSITIONING, alignToTop), (TooltipWithArrow.LEFT_POSITIONING, alignToTop)].

A Tooltip will always try to use the Positioning you chose in order and will not display at all if there is no room in the screen for it.

**main_window** is the window in which your tooltip will display. It is used to calculate the positioning and alignment.

**gap** is the space in pixels between the **hoverable_widget** and the **Tooltip**.