{"id":18277922,"url":"https://github.com/kontron/python-ipmi","last_synced_at":"2025-05-15T03:06:56.027Z","repository":{"id":13898596,"uuid":"16597103","full_name":"kontron/python-ipmi","owner":"kontron","description":"A pure python IPMI library","archived":false,"fork":false,"pushed_at":"2025-05-07T05:30:41.000Z","size":1098,"stargazers_count":195,"open_issues_count":26,"forks_count":80,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-07T06:32:28.159Z","etag":null,"topics":["hacktoberfest","ipmi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kontron.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-02-06T22:56:01.000Z","updated_at":"2025-05-07T05:30:45.000Z","dependencies_parsed_at":"2024-05-31T07:24:38.968Z","dependency_job_id":"895dd813-8440-44dd-8ab7-31a4d1de3802","html_url":"https://github.com/kontron/python-ipmi","commit_stats":{"total_commits":778,"total_committers":25,"mean_commits":31.12,"dds":0.2969151670951157,"last_synced_commit":"f0df31e096e70842f710bd7294d4ac6ed4511df3"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontron%2Fpython-ipmi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontron%2Fpython-ipmi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontron%2Fpython-ipmi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontron%2Fpython-ipmi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kontron","download_url":"https://codeload.github.com/kontron/python-ipmi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264766,"owners_count":22041793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","ipmi","python"],"created_at":"2024-11-05T12:21:55.548Z","updated_at":"2025-05-15T03:06:51.000Z","avatar_url":"https://github.com/kontron.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pure Python IPMI Library\n========================\n\n|BuildStatus| |PyPiVersion| |Documentation| |PyPiPythonVersions| |Coveralls| |CodeClimate| |Codacy|\n\nFeatures\n--------\n* native RMCP interface\n* legacy RMCP interface (using ipmitool as backend)\n* RMCP+ interface (using ipmitool as backend)\n* system (KCS) interface (using ipmitool as backend)\n* IPMB interface using the `Total Phase`_ Aardvark\n* IPMB interface using ipmb-dev driver on Linux\n\nTested Devices\n--------------\n* Kontron mTCA Carrier Manager\n* Kontron CompactPCI boards\n* Pigeon Point Shelf Manager\n* HPE iLO3/iLO4\n* N.A.T. NAT-MCH\n* DESY MMC STAMP \u0026 related AMCs (DAMC-FMC2ZUP, DAMC-FMC1Z7IO)\n\nRequirements\n------------\n\nFor IPMB interface a `Total Phase`_ Aardvark is needed.\nAnother option is to use ipmb-dev driver on Linux with an I2C bus, driver of which supports slave mode:\nhttps://www.kernel.org/doc/html/latest/driver-api/ipmb.html\n\nFor legacy RMCP, RMCP+ and system interface (KCS) the installtion of ipmitool\nis required.\n\nInstallation\n------------\n\nUsing ``pip``\n'''''''''''''\n\nThe recommended installation method is using\n`pip \u003chttp://pip-installer.org\u003e`__::\n\n    pip install python-ipmi\n\nManual installation\n'''''''''''''''''''\n\nDownload the source distribution package for the library. Extract the the package to\na temporary location and install::\n\n    python setup.py install\n\nDocumentation\n-------------\n\nYou can find the most up to date documentation at:\nhttp://python-ipmi.rtfd.org\n\nExample\n-------\n\nBelow is an example that shows how to setup the interface and the connection\nusing the `ipmitool`_ as backend with both network and serial interfaces.\n\nExample with lan interface:\n\n.. code:: python\n\n    import pyipmi\n    import pyipmi.interfaces\n\n    # Supported interface_types for ipmitool are: 'lan' , 'lanplus', and 'serial-terminal'\n    interface = pyipmi.interfaces.create_interface('ipmitool', interface_type='lan')\n\n    connection = pyipmi.create_connection(interface)\n\n    connection.target = pyipmi.Target(0x82)\n    connection.target.set_routing([(0x81,0x20,0),(0x20,0x82,7)])\n\n    connection.session.set_session_type_rmcp('10.0.0.1', port=623)\n    connection.session.set_auth_type_user('admin', 'admin')\n    connection.session.set_priv_level(\"ADMINISTRATOR\")\n    connection.session.establish()\n\n    connection.get_device_id()\n\nipmitool command:\n\n.. code:: shell\n\n    ipmitool -I lan -H 10.0.0.1 -p 623 -L \"ADMINISTRATOR\" -U \"admin\" -P \"admin\" -t 0x82 -b 0 -l 0 raw 0x06 0x01\n\n\nExample with serial interface:\n\n.. code:: python\n\n    import pyipmi\n    import pyipmi.interfaces\n\n    interface = pyipmi.interfaces.create_interface('ipmitool', interface_type='serial-terminal')\n\n    connection = pyipmi.create_connection(interface)\n\n    connection.target = pyipmi.Target(0xb2)\n\n    # set_session_type_serial(port, baudrate)\n    connection.session.set_session_type_serial('/dev/tty2', 115200)\n    connection.session.establish()\n\n    connection.get_device_id()\n\nipmitool command:\n\n.. code:: shell\n\n    ipmitool -I serial-terminal -D /dev/tty2:115200 -t 0xb2 -l 0 raw 0x06 0x01\n\nCompatibility\n-------------\n\nPython \u003e 3.6 is currently supported. Python 2.x is deprecated.\n\nContributing\n------------\n\nContributions are always welcome. You may send patches directly (eg. ``git\nsend-email``), do a github pull request or just file an issue.\n\n* respect the coding style (eg. PEP8),\n* provide well-formed commit message (see `this blog post\n  \u003chttp://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html\u003e`_.)\n* add a Signed-off-by line (eg. ``git commit -s``)\n\nLicense\n-------\n\nThis library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as published by\nthe Free Software Foundation; either version 2.1 of the License, or (at\nyour option) any later version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public\nLicense for more details.\n\nYou should have received a copy of the GNU Lesser General Public License\nalong with this library; if not, write to the Free Software Foundation,\nInc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n.. _Total Phase: http://www.totalphase.com\n.. _ipmitool: http://sourceforge.net/projects/ipmitool/\n.. |BuildStatus| image:: https://github.com/kontron/python-ipmi/actions/workflows/test.yml/badge.svg\n                 :target: https://github.com/kontron/python-ipmi/actions/workflows/test.yml\n.. |PyPiVersion| image:: https://badge.fury.io/py/python-ipmi.svg\n                 :target: http://badge.fury.io/py/python-ipmi\n.. |Documentation| image:: https://readthedocs.org/projects/python-ipmi/badge/?version=latest\n                   :target: https://python-ipmi.readthedocs.io/en/latest/?badge=latest\n                   :alt: Documentation Status\n.. |PyPiPythonVersions| image:: https://img.shields.io/pypi/pyversions/python-ipmi.svg\n                        :alt: Python versions\n                        :target: http://badge.fury.io/py/python-ipmi\n.. |CodeClimate| image:: https://codeclimate.com/github/kontron/python-ipmi/badges/gpa.svg\n                 :target: http://codeclimate.com/github/kontron/python-ipmi\n.. |Coveralls|   image:: https://coveralls.io/repos/github/kontron/python-ipmi/badge.svg?branch=master\n                 :target: https://coveralls.io/github/kontron/python-ipmi?branch=master\n.. |Codacy|      image:: https://app.codacy.com/project/badge/Grade/068eca4b1e784425aa46ae0b06aeaf37\n                 :alt: Codacy Badge\n                 :target: https://www.codacy.com/gh/kontron/python-ipmi/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=kontron/python-ipmi\u0026amp;utm_campaign=Badge_Grade\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkontron%2Fpython-ipmi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkontron%2Fpython-ipmi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkontron%2Fpython-ipmi/lists"}