semvec/pypi-packages huggingface dataset:
autoslack 0.0.1.dev1
AutoSlack is a simple module designed to automate some tasks for http://slack.com.
License: MIT
Keywords: slack inviter automator

AutoSlack
============

AutoSlack is a simple module designed to automate some tasks for http://slack.com.
Currently it includes an invite method for automatically inviting persons
to a Slack community.

Installation
--------------
::

  pip install autoslack

(you could also simply add autoslack to your requirements.txt, setup.py or buildout file)

Usage
---------
To use this you will need to generate a token by visiting https://api.slack.com/web#authentication, the token is passed to the autoslack.invite() method.

.. image:: https://github.com/PythonJamaica/autoslack/raw/master/slacktoken.png
 
The invite() method returns feedback from the Slack API in json format
::

    import autoslack
    output = autoslack.invite(group="SLACKCOMMUNITYNAME",
                    token="XXXXXXX",
                    firstname="XXXXXXXX",
                    lastname="XXXXXXX",
                    emailaddress="XXXXXXX",
                    channels=['XXXXX','XXXXX']
                    )
    print(output)

.. note:: The `channels` argument is optional.

A script like the one above would give output similar to this
::  

    {u'ok': True}
intervention 1.1.0
An intervention to increase intentionality
License: MIT
Keywords: adhd,anxiety,intervention,quantified self

intervention
------------

``intervention`` is a work in progress for disabling input to my
computer, showing me the current time, and making me ask myself if I'm
being intentional.

[STRIKEOUT:It requires ``sudo`` NOPASSWD access on OS X to filter
keyboard input. Wrapping it in an application might allow it to be used
with the OS X Accessibility API instead.]

Installation
~~~~~~~~~~~~

.. code:: sh

    $ pip3 install intervention
    $ crontab -e
    */15 * * * * /usr/local/bin/intervention  # add this line

It looks like this:

.. figure:: https://i.imgur.com/mIRAUTr.png
   :alt: screenshot

   screenshot