semvec/pypi-packages huggingface dataset:
django-GNU-Terry-Pratchett 0.2.0
You know they'll never really die while the Trunk is alive
License: BSD

Django GNU Terry Pratchett
==========================

Keeping the legacy of [Sir Terry Pratchett](http://en.wikipedia.org/wiki/Terry_Pratchett) alive forever.
For as long as his name is still passed along the Clacks,
Death can't have him.

* G: send the message on
* N: do not log the message
* U: turn the message around at the end of the line and send it back again

with thanks to [this reddit thread](http://www.reddit.com/r/discworld/comments/2yt9j6/gnu_terry_pratchett/)

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

You can install from pypi:

    pip install django-GNU-Terry-Pratchett

or from source:

    git clone git@github.com:aaronbassett/django-GNU-Terry-Pratchett.git
    cd django-GNU-Terry-Pratchett
    python setup.py install

Once installed add the middleware to you project:

    MIDDLEWARE_CLASSES=(
        ...
        'gnu_terry_pratchett.middleware.ClacksMiddleware',
    ),

We also provide a view decorator and a mixin for your Class-Based Views if you
don't want to have the header on every response.

    from gnu_terry_pratchett.decorators import clacks_overhead
    from gnu_terry_pratchett.views import ClacksMixin


    # function view
    @clacks_overhead
    def my_view(request):
        ...
        return my_response


    # CBV
    class MyView(ClacksMixin, View):
        def get(self, request):
            ...
            return my_response
email-ecglist 1.6
Check email addresses against the austrian do-not-email list (ECG-Liste)
License: BSD
Keywords: email validation ecglist

========
ECG List
========

This package provides simple access to the austrian RTR (Rundfunk und Telekom
Regulierungs-GmbH) "ECG list", the registry of persons and companies who do
not wish to receive promotional e-mail.

Typical usage looks like this::

    from ecglist import ECGList

    e = ECGList()
    if not e.get_blacklist_status_code(email):
        send_email(email)
    else:
        print "%s does not want to receive email" % email


Usage
-----

Set up the interface::

    from ecglist import ECGList

    # Defaults to reading "ecg-liste.hash" in current directory
    blacklist = ECGList(filename="my-ecg-list.hash")

Test for an email address being in the blacklist::

    "foo@bar.example" in blacklist

Get an email's status code::

    code = blacklist["foo@bar.example"]

`code` will be None if the email address was not found in the blacklist or
a status code indicating the type of match otherwise.

Same, but get a human readable string instead of a status code::

    status_str = blacklist.get_blacklist_status("foo@bar.example")

Note that the data file is only loaded when the first address is verified,
i.e. the address verification might raise an Exception if the hash file has
vanished in the meantime.

To reread the on-disk hash file or to free up the in-memory hash
table, use the reread() method like so::

    e.reread()


Background
----------

Service providers that send unsolicited advertising e-mail have to observe this list.
Please refer to https://www.rtr.at/en/tk/E_Commerce_Gesetz for the legal background.
Unfortunately, the only sample code provided by the RTR is in Perl (Boo! Hiss!), which
prompted the creation of this module.


Obtaining the official blacklist
--------------------------------

You will need to follow the steps outlined at https://www.rtr.at/en/tk/NutzenECG
to obtain a copy of the current ECG list. Save the "ecg-liste.hash" you receive
and configure the ECGList to access that file.


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

To install this module, simply: ::

	$ pip install email-ecglist
critics 0.2.1
Mobile reviews aggregator
License: BSD
Keywords: critics

=======
critics
=======

.. image:: https://img.shields.io/travis/coagulant/critics.svg
        :target: https://travis-ci.org/coagulant/critics

.. image:: https://img.shields.io/coveralls/coagulant/critics.svg
    :target: https://coveralls.io/r/coagulant/critics

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

.. image:: https://img.shields.io/badge/licence-BSD-blue.svg

.. image:: https://img.shields.io/badge/status-beta-yellow.svg

::

    Usage: critics [OPTIONS]

      Notify about new reviews in AppStore and Google Play in slack.

      Launch command using supervisor or using screen/tmux/etc. Reviews are
      fetched for multiple apps and languages in --beat=300 interval.

    Options:
      --ios TEXT                   ios app id, e.g. 122434343
      --ios-channel TEXT           Slack channel for ios notifications, optional
      --android TEXT               Android app name, e.g. "com.rovio.angrybirds"
      --android-channel TEXT       Slack channel for android notifications, optional
      --language TEXT              ISO 639-1 languages of review [default: system locale]
      --slack-webhook TEXT         Slack webhook absolute URL, required
      --parse-max-entries INTEGER  Number of feed entries to look into [default: 10]
      --beat INTEGER               Number of seconds between polling feed [default: 300]
      --verbose / --short
      --notify / --no-notify
      --persist / --no-persist
      --model PATH
      --daemonize / --run-once
      --version
      --help                       Show this message and exit.


Examples
~~~~~~~~

Track English and Russian reviews for iOS and Android Angry Birds apps
and post them to separate channels::

    critics --ios=343200656 --android=com.rovio.angrybirds \
            --slack-webhook=YOUR_SLACK_WEBHOOK_URL \
            --language=en --language=ru \
            --ios-channel="#ios_reviews" --android-channel="#android_reviews"

Previous command, but using env variables::

    CRITICS_IOS=343200656 CRITICS_ANDROID=com.rovio.angrybirds \
    CRITICS_SLACK_WEBHOOK=YOUR_SLACK_WEBHOOK_URL CRITICS_LANGUAGE="en ru" \
    CRITICS_IOS_CHANNEL="#ios_reviews" CRITICS_ANDROID_CHANNEL="#android_reviews" \
    critics

For demo purpose (does not require slack): parse ios feed for MyBook app
and print reviews in stdout::

    critics --ios=556540446 --run-once --no-notify --no-persist --verbose


How it looks
~~~~~~~~~~~~

.. image:: https://github.com/coagulant/critics/raw/master/docs/screenshots/screenshot_01.png
   :height: 356 px
   :width: 492 px
   :alt: Heroes HD Android reviews


Changelog
---------

0.2.1 (2015-03-20)
------------------
* Change default request timeout to 5 seconds

0.2.0 (2015-03-19)
------------------

* Multiple languages support
* English and Russian translations
* Usable url for iOS review


0.1.0 (2015-03-09)
------------------

* Initial release