Skip to main content

A package to create a BehaviorCloud compatible data analyzer.

Project description

BehaviorCloud Analyzer

Python Helper


This is a thin package to help you quickly create a BehaviorCloud analyzer. It will handle calls to the BehaviorCloud API server so you don't have to worry about it. This package supports the following features:

  • Fully managed analyzer creation - you just make the conversion function!
  • One off analysis (pass an "--id" command-line parameter)
  • Daemon analysis (use the "--daemon" flag)
  • Exception handling and automatic upload to

Example Usage:

import json

from import convert_stream_to_json
from behaviorcloud.analyzer.coordinator import Coordinator

def convert(source_request, source_settings, settings, source, targets):
    target = targets[0]
    source_data = convert_stream_to_json(source_request)
    analyzed_data = [{processed: True, original: entry} for entry in source_data]
    return [{
        "data": json.dumps(analyzed_data),
        "extension": "json",
        "id": target["id"],

coordinator = Coordinator(convert)

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 bc-analyzer, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size bc_analyzer-0.2.1-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bc-analyzer-0.2.1.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page