Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

# pyflapjackevents


pyflapjackevents is a small library that serializes [Flapjack](flapjack|http://flapjack.io/) events as described in it's own [Data structures](http://flapjack.io/docs/1.0/development/DATA_STRUCTURES/). It's main intention is to allow sending monitor events to flapjack from python programs.


An example:

```
server = redis.Redis(host='localhost', port='6380')
sink = FlapjackEventSink(server, 'events')
event = FlapjackEvent(
'test-entity',
'test-check',
FlapjackEvent.EVENT_SERVICE,
FlapjackEvent.STATE_OK,
summary = 'test-summary',
details = 'test-details',
)
sink.send(event)
```


This would serialize the event and send it to the appropriate Redis channel for flapjack consumption.

## Installation

Just do:

```
pip install pyflapjackevents
```

or installing it from source:

```
git clone https://github.com/tuenti/pyflapjackevents.git
cd pyflapjackevents
python setup.py install
```
## Requirements

There're no special requirements for this library.

## Credits & Contact

pyflapjackevents was created by Tuenti Technologies S.L.. You can follow Tuenti engineering team on Twitter @tuentieng.

## License
pyflapjackevents is available under the Apache License, Version 2.0. See LICENSE file for more info.

Metadata

Release files for pyflapjackevents 0.1dev-r0

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

Source distribution (sdist)

Source distribution for pyflapjackevents 0.1dev-r0
File Size Uploaded Provenance
pyflapjackevents-0.1dev-r0.tar.gz 3.4 kB Without provenance Details

Release files / pyflapjackevents-0.1dev-r0.tar.gz

Download URL pyflapjackevents-0.1dev-r0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
de3371a2ab39df364525f2d09de1db262f40909208a1b5f9008301fb6b545a50
BLAKE2b-256 checksum
How to use checksums
d6ad4efd3bc93c80e49c825050ae43ab27d2f2ef773d7b128a40ba02da5dbdf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyflapjackevents 0.1dev-r0

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.

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