Skip to main content

Syncurity Common Util Classes and Functions

Project description

The syncurity-utils package enables Automation and Orchestration efforts with the IR-Flow platform, in conjunction with our other python packages.


Available on PyPI

$ pip install syncurity-utils

Use in your Stackstorm pack like so:

from syncurity_utils import typecheck, find_domain
from syncurity_utils.exceptions import TypecheckException

You can use the integration by doing the following:

from syncurity_utils.db.db import StackstormDB
from syncurity_utils.db.alert import Alert
import time

db = StackstormDB("[user]", "[pass]", "[Database Name]", "[host]", [port])

At this point you can then get access to the helper methods for creating and querying alerts.


db.add_alert(Alert({message: test message}, time.time(),Sensor_ref_name, [IRFlow Alert Id], [Integration Id], [Tenant Id], [Alert Type Id], [ttl_seconds], [inserted_timestamp], [parent_alert_id]))

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 syncurity-utils, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size syncurity_utils-0.4.1-py2.py3-none-any.whl (16.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size syncurity_utils-0.4.1.tar.gz (17.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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page