Skip to main content

Execution helpers for simplified usage of subprocess and ssh.

Project description

exec-helpers

https://travis-ci.com/python-useful-helpers/exec-helpers.svg?branch=master https://dev.azure.com/python-useful-helpers/exec-helpers/_apis/build/status/python-useful-helpers.exec-helpers?branchName=master https://coveralls.io/repos/github/python-useful-helpers/exec-helpers/badge.svg?branch=master Documentation Status https://img.shields.io/pypi/v/exec-helpers.svg https://img.shields.io/pypi/pyversions/exec-helpers.svg https://img.shields.io/pypi/status/exec-helpers.svg https://img.shields.io/github/license/python-useful-helpers/exec-helpers.svg https://img.shields.io/badge/code%20style-black-000000.svg

Execution helpers for simplified usage of subprocess and ssh. Why another subprocess wrapper and why no clear paramiko?

Historically paramiko offers good ssh client, but with specific limitations: you can call command with timeout, but without receiving return code, or call command and wait for return code, but without timeout processing.

In the most cases, we are need just simple SSH client with comfortable API for calls, calls via SSH proxy and checking return code/stderr. This library offers this functionality with deadlock free polling and friendly result objects (with inline decoding of XML Element tree, YAML, JSON, binary or just strings). In addition this library offers the same API for subprocess calls, but with specific limitation: no parallel calls (for protection from race conditions).

Pros:

Python 3.6
Python 3.7

This package includes:

  • SSHClient - historically the first one helper, which used for SSH connections. Several API calls for sFTP also presents.

  • SSHAuth - class for credentials storage. SSHClient does not store credentials as-is, but uses SSHAuth for it. Objects of this class can be copied between ssh connection objects, also it used for execute_through_host.

  • Subprocess - subprocess.Popen wrapper with timeouts, polling and almost the same API, as SSHClient (except specific flags, like cwd for subprocess and get_tty for ssh).

  • async_api.Subprocess - the same, as Subprocess helper, but works with asyncio. .. note:: for Windows ProactorEventLoop or another non-standard event loop should be used!

  • ExecResult - class for execution results storage. Contains exit code, stdout, stderr and getters for decoding as JSON, YAML, XML (and LXML) element tree, string, bytearray and brief strings (up to 7 lines).

  • ExitCodes - enumerator for standard Linux exit codes. BASH return codes (produced from signal codes) also available.

Installation

Standard: pip install exec-helpers Extras:

  • yaml - install PyYaml for yaml decoding (PyYAML is main decoder, ruamel.YAML also supported as fallback.)

  • xml - install defusedxml for safe XML parsing to xml.etree.ElementTree.Element.

  • lxml - install lxml for advanced XML parsing. Can be unsafe.

  • ALL_FORMATS (all-formats) - install all parsers. When new parsers will be added, it will ne also supported.

Usage

SSHClient

Basic initialization of SSHClient can be done without construction of specific objects:

client = exec_helpers.SSHClient(host, username="username", password="password")

If ssh agent is running - keys will be collected by paramiko automatically, but if keys are in specific location - it should be loaded manually and provided as iterable object of paramiko.RSAKey.

For advanced cases or re-use of credentials, SSHAuth object should be used. It can be collected from connection object via property auth.

Creation from scratch:

auth = exec_helpers.SSHAuth(
    username='username',  # type: typing.Optional[str]
    password='password',  # type: typing.Optional[str]
    key=None,  # type: typing.Optional[paramiko.RSAKey]
    keys=None,  # type: typing.Optional[typing.Iterable[paramiko.RSAKey]],
    key_filename=None,  # type: typing.Union[typing.List[str], str, None]
    passphrase=None,  # type: typing.Optional[str]
)

Key is a main connection key (always tried first) and keys are alternate keys. Key filename is a filename or list of filenames with keys, which should be loaded. Passphrase is an alternate password for keys, if it differs from main password. If main key now correct for username - alternate keys tried, if correct key found - it became main. If no working key - password is used and None is set as main key.

Context manager is available, connection is closed and lock is released on exit from context.

Subprocess

Context manager is available, subprocess is killed and lock is released on exit from context.

Base methods

Main methods are execute, check_call and check_stderr for simple executing, executing and checking return code and executing, checking return code and checking for empty stderr output. This methods are almost the same for SSHClient and Subprocess, except specific flags.

