Skip to main content
https://badge.fury.io/py/syncurity-utils.svg https://circleci.com/gh/Syncurity/syncurity-utils/tree/master.svg?style=svg&circle-token=8a8847e25e6eed888591abb3fbc40ba165d2417e https://api.codacy.com/project/badge/Grade/878a6906207f44d99f0b746b4e30c55f https://api.codacy.com/project/badge/Coverage/878a6906207f44d99f0b746b4e30c55f

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

Usage

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.

example:

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]))
db.delete_alert(1)

Release files for syncurity-utils 0.4.1

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

Source distribution (sdist)

Source distribution for syncurity-utils 0.4.1
File Size Uploaded
syncurity_utils-0.4.1.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for syncurity-utils 0.4.1
File Interpreter ABI Platform
syncurity_utils-0.4.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size:33.8 kB

Release files / syncurity_utils-0.4.1.tar.gz

Download URL syncurity_utils-0.4.1.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b43f865efd2bc2ba63eb30424c8680d001e7c88a01ffef89ef6de128487a8300
BLAKE2b-256 checksum
How to use checksums
7e433a048133e2ca7437cfedbdc20a255b0437d7cbcc711ab0e6c682f56c5d5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / syncurity_utils-0.4.1-py2.py3-none-any.whl

Download URL syncurity_utils-0.4.1-py2.py3-none-any.whl
Size 16.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
511718520020b4a1bec8e1c52a90585599116237042aaeba7d0f7b9f74b84571
BLAKE2b-256 checksum
How to use checksums
560cc0c53d6a28aec0a2435c9196f12ac0a229025b9366a4cf484c45cb14205a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.0

2 release files

0.2.29

2 release files

0.2.28

2 release files

0.2.25

2 release files

0.2.24

2 release files

0.2.23

2 release files

0.2.22

2 release files

0.2.21

2 release files

0.2.20

1 release file

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.8

1 release file

0.2.7

2 release files

0.2.6

2 release files

0.2.2

2 release files

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