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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python-icq-bot-0.0.19.tar.gz
.
File metadata
- Download URL: python-icq-bot-0.0.19.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dea051cb1b176486d2356e4b5108153fb4049cd7622507fcc54dbfabdeb5530 |
|
MD5 | f37270edd5523eaa264645001d9051e7 |
|
BLAKE2b-256 | a6064e7592ee8662e3a6d1e8a04561985620c9f5c0cfdbbea26d1318105a2984 |
File details
Details for the file python_icq_bot-0.0.19-py2.py3-none-any.whl
.
File metadata
- Download URL: python_icq_bot-0.0.19-py2.py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65869ab25b040ea1e5211d982b659dfcab4753fa47ba8a481684f7b815e67e0d |
|
MD5 | 59d21739f23cfe188c01d872a9dbf25d |
|
BLAKE2b-256 | fce92bef85d9a0349ff9c016d9afced5d953246670fce73acb1113f37278680f |