semvec/pypi-packages huggingface dataset:
mfd-powermanagement 1.12.1
Module for managing power (Raritan, APC, Digital Loggers, ipmi, etc.)
Requires Python: <3.14,>=3.10

> [!IMPORTANT] 
> This project is under development. All source code and features on the main branch are for the purpose of testing or evaluation and not production ready.

# PowerManagement

Module for managing power (Raritan, APC, Digital Loggers, ipmi, etc. [powercycle, power off, reset])

### How to use

Install module and from module import eg.`Ipmi`

Initialization:

```python
PowerManagement(connection, host, ip, username, password)
```
`host` and `ip` can be used interchangeably. 
`connection` is an object from `mfd_connect` and is used for remote execution

Attributes:

`States` - enums are defined for every tool, so `IpmiStates`
___
### Implemented tools:

[Ipmi](IPMI.md) - implemented controlling via IPMITool and IPMIUtil\
[PDU](PDU.md) - controlling power switch devices via SNMP\
[DLI](DLI.md) - controlling Digital Loggers power switch devices\
[CCSG](CCSG.md) - controlling power switch devices via CCSG\
[SYSTEM](SYSTEM.md) - controlling power via system calls
___

### Implemented methods
Every class that inherits from `PowerManagement` (`IPMI`, `PDU`, `CCSG`) overrides this abstract method:

`set_state(**kwargs) -> bool` - setting wanted state from available states

Methods are described for each implemented tool individually in theirs README.

---

## OS supported:

* WINDOWS
* LNX
* FREEBSD
* ESXI

## Issue reporting

If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue [here](https://github.com/intel/mfd-powermanagement/issues).
mfd-esxi 3.3.0
Module for accessing and manipulating VMware products: ESXi, VCSA and NSX
Requires Python: <3.14,>=3.10

> [!IMPORTANT]  
> This project is under development. All source code and features on the main branch are for the purpose of testing or evaluation and not production ready.

# MFD ESXI
Library to access and manipulate VMware products: ESXi, VCSA and NSX.

> [!IMPORTANT]
> This module requires `vsphere-automation-sdk` to work.\
> Please add `vsphere-automation-sdk` to your requirements file or install it manually:
> ```bash
> pip install vsphere-automation-sdk @ git+https://github.com/vmware/vsphere-automation-sdk-python@v8.0.3.0
> ```

## API - vswitch (ESXivSwitch)
* `set_forged_transmit(self, name: str, enable: bool = True) -> None` - set forged transmit policy on portgroup
* `change_ens_fpo_support(self, enable: bool, vds: str | None = None) -> None` - enable or disable FPO support
* `set_mac_change_policy(self, portgroup_name: str, enable: bool = True) -> None` - set MAC change policy on portgroup

## OS supported:

ESXi >= 7.0
NSX >= 3.2, INFRA api only

## Issue reporting

If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue [here](https://github.com/intel/mfd-esxi/issues).
test-step 1.0.0
Test step decorator and HTML reporting plugin for pytest
Requires Python: >=3.10

# Test step

**test-step** is a simple extension of the pytest framework that allows defining test steps inside tests, including file
attachments and displaying steps in html reports.

## Requirements

```
Python >=3.11
pip
virtualenv
```

## Setup

```
virtualenv venv -p <name of Python 3 executable>
source ./venv/bin/activate
pip install -e ".[test]"
```

## Run Tests

In order to run tests on the command line

```
source ./venv/bin/activate
pytest
```

## Run lint

In order to run lint on the command line

```
source ./venv/bin/activate
ruff check .
```

To automatically fix some issues, run `ruff check . --fix`.
kronicle-sdk 0.1.12
SDK to read and write data on a Kronicle microservice
Requires Python: >=3.10
Keywords: Kronicle, Kronicle SDK, Univ. Rennes, IRISA

# Kronicle SDK

Python-based Software Development Kit to fetch and push information to a Kronicle.

examples in [README.ipynb](README.ipynb)

# use in an other project

```bash
pip install kronicle-sdk

# pip install kronicle-sdk[pandas]

```

Then

```python
from kronicle import KronicleWriter
```

should work.
Shnu-Education-Tools 26.1.10
Shnu Education Tools for Teaching
Requires Python: >=3.5

![Python与数据分析及可视化](https://wqxuetang.oss-cn-beijing.aliyuncs.com/cover/3/236/3236048/3236048.jpg!wqb)
# Prof.Li's shnu Education Tools

## Author: 道法自然  lilluqun@gmail.com success@shnu.edu.cn

## **模块安装：pip install -U shnu-education-tools**

* Shnu Education Tools模块为上海师范大学机房作业收集工具。模块由作者Prof.Luqun Li团队自主开发 。
* 其他教学资源可以参见GitHub：https://github.com/liluqun。
* 作者会对模块不断更新，确保为读者提供最佳的代码工具、教学案例与服务。
* 如果您有好的建议，请发邮件到liluqun@gmail.com联系我。

![hah](https://bkimg.cdn.bcebos.com/pic/8694a4c27d1ed21b0ef4a2a7ac20cac451da81cb9169?x-bce-process=image/format,f_auto)

`````

提前备好：
    1.学生名单： **.xlsx , 从教务处系统导出学生名单，然后一定另存为xlsx文件。
    2.指明作业目录：homework_dir ='./期末试卷'
    3.指明作业排序目录：sorted_homework_dir=./期末试卷-ok
*******************************************
编辑一个文本文件：
shnu.ini,内容样本为：
name_list=人工智能.xlsx 
homework_dir =./期末试卷
sorted_homework_dir=./期末试卷-ok
直接在操作系统下运行：shnu， 如：c:\>shnu

如果用户没有shnu.ini文件，不用担心，直接运行c:\>shnu，便可在当前目录下创建shnu.ini
编辑好shnu.ini
再次运行，就会得到 排序的作业目录，和作业统计Excel文件。
******************************************

api调用使用方法:
from shnu.tools import Assistant
ast=Assistant()
df=ast.homework_check()
 返回3个DataFrame；
      0：统计学生作业的Dataframe:
      1：作业提交次数为零的Dataframe:
      2：作业次数大于0的DataFrame

使用用例1：
	ast=Assistant(name_list='人工智能.xlsx', homework_dir ='./期末试卷',sorted=False)
	result=ast.homework_check()
	print(result[0],result[1],result[2])
使用用例2：
    ast=Assistant(sorted=True,sorted_homework_dir='e:/ok')
    result=ast.homework_check()
    print(result[0],result[1],result[2])
`````

![hah](https://www.drbataipei.org/wisdom/165/images/165_4.jpg)