Skip to main content

Query Unix signals

Project description

SignalsDB is an MIT-licensed library written in Python providing a simple way to query a curated database of Unix signals.


To explain a Unix signal based on the integer id:

>>> from signalsdb.api import explain
>>> explain(13)
{'action': 'kill',
 'description': 'write on a pipe with no reader',
 'id': 13,
 'signal': 'SIGPIPE'}

Then to query the signals DB based on the signal name or action in a case insensitive way using regexes:

>>> from signalsdb.api import search
>>> search(signal='sigp\w', action='kill')
[{'action': 'kill',
  'description': 'write on a pipe with no reader',
  'id': 13,
  'signal': 'SIGPIPE'},
 {'action': 'kill',
  'description': 'profiling timer alarm',
  'id': 27,
  'signal': 'SIGPROF'}]


From PyPI:

$ pip install signalsdb

For hacking on SignalsDB it is recommended that you install from the git repository:

$ git clone
$ cd signalsdb
$ pip install .

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
signalsdb-0.1.2.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page