Skip to content
/ pywbem Public
forked from pywbem/pywbem

Pywbem - A WBEM client and related utilities, written in pure Python.

Notifications You must be signed in to change notification settings

j053ph4/pywbem

 
 

Repository files navigation

Pywbem - A WBEM client and related utilities, written in pure Python

Version on Pypi Travis test status (master) Appveyor test status (master) Docs build status (latest) Test coverage (master)

Pywbem is a WBEM client and WBEM indication listener, written in pure Python. It runs on Python 2 and Python 3.

The major components of pywbem are shown in this diagram:

alternate text

A WBEM client allows issuing operations to a WBEM server, using the CIM operations over HTTP (CIM-XML) protocol defined in the DMTF standards DSP0200 and DSP0201. The CIM/WBEM infrastructure is used for a wide variety of systems management tasks supported by systems running WBEM servers. See WBEM Standards for more information about WBEM and these standards.

A WBEM indication listener allows receiving indications generated by a WBEM server.

Pywbem also includes higher level classes to support typical WBEM client activities:

  • WBEMServer - provides APIs for managing basic characteristics of a WBEM server including:
  • finding CIM namespaces and the Interop namespace,
  • finding WBEM management profiles,
  • finding basic information about the WBEM server.

For rapid installation, use pip:

$ pip install pywbem

For more details and alternative ways to install, see the Installation section in the pywbem documentation.

For information on how to use pywbem, or how to contribute to it, go to the pywbem documentation .

The lastest pywbem documentation is available on ReadTheDocs:

The documentation includes API documentation, user documentation, tutorial documentation, developer documentation.

This includes a number of Jupyter notebooks that act as a pywbem tutorial and provide working examples of pywbem API usage.

There are also a number of presentations on the status, concepts, and implementation of pywbem available in readthedocs.

Pywbem includes two command line tools:

  • wbemcli - An interactive shell for issuing WBEM operations against a WBEM server. In addition to executing the WBEM operations directly, simple scripts can be created to be executed within wbemcli.
  • mof_compiler - A MOF compiler to compile MOF into repositories (e.g. WBEM servers) or to test compile MOF.

The following simple example script lists the namespaces and the Interop namespace in a particular WBEM server:

#!/usr/bin/env python

import pywbem

server_uri = 'http://localhost'
user = 'fred'
password = 'blah'

conn = pywbem.WBEMConnection(server_uri, (user, password),
                             default_namespace=namespace)

server = pywbem.WBEMServer(conn)

print("Interop namespace:\n  %s" % server.interop_ns)

print("All namespaces:")
for ns in server.namespaces:
    print("  %s" % ns)

For each upcoming release, the bugs and feature requests that are planned to be addressed in that release are listed in the issue tracker with an according milestone set that identifies the target release. The due date on the milestone definition is the planned release date. There is usually also an issue that sets out the major goals for an upcoming release.

Pywbem 0.11.0 is in development and is expected to be released in Q2 of 2017

Pywbem github Issue 633 defines the basic direction for release 0.11.0

For information on how to contribute to pywbem, see the Development section in the documentation.

Pywbem is provided under the GNU Lesser General Public License (LGPL) version 2.1, or (at your option) any later version.

About

Pywbem - A WBEM client and related utilities, written in pure Python.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.6%
  • Other 1.4%