twitter markov
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.
Metadata
Release files for twitter-markov 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| twitter_markov-0.6.0.tar.gz | 9.4 kB | Without provenance | Details for twitter_markov-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| twitter_markov-0.6.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for twitter_markov-0.6.0-py2.py3-none-any.whl |
Total release size: 31.7 kB
Release files / twitter_markov-0.6.0.tar.gz
| Download URL | twitter_markov-0.6.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ad7365d958552da64bab3e8e316453f9fb0fc06344f10c7055c63449ce48dfd
|
|
BLAKE2b-256 checksum How to use checksums |
918c409b9b858a18088d932addaf7049a3575ce28f4e266886f05879fb1a6ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.5
|
Release files / twitter_markov-0.6.0-py2.py3-none-any.whl
| Download URL | twitter_markov-0.6.0-py2.py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b5b785f7ed363b231d13babf85729cc9cd95af1babe7157a79a47c9119fc68c4
|
|
BLAKE2b-256 checksum How to use checksums |
a8eccb3e8b995db9c90c6ea9513d959f328da73707feafd94c8b132365ba7e13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.5
|
Security for twitter-markov 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.