learn your tweet and auto tweet it.
Project description
Learn your response pattern on twitter.
Installation
$ pip install autotweet
# Or with telegram bot
$ pip install 'autotweet[telegram]'
Usage
Learning user’s tweet
Autotweet can learn your tweet by collector.
$ autotweet collector
Automatic answering by clone account
Your clone account can automatic answer by answer command.
$ 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.
$ autotweet after_death
Add manually
You can add question/answer set manually.
$ autotweet add 'Question' 'Answer'
Telegram integration
You can run a telegram bot with learned database.
$ autotweet telegram -h
Configure
You can configure Autotweet by editing ~/.autotweetrc file.
[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/
- Docs (ReadTheDocs)
https://autotweet.readthedocs.org/
License
Autotweet is following MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autotweet-0.5.3.tar.gz
.
File metadata
- Download URL: autotweet-0.5.3.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13518a25d05eae6f976b8742ceb4b0f8d6f531554ea020145078713718a7bdd4 |
|
MD5 | 613dadbfe278cdc01990df6a0bafc337 |
|
BLAKE2b-256 | dc15d2cd2d6b05510f5a3c2a15bd4206f06dd99ef6105d059456f6ec981df8df |
File details
Details for the file autotweet-0.5.3-py2.py3-none-any.whl
.
File metadata
- Download URL: autotweet-0.5.3-py2.py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ab39c11a44d3e7455bfe159c334c29a620163ea335154a89932c1f4df190421 |
|
MD5 | d971f860052459487f6afb6659e0aa63 |
|
BLAKE2b-256 | d4369f83e2b7cda3a0c66da5cb74754101935b2c647e22459c1e40923cd7315d |