Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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 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.


Run pip install twitter_markov, or download/clone the package and run python 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:


Copyright 2014-2016, Neil Freeman. This software is available under the GPL 3.0. See LICENSE for more information.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for twitter-markov, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size twitter_markov-0.6.0-py2.py3-none-any.whl (22.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size twitter_markov-0.6.0.tar.gz (9.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page