Create markov chain ("_ebooks") accounts on Twitter
Project description
Create markov chain (”_ebooks”) accounts on Twitter.
The audience for this library is those with at least basic Python experience. Before you set this up, you’ll need:
A twitter account
A twitter application (register at dev.twitter.com) with authentication keys for the account (read more)
A text for the bot to learn from, which can be a text file or a Twitter archive. Several thousand lines are needed to get decent results, with fewer than 100 or so it won’t work at all.
Install
Run pip install twitter_markov, or download/clone the package and run python setup.py install. Feel free to use a virtualenv, if you’re into that.
Setting up a bot
See the docs for a complete guide to setting up an ebooks bot. Here are the basics:
Create a app and authenticate it with your new Twitter account
Create a corpus, a text file with one sentence or text per line
Create a ``bots.yaml` config file <http://pythonhosted.org/twitter_markov/config.html>`__
API
License
Copyright 2014-2016, Neil Freeman. This software is available under the GPL 3.0. See LICENSE for more information.
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
Hashes for twitter_markov-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47790abf89d19c0955ffbef482b1d28ccd8f14de4d7a58bff6ab45b2ded55fa9 |
|
MD5 | 1899cc8362a471b58cb81888f89344e2 |
|
BLAKE2b-256 | f614cdb813029ba8c1a8af97f2c1e07e1805016c5c06bb886d35c3e3ddf6fc70 |