Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install babbler

How to install babbler

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install babbler
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.1.5 Available View build log
0.1.4 Available View build log
Windows (64-bit)
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.1.5 Available View build log
0.1.4 Available View build log
Mac OS X (10.5+)
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.1.5 Available View build log
0.1.4 Available View build log
Linux (32-bit)
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.1.5 Available View build log
0.1.4 Available View build log
Linux (64-bit)
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.1.5 Available View build log
0.1.4 Available View build log
 
License
BSD
Imports
Lastest release
version 0.3.4 on Nov 12th, 2011

A Twitter bot that polls an RSS feed and posts its entries as tweets, with auto-generated hashtags. For extra mischief, replies to the bot are responded to using a basic Eliza implementation.

After installing, the 'babbler' command will be available which you can use to run the bot. Data will be stored in the current directory.

Options

--version show program's version number and exit
-h, --help show this help message and exit
Required:
-u url, --feed-url=url
 RSS Feed URL
Optional:
-i strings, --ignore=strings
 Comma separated strings for ignoring feed entries if they contain any of the strings
-p seconds, --pause=seconds
 Seconds between RSS feed requests (default:600)
-q decimal, --queue-slice=decimal
 Decimal fraction of unposted tweets to send during each iteration between feed requests (default:0.3)
-l level, --log-level=level
 Level of information printed (ERROR|INFO|DEBUG) (default:INFO)
-m len, --hashtag-min-length=len
 Minimum length of a hashtag (default:3)
Switches:
-a, --append Switch certain options into append mode where their values provided are appended to their persisted values, namely --ignore, --hashtag-min-length, --pause, --queue-slice
-s, --subtract Opposite of --append
-e, --edit-data
 Load a Python shell for editing the data file
-f, --dry-run Fake run that doesn't save data or post tweets
-d, --daemonize
 Run as a daemon
-k, --kill Kill a previously started daemon
-D, --DESTROY Deletes all saved data and tweets from Twitter
Twitter authentication (all required):
-w key, --consumer-key=key
 Twitter Consumer Key
-x secret, --consumer-secret=secret
 Twitter Consumer Secret
-y key, --access-token-key=key
 Twitter Access Token Key
-z secret, --access-token-secret=secret
 Twitter Access Token Secret

Options need only be provided once via command line as options specified are then persisted in the data file, and reused on subsequent runs. Required options can also be omitted as they will each then be prompted for individually.

Subscribe to package updates

Last updated Nov 12th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.