Skip to main content

Python library to interact with Linux kernel namespaces.

Project description

Documentation Status

Python-lxns

Python library to control Linux kernel namespaces

Implemented using C extension module.

Current features implemented:

  • Linux namespaces class abstractions with automatic resource control.
    • Opening existing namespaces using PIDs.
    • Opening parent user namespaces. (usually unaccessible from /proc)
    • Switching to a namespace.
    • Unsharing namespaces either from class method or function with boolean flags.
    • Automatic file descriptor resource control using with.

Documentation

Requirements

Compiling source package

  • Meson build system
  • Python headers
  • C compiler
  • Linux kernel headers

License

Python-lxns is licensed under Mozilla Public License Version 2.0.

Examples in examples/ folder are licensed under MIT license.

Project details


Download files

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

Source Distribution

lxns-0.0a2.tar.gz (21.0 kB view hashes)

Uploaded Source

Built Distribution

lxns-0.0a2-cp37-abi3-manylinux_2_17_x86_64.whl (18.3 kB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

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