result: ExecResult = helper.execute(
    command,  # type: str
    verbose=False,  # type: bool
    timeout=1 * 60 * 60,  # type: typing.Union[int, float, None]
    # Keyword only:
    log_mask_re=None,  # type: typing.Optional[str]
    stdin=None,  # type: typing.Union[bytes, str, bytearray, None]
    **kwargs
)
result: ExecResult = helper.check_call(
    command,  # type: str
    verbose=False,  # type: bool
    timeout=1 * 60 * 60,  # type: type: typing.Union[int, float, None]
    error_info=None,  # type: typing.Optional[str]
    expected=(0,),  # type: typing.Iterable[typing.Union[int, ExitCodes]]
    raise_on_err=True,  # type: bool
    # Keyword only:
    log_mask_re=None,  # type: typing.Optional[str]
    stdin=None,  # type: typing.Union[bytes, str, bytearray, None]
    exception_class=CalledProcessError,  # typing.Type[CalledProcessError]
    **kwargs
)
result: ExecResult = helper.check_stderr(
    command,  # type: str
    verbose=False,  # type: bool
    timeout=1 * 60 * 60,  # type: type: typing.Union[int, float, None]
    error_info=None,  # type: typing.Optional[str]
    raise_on_err=True,  # type: bool
    # Keyword only:
    expected=(0,),  # typing.Iterable[typing.Union[int, ExitCodes]]
    log_mask_re=None,  # type: typing.Optional[str]
    stdin=None,  # type: typing.Union[bytes, str, bytearray, None]
    exception_class=CalledProcessError,  # typing.Type[CalledProcessError]
)
result: ExecResult = helper(  # Lazy way: instances are callable and uses `execute`.
    command,  # type: str
    verbose=False,  # type: bool
    timeout=1 * 60 * 60,  # type: typing.Union[int, float, None]
    # Keyword only:
    log_mask_re=None,  # type: typing.Optional[str]
    stdin=None,  # type: typing.Union[bytes, str, bytearray, None]
    **kwargs
)

If no STDOUT or STDERR required, it is possible to disable this FIFO pipes via **kwargs with flags open_stdout=False and open_stderr=False.

The next command level uses lower level and kwargs are forwarded, so expected exit codes are forwarded from check_stderr. Implementation specific flags are always set via kwargs.

If required to mask part of command from logging, log_mask_re attribute can be set global over instance or provided with command. All regex matched groups will be replaced by ‘<*masked*>’.

result: ExecResult = helper.execute(
    command="AUTH='top_secret_key'; run command",  # type: str
    verbose=False,  # type: bool
    timeout=1 * 60 * 60,  # type: typing.Optional[int]
    log_mask_re=r"AUTH\s*=\s*'(\w+)'"  # type: typing.Optional[str]
)

result.cmd will be equal to AUTH=’<*masked*>’; run command

ExecResult

Execution result object has a set of useful properties:

  • cmd - Command

  • exit_code - Command return code. If possible to decode using enumerators for Linux -> it used.

  • stdin -> str. Text representation of stdin.

  • stdout -> typing.Tuple[bytes]. Raw stdout output.

  • stderr -> typing.Tuple[bytes]. Raw stderr output.

  • stdout_bin -> bytearray. Binary stdout output.

  • stderr_bin -> bytearray. Binary stderr output.

  • stdout_str -> str. Text representation of output.

  • stderr_str -> str. Text representation of output.

  • stdout_brief -> str. Up to 7 lines from stdout (3 first and 3 last if >7 lines).

  • stderr_brief -> str. Up to 7 lines from stderr (3 first and 3 last if >7 lines).

  • stdout_json - STDOUT decoded as JSON.

  • stdout_yaml - STDOUT decoded as YAML. Accessible only if PyYAML or ruamel.YAML library installed. (Extras: yaml)

  • stdout_xml - STDOUT decoded as XML to ElementTree using defusedxml library. Accessible only if defusedxml library installed. (Extras: xml)

  • stdout_lxml - STDOUT decoded as XML to ElementTree using lxml library. Accessible only if lxml library installed. (Extras: lxml) Can be insecure.

  • timestamp -> typing.Optional(datetime.datetime). Timestamp for received exit code.

SSHClient specific

SSHClient commands support get_pty flag, which enables PTY open on remote side. PTY width and height can be set via keyword arguments, dimensions in pixels are always 0x0.

Possible to call commands in parallel on multiple hosts if it’s not produce huge output:

results: Dict[Tuple[str, int], ExecResult] = SSHClient.execute_together(
    remotes,  # type: typing.Iterable[SSHClient]
    command,  # type: str
    timeout=1 * 60 * 60,  # type: type: typing.Union[int, float, None]
    expected=(0,),  # type: typing.Iterable[typing.Union[int, ExitCodes]]
    raise_on_err=True,  # type: bool
    # Keyword only:
    stdin=None,  # type: typing.Union[bytes, str, bytearray, None]
    log_mask_re=None,  # type: typing.Optional[str]
    exception_class=ParallelCallProcessError  # typing.Type[ParallelCallProcessError]
)
results  # type: typing.Dict[typing.Tuple[str, int], exec_result.ExecResult]

