semvec/pypi-packages huggingface dataset:
Flask-BearyChat 0.2.0
A Flask extension to help interact with BearyChat
License: MIT

Flask-BearyChat
===============

Flask-BearyChat is a Flask Extension to help you work with `BearyChat <https://bearychat.com>`_.

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

::

    $ pip install flask-bearychat

Usage
-----

.. code-block:: python

    from flask import Flask
    from flask.ext.bearychat import BearyChat

    app = Flask(__name__)
    app.config['BEARYCHAT_TOKEN'] = 'token-from-bearychat-robot'
    app.config['BEARYCHAT_CALLBACK'] = '/hook'
    bearychat = BearyChat(app)

    @bearychat.command('hello')
    def list(**kwargs):
        username = kwargs.get('username')
        text = 'Hello, %s' % username
        return bearychat.response(text=text)

    if __name__ == '__main__':
        app.run()
goshstore 0.3.0
Django get-or-set hstore field
License: MIT
Keywords: django hstore postgres

django-goshstorefield
=====================
.. image:: https://travis-ci.org/conanfanli/goshstore.svg?branch=master
    :alt: Build Status
    :target: https://travis-ci.org/conanfanli/goshstore

django-goshstore field is a reusable Django field that allows you to get or set values from hstore fields.


How to use
----------
Assuming you have a django model defined:

.. code-block:: python

    from django.db import models
    from goshstore import GosHStoreField

    class MyModel(models.Model):
        hstores = GosHStoreField(default={})

        @hstores.getter(key='foo', converter=Decimal)
        def get_foo(self, save=True, reset=False):
            return max(range(100))

    instance = MyModel()


Calling `instance.get_foo()` will return `instance.hstores['foo']` if `'foo'`
is in `instance.hstores`. Otherwise, 100 will be stored into
`instance.hstores['foo']` and `instance.save(update_fields=['hstores'])`
will be called. To prevent calling `instance.save()`, call
`instance.get_foo(save=False)`.

When calling `instance.get_foo(reset=True)`, `max(range(100))` will be
evaluated and returned regardless whether `'foo'` is already in
`instance.hstores`.
txspinneret 0.1.3
Spinneret is a collection of higher-level utility classes and functions for Twisted Web.
License: MIT
Keywords: twisted web routing

=====================================
Spinneret: Twisted Web's Silk Spinner
=====================================

|build|_ |coverage|_

(Spinneret is still young, its API should be considered unstable.)

Spinneret is a collection of higher-level utilities (such as URL routing,
content type negotiation and processing query arguments) to make writing
complex Twisted Web applications far simpler and (hopefully) more fun! It is
designed to easily integrate with existing Twisted Web projects.

For more info `read the docs <http://txspinneret.readthedocs.org>`_.


Contribute
==========

See https://txspinneret.readthedocs.org/en/latest/contributing.html for
information on contributing to Spinneret.

See http://github.com/jonathanj/txspinneret for development.


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

.. code-block:: console

    $ pip install txspinneret


.. |build| image:: https://travis-ci.org/jonathanj/txspinneret.svg?branch=master
.. _build: https://travis-ci.org/jonathanj/txspinneret

.. |coverage| image:: https://coveralls.io/repos/jonathanj/txspinneret/badge.png?branch=master
.. _coverage: https://coveralls.io/r/jonathanj/txspinneret?branch=master