Re: Python linuxfs Modules
DFS <[email protected]> Wed, 8 Apr 2026 12:26:35 -0400
| Newsgroups | comp.lang.python |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
On 3/17/2026 2:33 AM, Lawrence D’Oliveiro wrote: > python_linuxfs <https://gitlab.com/ldo/python_linuxfs> is a set of > Python modules providing higher-level wrappers around various > Linux-specific system APIs. Some of these already have support in the > “os” module in the standard Python library, but most don’t. Even for > the ones that do, I think my wrappers are nicer to use, because they > avoid the requirement for working with bitmasks and use sets of > symbolic bit enums instead (with easy conversions between both forms). > > The package is split into five modules: > > * linuxfs -- file/directory functions and common utilities used by > other modules > * linuxacl -- access-control-list functions > * linuxmount -- enhanced Linux mount API > * linuxpriv -- privilege control, i.e. the Linux landlock API > * linuxproc -- process control: prctl (selected), pidfd, > signalfd and signal mask sets, namespaces This looks like outstanding programming. Got any users or feedback?