python-ipmi 0.6.1.dev98+ge59e02a

Python library for IPMI communication and hardware management

What it is

python-ipmi is a Python library that enables programmatic communication with IPMI-enabled hardware. It provides a high-level interface for sending raw IPMI commands, reading sensor data, and managing server hardware through standard IPMI protocols. The library implements the IPMB message routing specification, allowing developers to build applications that interact with baseboard management controllers across multiple transport layers.

The library features a layered architecture that separates transport interfaces from command logic, supporting various connection types including LAN, serial, and USB. It handles connection lifecycle management, automatic retries, error translation, and target routing for complex multi-node environments. The IPMB router enables message forwarding between buses and can act as both requester and responder simultaneously, making it suitable for building management controllers or proxy services.

This tool primarily serves developers and system administrators who need to automate hardware monitoring, firmware updates, power control, and sensor polling in data center or embedded environments. It supports a range of tested devices and provides clear installation instructions via pip, along with a quick start guide that demonstrates session creation, command execution, sensor reading, and proper session teardown.

Getting started involves installing the package, importing the library, and creating a connection session with target hardware credentials. The API reference documents connection classes, interface contracts, error types, and data structures for sensor readings and command responses. The documentation is hosted on Read the Docs with versioned builds, search functionality, and a clean theme supporting light and dark modes.

Notable aspects include its open-source license, active development with version tracking, and comprehensive documentation covering advanced topics like custom interface implementation, debugging facilities, and simulated IPMB environments for testing. The project welcomes contributions and provides clear guidelines for extending functionality.

This description was generated by AI from the site's public content and may contain errors.

What you can do there

  • Read comprehensive documentation
  • Install the Python library via pip
  • Explore API reference and examples
  • Learn IPMB message routing concepts
  • Contribute to the open-source project

Who it's for

Developers and system administrators managing IPMI hardware

Frequently asked questions about python-ipmi 0.6.1.dev98+ge59e02a

›What is python-ipmi used for?

python-ipmi is used to programmatically control and monitor IPMI-enabled hardware such as servers, allowing tasks like power management, sensor reading, and firmware updates.

›How do I install python-ipmi?

Install python-ipmi via pip with the command pip install python-ipmi, then import it in your Python scripts to start managing hardware.

›Which hardware devices are supported?

The library supports a range of IPMI-compliant devices; the documentation lists tested hardware and provides guidance for adding new targets.

›Can python-ipmi route IPMB messages between buses?

Yes, the library includes an IPMB router that can forward messages between buses, act as a responder, and simulate IPMB environments for development.

›Is there a quick start guide for beginners?

The documentation includes a quick start section covering session creation, sending commands, reading sensors, and closing connections with code examples.

›Where can I find the API reference?

The API reference is available in the documentation under the API Reference section, detailing connection classes, interfaces, errors, and data types.

›Is python-ipmi open source?

Yes, python-ipmi is open source with a permissive license, hosted on GitHub, and accepts community contributions.