Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Populates bot accounts with comments.

Project Description

The monobot package for Python is a tool for Reddit API development that creates sample comments to use with testing other Reddit bots.

Installation

pip install monobot will install the package and console tool.

Alternatively, after cloning the repository, use the following command:

python setup.py install

Usage

After installation, the bot can be started with the `monobot` console command. A sample configuration file can be found in the repository, this README, and it will be displayed if the bot is run without a config file specified.

Sample Configuration

settings.yaml:

---
oauth:
    id: clientid
    secret: clientsecret
    uri: redirecturi
    token: refreshtoken
credentials:
    username: username
    password: hunter2
bot:
    verbose: true
    thread: link_to_reddit_thread
    delay: 2
    limit: 2500
...

Configuration Reference

  • oauth - Add this section to use OAuth2. It is recommended that it is used, as credentialed logins will be deprecated in the future. If used, omit the credentials section.
    • id - Client ID
    • secret - Client Secret
    • uri - Redirect URI, needs to match the one from the app settings page on reddit.
  • credentials - Add this section to use an account’s username and password for API access. If used, omit the oauth section.
    • username - Reddit account username
    • password - Account password
  • bot
    • verbose - If true, print more verbose progress information
    • thread - Link to the thread to use for commenting
    • delay - Delay, in seconds, between each new comment
    • limit - When this number of comments have been made, the bot will terminate. If omitted, the bot will continue forever
Release History

Release History

This version
History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
monobot-1.1.2-py2-none-any.whl (6.9 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 23, 2016
monobot-1.1.2.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Aug 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting