• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux python-jabberbot Download

python-jabberbot

November 7, 2009
This Python framework simplifies the process of creating basic Jabber bots by offering a user-friendly solution. With its easy-to-use features, it enables users to write uncomplicated Jabber bots with ease.
Version 0.8
License GPL v3
Platform Linux
Supported Languages English
Homepage thpinfo.com
Developed by Thomas Perl
Python-Jabberbot application is a convenient and straightforward Jabber bot framework for Python. If you're interested in programming your own Jabber bot, then this software is a great place to start. With this framework, you can write simple Jabber bots that are powerful and flexible.

One of the best things about using Jabber bots is that they can be used for many different things. For example, you can use these bots to provide information about running systems, make websites interact with visitors, or notify the bot owner about updates or changes that are being monitored with custom Python scripts.

Python-Jabberbot is partly inspired by xmpppy example bot.py. However, it's designed to be reusable and to make it easy to write small Jabber bots that do one thing and do it well. The framework is straightforward to use. Here are the steps:

1. Import the class from jabberbot import JabberBot
2. Subclass the JabberBot class
3. Add methods starting with bot_, which will be exported as commands (e.g., def bot_display_id(self, mess, args)); the methods should return the message sent back to the user as a string (or None if the command gives no reply)
4. Create an instance of your bot, supplying the username and password
5. Call the serve_forever() method of your instance
6. You can call the send() method on your bot to send messages to specific users

Here is an example code:

from jabberbot import JabberBot
import datetime

class SystemInfoJabberBot(JabberBot):
def bot_serverinfo(self, mess, args):
"""Displays information about the server"""
version = open('/proc/version').read().strip()
loadavg = open('/proc/loadavg').read().strip()
return '%snn%s' % (version, loadavg, )

def bot_time(self, mess, args):
"""Displays current server time"""
return str(datetime.datetime.now())

def bot_rot13(self, mess, args):
"""Returns passed arguments rot13'ed"""
return args.encode('rot13')

def bot_whoami(self, mess, args):
"""Tells you your username"""
return mess.getFrom()

username = '[email protected]'
password = 'my-password'
bot = SystemInfoJabberBot(username,password)
bot.serve_forever()

In conclusion, if you want to create your own Jabber bot, then Python-Jabberbot is an excellent framework for you. It's easy to use and very flexible. With this software, you can build powerful and unique bots that can help you with anything you need.
What's New

Version 0.8: N/A

Free Download 7.5K
355
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Crystalized
The KDE Plastik style theme can be used on your GNOME desktop ...
SiliconVista
This software combines the visual elements of Ubuntu and Vista, presenting users ...
PYamb
Yamb is a dice game that requires the use of five dices.
GtkCamShot
The software GtkCamShot is a tool designed for capturing webcam snapshots.
PolkaDot
PolkaDot is a simple blogging software inspired by Blurt and Bloxsom, designed ...
CAN Abstraction Layer
CAN Abstraction Layer (CANAL) enables programs to access various CAN drivers using ...
Text::WordDiff
The software tracks document changes, allowing users to easily identify and compare ...
CElect
CElect offers a solution to determine winners in preferential ballot elections and ...
Kisa
This software offers real-time spell checking with a pop-up window on your ...
TCPWatch
TCPWatch is a Python-based tool that enables you to keep track of ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.