Results is a dict with keys = (hostname, port) and and results in values. By default execute_together raises exception if unexpected return code on any remote.

For execute through SSH host can be used execute_through_host method:

result: ExecResult = client.execute_through_host(
    hostname,  # type: str
    command,  # type: str
    auth=None,  # type: typing.Optional[SSHAuth]
    target_port=22,  # type: int
    timeout=1 * 60 * 60,  # type: type: typing.Union[int, float, None]
    verbose=False,  # type: bool
    # Keyword only:
    stdin=None,  # type: typing.Union[bytes, str, bytearray, None]
    log_mask_re=None,  # type: typing.Optional[str]
    get_pty=False,  # type: bool
    width=80,  # type: int
    height=24  # type: int
)

Where hostname is a target hostname, auth is an alternate credentials for target host.

SSH client implements fast sudo support via context manager:

Commands will be run with sudo enforced independently from client settings for normal usage:

with client.sudo(enforce=True):
    ...

Commands will be run without sudo independently from client settings for normal usage:

with client.sudo(enforce=False):
    ...

“Permanent client setting”:

client.sudo_mode = mode  # where mode is True or False

SSH Client supports sFTP for working with remote files:

with client.open(path, mode='r') as f:
    ...

For fast remote paths checks available methods:

  • exists(path) -> bool

>>> conn.exists('/etc/passwd')
True
  • stat(path) -> paramiko.sftp_attr.SFTPAttributes

>>> conn.stat('/etc/passwd')
<SFTPAttributes: [ size=1882 uid=0 gid=0 mode=0o100644 atime=1521618061 mtime=1449733241 ]>
>>> str(conn.stat('/etc/passwd'))
'-rw-r--r--   1 0        0            1882 10 Dec 2015  ?'
  • isfile(path) -> bool

>>> conn.isfile('/etc/passwd')
True
  • isdir(path) -> bool

>>> conn.isdir('/etc/passwd')
False

Additional (non-standard) helpers:

  • mkdir(path: str) - execute mkdir -p path

  • rm_rf(path: str) - execute rm -rf path

  • upload(source: str, target: str) - upload file or from source to target using sFTP.

  • download(destination: str, target: str) - download file from target to destination using sFTP.

Subprocess specific

Keyword arguments:

  • cwd - working directory.

  • env - environment variables dict.

async_api.Subprocess specific

All standard methods are coroutines. Async context manager also available.

Example:

async with helper:
  result: ExecResult = await helper.execute(
      command,  # type: str
      verbose=False,  # type: bool
      timeout=1 * 60 * 60,  # type: typing.Union[int, float, None]
      **kwargs
  )

Testing

The main test mechanism for the package exec-helpers is using tox. Available environments can be collected via tox -l

CI systems

For code checking several CI systems is used in parallel:

  1. Travis CI: is used for checking: PEP8, pylint, bandit, installation possibility and unit tests. Also it’s publishes coverage on coveralls.

  2. Azure Pipelines: is used for windows compatibility checking.

  3. coveralls: is used for coverage display.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exec-helpers-5.2.4.tar.gz (60.5 kB view details)

Uploaded Source

Built Distributions

exec_helpers-5.2.4-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

exec_helpers-5.2.4-cp38-cp38m-win_amd64.whl (810.7 kB view details)

Uploaded CPython 3.8m Windows x86-64

exec_helpers-5.2.4-cp38-cp38m-win32.whl (695.8 kB view details)

Uploaded CPython 3.8m Windows x86

exec_helpers-5.2.4-cp38-cp38-manylinux1_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.8

