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. - Getting and setting the max number of namespaces.
- Mount utilities using new file descriptor based API.
- Create bind mounts.
Documentation
Also see examples/ folder for code examples.
Requirements
- Python version 3.7 or higher
PyPI wheels
PyPI wheels are completely statically linked and do not depend on any library.
Available architectures: x86_64, i686, aarch64, armv7l
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.
Metadata
Release files for lxns 0.1.0
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 |
|---|---|---|---|---|
| lxns-0.1.0.tar.gz | 22.2 kB | Without provenance | Details for lxns-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| lxns-0.1.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl | CPython 3.7 | abi3 | Linux glibc 2.17+ ARMv7l | Details for lxns-0.1.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl |
| lxns-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.7 | abi3 | Linux glibc 2.17+ ARM64 | Details for lxns-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| lxns-0.1.0-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl | CPython 3.7 | abi3 | Linux glibc 2.5+ x86-64 | Details for lxns-0.1.0-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
| lxns-0.1.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl | CPython 3.7 | abi3 | Linux glibc 2.5+ x86-32 | Details for lxns-0.1.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl |
Total release size: 95.1 kB
Release files / lxns-0.1.0.tar.gz
| Download URL | lxns-0.1.0.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7913255a5e8146e9950ee8bcd60b25ac62c9ed289eecd3b394d2aa60e09003b2
|
|
BLAKE2b-256 checksum How to use checksums |
efb9e9847504f519b60e0b60234036d03f5b5deaa12e33a8c3e1cde8b80b620e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / lxns-0.1.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
| Download URL | lxns-0.1.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl |
|---|---|
| Size | 19.3 kB |
| Tags | CPython 3.7 Linux glibc 2.17+ ARMv7l abi3 |
|
SHA-256 checksum How to use checksums |
ffedadc2ca23666470794c75feaeb86fe19eaffee7924a6bd9f43b4f54c7cb33
|
|
BLAKE2b-256 checksum How to use checksums |
5e79294545187d93789c83b3ee96beb38ed34ed9f8ec36993a9476bf43500538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / lxns-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | lxns-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 18.2 kB |
| Tags | CPython 3.7 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
9320ab93b3170fb721a5416193ea74254e7e2263b13a59239a0f89e3516bbbf4
|
|
BLAKE2b-256 checksum How to use checksums |
5929f851120c53136d287c338328d4e17b21fc1f093377ecbba62d4576444d98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / lxns-0.1.0-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | lxns-0.1.0-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 17.0 kB |
| Tags | CPython 3.7 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
df127aa607d84754cfb9bb705c6efd89b14e890afee97f952d2b4c9fb99078bc
|
|
BLAKE2b-256 checksum How to use checksums |
6885dfb65a19c947c2f91c8d2e412939fea6cb0e296fa7997d4dff847d802530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / lxns-0.1.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | lxns-0.1.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 18.4 kB |
| Tags | CPython 3.7 Linux glibc 2.5+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
b4affaa3513d57aafaf234b79972e4f41fbb7a8e56ff24120c331f71282e7300
|
|
BLAKE2b-256 checksum How to use checksums |
e059ffc4175420df4d8662eca1cf15825e4d447d3ac0fe8533529a4a888c2226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Security for lxns 0.1.0
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.