Skip to main content

A Python library providing an enumeration of Linux capabilities.

Project description

linux-capabilities

linux-capabilities is a Python library that provides an enumeration of Linux capabilities based on the capabilities(7) Linux man page.

Installation

For a standard installation, use:

python3 -m pip install [--break-system-packages] py-linux-capabilities

To install from TestPyPI, use:

pip install -i https://test.pypi.org/simple/ py-linux-capabilities

Build

python3 -m build

Usage

from linux_capabilities import LinuxCapabilities

mycap = LinuxCapabilities.CAP_SYS_ADMIN
print(mycap)

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

py_linux_capabilities-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_linux_capabilities-0.1.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file py_linux_capabilities-0.1.1.tar.gz.

File metadata

  • Download URL: py_linux_capabilities-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for py_linux_capabilities-0.1.1.tar.gz
Algorithm Hash digest
SHA256 da3081b04bab38f134ebe4701434689c79db7bcb60a49523cac6e1f90f3a0d86
MD5 a79a5796ca1f3766da5f4885c9b9a117
BLAKE2b-256 af887416cb6eedabdd14bc16906fe82864c39732a976be45794df12bc9f0be51

See more details on using hashes here.

File details

Details for the file py_linux_capabilities-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for py_linux_capabilities-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c42a5932324688d7119c91f4daf9c063520b3eb6526766195e8886ace0c6783
MD5 e2693cad3d6b8e056955c57c93eee388
BLAKE2b-256 10d28fd338cb02581f08bb8bef2a60b7700015bb841b48544fc5a6f22016d18a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page