Metadata-Version: 2.0
Name: autotweet
Version: 0.5.2
Summary: learn your tweet and auto tweet it.
Home-page: https://github.com/Kjwon15/autotweet/
Author: Kjwon15
Author-email: kjwonmail@gmail.com
License: MIT
Download-URL: https://github.com/Kjwon15/autotweet/releases
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: No Input/Output (Daemon)
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Utilities
Requires-Dist: futures
Requires-Dist: sqlalchemy (>=0.9.6)
Requires-Dist: tweepy (>=2.3.0)
Provides-Extra: telegram
Requires-Dist: python-telegram-bot (>=5.2.0); extra == 'telegram'

Autotweet
=========

Learn your response pattern on twitter.

.. image:: https://travis-ci.org/Kjwon15/autotweet.svg?branch=master
    :target: https://travis-ci.org/Kjwon15/autotweet


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

.. code-block:: console

   $ pip install autotweet
   # Or with telegram bot
   $ pip install 'autotweet[telegram]'


Usage
-----

Learning user's tweet
~~~~~~~~~~~~~~~~~~~~~

Autotweet can learn your tweet by collector.

.. code-block:: console

   $ autotweet collector


Automatic answering by clone account
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Your clone account can automatic answer by answer command.

.. code-block:: console

   $ autotweet answer


Automaticaly tweet after death
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Autotweet can be auto tweeting using your main account.
Use it when you are leaving from twitter for any reason.

.. code-block:: console

   $ autotweet after_death


Add manually
~~~~~~~~~~~~

You can add question/answer set manually.

.. code-block:: console

   $ autotweet add 'Question' 'Answer'


Telegram integration
~~~~~~~~~~~~~~~~~~~~

You can run a telegram bot with learned database.

.. code-block:: console

   $ autotweet telegram -h


Configure
---------

You can configure Autotweet by editing ``~/.autotweetrc`` file.

.. code-block:: cfg

   [auth]
   token = <OAuth token (automaticaly generated)>
   answerer_token = <OAuth token (automaticaly generated)>

   [database]
   db_url = <database url>

   [answer]
   threshold = <Auto answering to tweet that is not mention to answerer. (float 0.0 ~ 1.0)>

   [tweet after death]
   message0 = This is message sent by auto tweet.
   message1 = If you are reading this, I'm already dead.


Links
-----

Package Index (PyPI)
   https://pypi.python.org/pypi/autotweet/

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

Docs (ReadTheDocs)
   https://autotweet.readthedocs.org/

   .. image:: https://readthedocs.org/projects/autotweet/badge/
      :target: https://autotweet.readthedocs.org/


License
-------

Autotweet is following MIT license.


