semvec/pypi-packages huggingface dataset:
mailbot 0.3
MailBot: execute callback on mail reception
License: BSD Licence
Keywords: mail callback

#######
MailBot
#######

.. image:: https://secure.travis-ci.org/magopian/mailbot.png?branch=master
   :alt: Build Status
   :target: https://travis-ci.org/magopian/mailbot

MailBot: register callbacks to be executed on mail reception.

* Authors: Mathieu Agopian and `contributors
  <https://github.com/magopian/mailbot/contributors>`_
* Licence: BSD
* Compatibility: Python 2.7 and Python 3.3
* Project URL: https://github.com/magopian/mailbot
* Documentation: http://mailbot.rtfd.org/


Hacking
=======

Setup your environment:

::

    git clone https://github.com/magopian/mailbot.git
    cd mailbot

Hack and run the tests using `Tox <https://pypi.python.org/pypi/tox>`_ to test
on all the supported python versions:

::

    make test

There's also a live test suite, that you may run using the following command:

::

    make livetest

Please note that to run live tests, you need to create a
``livetest_settings.py`` file with the following content:

::

    # mandatory
    HOST = 'your host here'
    USERNAME = 'your username here'
    PASSWORD = 'your password here'

    # optional
    # check http://imapclient.readthedocs.org/en/latest/#imapclient.IMAPClient)
    PORT = 143  # port number, usually 143 or 993 if ssl is enabled
    USE_UID = True
    SSL = False
    STREAM = False

For convenience, you can copy the provided sample, and modify it:

::

    $ cp livetest_settings.py.sample livetest_settings.py


Changelog
=========

0.3 (2013-03-28)
----------------

  - compatible python 3.3


0.2 (2013-03-28)
----------------

  - automatically decode headers, allowing for unicode subjects, senders,
    recipients, CCs and body
  - new timeout parameter: mails in the processing state for longer than this
    timeout will be reprocessed
  - use SEEN and FLAGGED to manage mail states (not processed, processing,
    processed)
  - captures from the rules' regexps available in Callback.matches (previously,
    this was storing MatchObjects)


0.1 (2013-03-20)
----------------

  - first version
django-runcommands 0.1
runcommands: execute system commands from views
License: BSD Licence
Keywords: system commands

###################
django-runcommands
###################

.. image:: https://secure.travis-ci.org/magopian/django-runcommands.png?branch=master
   :alt: Build Status
   :target: https://travis-ci.org/magopian/django-runcommands

runcommands: execute system commands from urls.

* Authors: Mathieu Agopian and `contributors
  <https://github.com/magopian/django-runcommands/contributors>`_
* Licence: BSD
* Compatibility: Django 1.4+, python2.7 and python3.3
* Project URL: https://github.com/magopian/django-runcommands
* Documentation: http://django-runcommands.rtfd.org/


Quickstart
==========

Install the application:

.. code-block:: sh

    pip install django-runcommands

And then add an entry for the runcommand's view in your URLCONF, for each
command you wish to make accessible:

.. code-block:: python

    # urls.py
    from runcommands.views import RunCommandView


    urlpatterns = patterns(
        '',
        url(r'^hello-world/$',
            RunCommandView.as_view(command='echo Hello World')),
    )

Your command output is now available at the url ``/hello-world/``.


Hacking
=======

Setup your environment:

::

    git clone https://github.com/magopian/django-runcommands.git
    cd django-runcommands

Hack and run the tests using `Tox <https://pypi.python.org/pypi/tox>`_ to test
on all the supported python and Django versions:

::

    make test


Changelog
=========

0.1 (2013-06-18)
----------------

  - first version