This lib provides concurrent support to IntelMQ bots
Project description
CALBI: Concurrent Automation Library for Bots in Intelmq
Description
CALBI is a library designed to manage concurrent execution of the same Intelmq bot instances when dealing with rate-limited APIs or applications.
Features
- Dynamic rate-limiting.
- Asynchronous execution of bot tasks.
- Configurable parameters for bot instances
Requirements
- Python >= 3.6
- Intelmq >= 2.0
- Redis
Installation
bash
pip install pycalbi
Or from source:
git clone https://github.com/CSIRTAmericas/CALBI.git
cd CALBI
python setup.py install
Use
from pycalbi.pycalbi import Calbi
Take a look at boyt.py to take a look in a full bot example.
Contributing
Pull requests are welcome. Please make sure to update tests as appropriate.
Note: If you paste this into a README.md file, the nested code blocks should render correctly on GitHub.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycalbi-0.0.10.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file pycalbi-0.0.10.tar.gz
.
File metadata
- Download URL: pycalbi-0.0.10.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6bd05c95701921348f9f4bd926384ec56d4eb417da60d9c179443677707a5bc |
|
MD5 | eee04a126c710ac91894e79ca50e13d0 |
|
BLAKE2b-256 | 274511aaff0e5c51b14d1e4c5520ef40792d6aabb513cb256cc20ec9aa175449 |
File details
Details for the file pycalbi-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: pycalbi-0.0.10-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e20b472d01973731eacee99abe0b7f936128bbf889af956ce3fa9082a5be46cd |
|
MD5 | 74aea315a8c1ad76a9c4e85604bdc299 |
|
BLAKE2b-256 | 87e107e667fe6a9b912b6b30f5bf28107a66c97e9cb74ecd05a2e23bfc0de04c |