Skip to main content

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 hashes)

Uploaded Source

Built Distribution

pycalbi-0.0.10-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page