SignalsDB is an MIT-licensed library written in Python providing a simple way to query a curated database of Unix signals.
Usage:
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'}]
Installation:
From PyPI:
$ pip install signalsdb
For hacking on SignalsDB it is recommended that you install from the git repository:
$ git clone git@github.com:eugene-eeo/signalsdb.git $ cd signalsdb $ pip install .
Metadata
Release files for signalsdb 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| signalsdb-0.1.2.tar.gz | 3.8 kB | Without provenance | Details for signalsdb-0.1.2.tar.gz |
Release files / signalsdb-0.1.2.tar.gz
| Download URL | signalsdb-0.1.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe6c5217e9a41acb5056a14a2bfaf6de688c53a2e1b931a5e152eb957af32208
|
|
BLAKE2b-256 checksum How to use checksums |
c7b239c5ab188e26c0caa168ee019abb61de0f8131dd9fe5cf602cea108d9eac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for signalsdb 0.1.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.