Skip to main content

BehaviorCloud Analyzer

Python Helper

N|Solid

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 Sentry.io

Example Usage:

import json

from behaviorcloud.analyzer.data 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)
coordinator.run()

Metadata

Release files for bc-analyzer 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bc-analyzer 0.2.3
File Size Uploaded Provenance Actions
bc-analyzer-0.2.3.tar.gz 5.7 kB Without provenance Details for bc-analyzer-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bc-analyzer 0.2.3
File Interpreter ABI Platform Actions
bc_analyzer-0.2.3-py3-none-any.whl Python 3 none any Details for bc_analyzer-0.2.3-py3-none-any.whl

Total release size: 12.6 kB

Release files / bc-analyzer-0.2.3.tar.gz

Download URL bc-analyzer-0.2.3.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fef1e437eff4dac3c8d3c8c5e0cad52278f16e1a5b45c10e67dde3d670c62ebe
BLAKE2b-256 checksum
How to use checksums
df3cceb3fd569643e087f2eb054d10a85a36830416407f92ef90ea77ca1d7431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.8.9 Darwin/20.5.0

Release files / bc_analyzer-0.2.3-py3-none-any.whl

Download URL bc_analyzer-0.2.3-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e62cfdb1fa3bf4334b6a985133785227ae877e9736c95d8fde1f5895c039b77
BLAKE2b-256 checksum
How to use checksums
3824455fd5e8b8206e4c0242e6b79a1170de4fa0b631f17dc9d8141de12f7b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.8.9 Darwin/20.5.0

Security for bc-analyzer 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page