Skip to main content

# Bosun Plugins

Guidelines for making plugins

  • Don’t alter the concurrency model.

    If you don’t know what this means, then you can skip this whole bullet.

    I/O is patched with gevent most of the time (FTP handlers are currently an exception). If you some special concurrent processing, use gevent’s Pool or Group, if possible.

  • Keep to builtin or standard packages.

    This helps to keep the total number of installed packages down, and, in turn, the number of packages that are loaded into memory.

    Recommended packages:

    • JSON: builtin json

    • YAML: pyyaml

    • XML: xmltodict

    • HTTP: builtin urllib, builtin urllib2, and requests

  • Use YourDeviceSubclass.test_subclass() to check your work.

    It’s strongly recommended that your subclass pass this method. It performs basic checks and can alert you if you subclass seems to be doing something strange or is missing anything. This doesn’t check your implementation, but instead checks that you’re adhering to the contract set out by being a Device subclass.

[See the full documentation](docs/index.rst)

Metadata

Release files for bosunplugins 0.1.0

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

Source distribution (sdist)

Source distribution for bosunplugins 0.1.0
File Size Uploaded Provenance
bosunplugins-0.1.0.tar.gz 9.4 kB Without provenance Details

Release files / bosunplugins-0.1.0.tar.gz

Download URL bosunplugins-0.1.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b85e07950b44c4f07be24992b353de6a2453571f855f6f00a0a9c3cb9aee3834
BLAKE2b-256 checksum
How to use checksums
49d41032601669821bb2bd7a97083b65716d6a5877685188f10530102f5def4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bosunplugins 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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