exec_helpers-5.2.4-cp37-cp37m-win_amd64.whl (765.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

exec_helpers-5.2.4-cp37-cp37m-win32.whl (660.8 kB view details)

Uploaded CPython 3.7m Windows x86

exec_helpers-5.2.4-cp37-cp37m-manylinux1_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.7m

exec_helpers-5.2.4-cp36-cp36m-win_amd64.whl (764.7 kB view details)

Uploaded CPython 3.6m Windows x86-64

exec_helpers-5.2.4-cp36-cp36m-win32.whl (660.7 kB view details)

Uploaded CPython 3.6m Windows x86

exec_helpers-5.2.4-cp36-cp36m-manylinux1_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.6m

File details

Details for the file exec-helpers-5.2.4.tar.gz.

File metadata

  • Download URL: exec-helpers-5.2.4.tar.gz
  • Upload date:
  • Size: 60.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for exec-helpers-5.2.4.tar.gz
Algorithm Hash digest
SHA256 6061fd4f38c0826d755213be4894a257f144c32aef1d2c6191b39cd53d783bed
MD5 99119861f14c239a043fb81a0cd4425c
BLAKE2b-256 b1d580369d3b91b0b77445297e388cb2ace4e1e4d1a067a69a45b4793ae2e8a8

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-py3-none-any.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for exec_helpers-5.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a063213c8e81467a11c031146616020186e748292cc3c7626f1d2b7a9d0cf2fe
MD5 a1e78a088ffe7670a5a364c0a73e180a
BLAKE2b-256 0733a66ae860443709db3ac6d063c4f868ddc5d3d5fbde0901d06bde61e5bfd4

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp38-cp38m-win_amd64.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp38-cp38m-win_amd64.whl
  • Upload date:
  • Size: 810.7 kB
  • Tags: CPython 3.8m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for exec_helpers-5.2.4-cp38-cp38m-win_amd64.whl
Algorithm Hash digest
SHA256 57d25836f0f6baae8473051a3e22b1aed0a2fb354b331783bfe380b1654aa5a7
MD5 8a162dbf7cde840bb4975911ffa1ab67
BLAKE2b-256 3a84d271638bf6bd9991fc33d4dc35cd726be0323d0190c4f5e11f8a5ad4bb2d

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp38-cp38m-win32.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp38-cp38m-win32.whl
  • Upload date:
  • Size: 695.8 kB
  • Tags: CPython 3.8m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for exec_helpers-5.2.4-cp38-cp38m-win32.whl
Algorithm Hash digest
SHA256 02ee88d8835c56989eccdafde37fac257e9c29167a83e49ec10ac2b26d7904a6
MD5 66887d51171d045d1df2fc1aa8d4508c
BLAKE2b-256 b3a92740b8b7e26df6099de22057c0f5273ce5482a323ab20236d6b105dc4097

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for exec_helpers-5.2.4-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bf64465527b49cf4eaa70624bc4bcac5d61b9b502ed84035f0b6f10a77af4621
MD5 9dc653ba94d4904931060570d465b8a3
BLAKE2b-256 6787c93441de719bc9c0a806886ec5b4702232c5c77687ad8981e1525b84a232

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 765.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for exec_helpers-5.2.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 61a446815262cdb6701f7e4ee1a5cdb9d14016fa82c08cbfd4dab48207778818
MD5 b842c0006ebb99dedc2bd98e3dd3f8f8
BLAKE2b-256 b99d4bafc15a80daabc3580d40b7190746861c78ef060baee1836a35e0f15486

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp37-cp37m-win32.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 660.8 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for exec_helpers-5.2.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 fc93250e5230550377b368a197668108e3cd1fe7c8ae28e15d23a4ca237e6fd7
MD5 cc281099b92a44ed1cc9886accea350a
BLAKE2b-256 c57a96dd1154bfaf45bc7705b078d4369c32b1fc193b83fdc9d605f8e42c2f8b

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for exec_helpers-5.2.4-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ccca41497ef4fab6b12cb6da5aa8898835173b912526cf385176077866f0899c
MD5 36f19039a962738fcdc1d54b620765ae
BLAKE2b-256 feb934248d9df1d3a3c5ec6826904fe05645fc827b63aa6a477759f4b276a87a

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 764.7 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for exec_helpers-5.2.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 83cedf1512aef3919a3a8f3c7690e000990e463b685ef58a201223503e18f733
MD5 a62c125157a6a3e6a21a1690ce8a2156
BLAKE2b-256 5f7e30cb47c775b37fd91e5eb2f2d63cc345a2a71fa26d78fa5338bce32eb6e2

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp36-cp36m-win32.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 660.7 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for exec_helpers-5.2.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 bc815692e56f61944dd9e58dc3d7d05aeac6d18142ca51ae0591bf3565b864ec
MD5 74d3b2adf7f63b15172a55868de0db9f
BLAKE2b-256 324dc9b9c3edcdf5317193637a36ac5e67dc953f114d032be88115b44b4bb43c

See more details on using hashes here.

File details

Details for the file exec_helpers-5.2.4-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: exec_helpers-5.2.4-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for exec_helpers-5.2.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9c0bddb3698d4bdf9d188974d307431db9cd16624964e7397e9400772972350e
MD5 9692a558dd0570c7734620c53ed36042
BLAKE2b-256 74b3139dc26f4bf80e192c67d7977ecf5ca855ca9f5b36a13d29267ae20b6c94

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page