Skip to main content

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:

API

See the docs.

License

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.

Source Distribution

twitter_markov-0.5.0a.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

twitter_markov-0.5.0a-py2.py3-none-any.whl (12.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file twitter_markov-0.5.0a.tar.gz.

File metadata

File hashes

Hashes for twitter_markov-0.5.0a.tar.gz
Algorithm Hash digest
SHA256 6eed5159395114c84c7c44cd59db55cb470633bb9da4b59e5ade34b2525277d0
MD5 680e3611716a413728fc34eb326b17d5
BLAKE2b-256 e9484605363994f35c1e23baeac49d57f7b1a56f74de58a1d59a99d5b19bb006

See more details on using hashes here.

File details

Details for the file twitter_markov-0.5.0a-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for twitter_markov-0.5.0a-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f432aac4cb2e9a02bd59eba11a903b8aa801a4849e49f965d9a05af8ee2886fa
MD5 7180dab754d2d8bc7050428d2059926a
BLAKE2b-256 d99239e5feda5eb02d22047a0ee1bf9a3a594958f7bb39a396e9090f346dd9d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page