semvec/pypi-packages huggingface dataset:
gittalk 0.1.0
talk with git
License: MIT
Keywords: git,audio,gittalk

gittalk
=======

Imagine you are working on a hack, and you just pushed some code. 
Instead of yelling to your teammates and letting them aware of the 
changes, wouldn't it be cool to have the computer say it out loud 
for you?   

## Installation

`pip install gittalk`     

`python setup.py install` should also be just fine, in case you don't 
have Pip installed.

## Dependencies

* `pyttsx`: https://pypi.python.org/pypi/pyttsx

The file `requirements.txt` contains all other dependencies I've used 
while working on `gittalk`, though most of them are not needed in 
running this program.

Pyttsx will also install its own dependencies.

## Doesn't work?

Most likely, the installation for pyttsx failed. Check out 
https://github.com/parente/pyttsx and see if any previously raised 
issues there are helpful. Unfortunately, I've only tested this on 
Ubuntu 12.10 32-bit, so it might not work as expected on Windows/OSX...   

## Features and Usage

* Make a git commit as usual. Then type `gittalk` on the terminal. The 
last commit message should be said out loud. :D

* ... More to come! (see `say_last_push` in `gittalk/core.py` for example)

## Notes
This is still pretty basic, and is mostly my attempt at playing with 
different TTS (text-to-speech) packages in Python, as well as learning 
how to structure a proper Python package and share it via Pip.  

That said, I do plan to extend it further and make this even more fun 
and useful. Please send me a pull request if you would like to 
contribute. Suggestions/criticism/advice are all welcome!
bottle-memcache-decorator 0.0.1
Adds a memcache decorator in your Bottle application.         It automatically stores the route result to memcache for routes         where the bottle-memcache plugin is enabled.
License: MIT
Keywords: Bottle Plugin Memcache Decorator

bottle-memcache-decorator
=========================

This bottle-memcache-decorator plugin adds a memcache decorator in your Bottle
application. It automatically stores the route result to memcache for routes
where the bottle-memcache plugin is enabled.


Required
===============

The bottle-extras and bottle_memcache plugins are required to be installed before this plugin.


Installation
===============

Install with one of the following commands::

    $ pip install bottle-memcache-decorator
    $ easy_install bottle-memcache-decorator

or download the latest version from github::

    $ git clone git://github.com/ziogaschr/bottle-memcache-decorator.git
    $ cd bottle-memcache-decorator
    $ python setup.py install


Usage
===============

    import bottle
    from bottle.ext import memcache
    from bottle_memcache_decorator import MemcacheDecoratorPlugin

    app = bottle.Bottle()

    keyword = 'mc'

    # install memcache plugin
    memcache_plugin = memcache.MemcachePlugin(keyword=keyword)
    app.install(memcache_plugin)

    # install the memcache decorator
    memcache_decorator_plugin = MemcacheDecoratorPlugin(
                            memcache_keyword=keyword,
                            memcache_expire_time='mc_expire_time',
                            memcache_compress_level_keyword='mc_compress_level')
    app.install(memcache_decorator_plugin)

    # for example in this route we will set the expire time = 3600 sec
    # and compression level = 3
    @app.get('/:name', mc_expire_time=3600, mc_dec_compress_level=3)
    def show(name, mc):
        # your code here

        return result

    if __name__ == '__main__':
        run(app, host='0.0.0.0', port=8080, debug=True)


Configuration
=============

    MemcacheDecoratorPlugin(
        memcache_keyword='mc',
        memcache_expire_time='mc_expire_time',
        memcache_compress_level_keyword='mc_compress_level')

**memcache_keyword**: is the keyword set/used for the memcache plugin

**memcache_expire_time**: defines the router argument responsible for setting the memcache expire time

**memcache_compress_level_keyword**: defines the router argument responsible for setting the memcache compression level