Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Pure Python interface for ICQ Bot API. Bot cookbook for Humans.

Project description

🐍 python-icq-bot

Pure Python interface for ICQ Bot API. Bot cookbook for Humans.

Table of contents

Introduction

This library provides complete ICQ Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5, 3.6 and 3.7.

Getting started

Create your own bot by sending the /newbot command to MegaBot and follow the instructions.

Note a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.

Installing

Install using pip:

pip install --upgrade python-icq-bot

Install from sources:

git clone https://github.com/icq-bot/python-icq-bot.git
cd python-icq-bot
python setup.py install

Example

See the project example directory.

Some ICQ bots you can play with right now:
Chat ID Bot [source code]
Echo Bot [source code]
Giphy Bot [source code]
Hash Bot [source code]
Meme Bot
OAuth Bot [source code]
Reformat Bot [source code]
Stickers Bot
URL Decode Bot [source code]
URL Encode Bot [source code]
Vinci Bot
WolframAlpha Bot [source code]

Starting your bot

Without Virtualenv:

python my_bot.py

Using Virtualenv:

# Initializing Virtualenv.
virtualenv venv

# Activating Virtualenv.
source venv/bin/activate

# Installing python-icq-bot library into local venv directory.
pip install --upgrade python-icq-bot

# Starting your bot.
python my_bot.py

# Deactivating virtualenv.
deactivate

Get in touch

python-icq-bot channel

Project details


Download files

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

Files for python-icq-bot, version 0.0.19
Filename, size File type Python version Upload date Hashes
Filename, size python_icq_bot-0.0.19-py2.py3-none-any.whl (14.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size python-icq-bot-0.0.19.tar.gz (13.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page