Skip to main content

Pywbemtools is a collection of command line tools that communicate with WBEM servers. The tools are written in pure Python and support Python 2 and Python 3.

At this point, pywbemtools includes a single command line tool named pywbemcli that uses the pywbem package on Pypi to issue operations to a WBEM server using the CIM/WBEM standards defined by the DMTF to perform system management tasks.

CIM/WBEM standards are used for a wide variety of systems management tasks in the industry including DMTF management standards and the SNIA Storage Management Initiative Specification (SMI-S).

Pywbemcli provides access to WBEM servers from the command line. It provides functionality to:

  • Explore the CIM data of WBEM servers. It can manage/inspect the CIM model components including CIM classes, CIM instances, and CIM qualifiers and execute CIM methods and queries on the WBEM server.

  • Execute specific CIM-XML operations on the WBEM server as defined in DMTF standard DSP0200 (CIM Operations over HTTP).

  • Inspect and manage WBEM server functionality including:

    • CIM namespaces

    • Advertised WBEM management profiles

    • WBEM server brand and version information

  • Capture detailed information on CIM-XML interactions with the WBEM server including time statistics and details of data flow.

  • Maintain a file with persisted WBEM connection definitions so that pywbemcli can access multiple WBEM servers by name.

  • Provide both a command line mode and an interactive mode where multiple pywbemcli commands can be executed within the context of a WBEM server.

  • Use an integrated mock WBEM server to try out commands. The mock server can be loaded with CIM objects defined in MOF files or via Python scripts.

Installation

Requirements:

  1. Python 2.7, 3.4 and higher

  2. Operating Systems: Linux, OS-X, native Windows, UNIX-like environments on Windows (e.g. Cygwin)

  3. On Python 2, the following OS-level packages are needed:

    • On native Windows:

      • choco - Chocolatey package manager. The pywbemtools package installation uses Chocolatey to install OS-level software. See https://chocolatey.org/ for the installation instructions for Chocolatey.

      • wget - Download tool. Can be installed with: choco install wget.

    • On Linux, OS-X, UNIX-like environments on Windows (e.g. Cygwin):

      • wget - Download tool. Can be installed using the OS-level package manager for the platform.

Installation:

  • On Python 2, install OS-level packages needed by the pywbem package:

    • On native Windows:

      > wget -q https://raw.githubusercontent.com/pywbem/pywbem/master/pywbem_os_setup.bat
      > pywbem_os_setup.bat
    • On Linux, OS-X, UNIX-like environments on Windows (e.g. Cygwin):

      $ wget -q https://raw.githubusercontent.com/pywbem/pywbem/master/pywbem_os_setup.sh
      $ chmod 755 pywbem_os_setup.sh
      $ ./pywbem_os_setup.sh

      The pywbem_os_setup.sh script uses sudo internally, so your userid needs to have sudo permission.

  • Install the pywbemtools Python package:

    $ pip install pywbemtools

For more details, including how to install the needed OS-level packages manually, see Installation.

Documentation and change history

For the latest version of pywbemtools released on Pypi:

Release files for pywbemtools 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywbemtools 0.5.2
File Size Uploaded
pywbemtools-0.5.2.tar.gz 1.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pywbemtools 0.5.2
File Interpreter ABI Platform
pywbemtools-0.5.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 2.0 MB

Release files / pywbemtools-0.5.2.tar.gz

Download URL pywbemtools-0.5.2.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
47fd31418155d6b6923d7581b23c2bc172224c5a238cdde7edc47ff85e1746a3
BLAKE2b-256 checksum
How to use checksums
7799dac1d23eebade208b7bf9dcfe8f2e5c9db6543d5eaa951644167aaf06945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release files / pywbemtools-0.5.2-py2.py3-none-any.whl

Download URL pywbemtools-0.5.2-py2.py3-none-any.whl
Size 77.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1e34640f794b5d490ded5c175a50be43e8ffff39754630868a257cea356e92bb
BLAKE2b-256 checksum
How to use checksums
83d6864062319ae4873ed9844427413260a80482d7044f07c2a397ddea603181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release history Release notifications | RSS feed

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page