/pyseccomp

An interface to libseccomp using ctypes. API compatible with libseccomp's Python bindings.

Primary LanguagePythonMIT LicenseMIT

pyseccomp

PyPI Python Versions GitHub Actions codecov

An interface to libseccomp using ctypes.

This library is API compatible with libseccomp's Python bindings, but it's available on PyPI and it's written in pure Python.

This is the intended use case:

try:
    import seccomp
except ImportError:
    import pyseccomp as seccomp