semvec/pypi-packages huggingface dataset:
mfd-osd-control 0.9.0
Module for controlling entries in OSD.
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 OSD Control

Module for controlling entries in OSD.

### Available methods

- check if host exists 
    ```python
    does_host_exist(mac: str)
    ```
    * `mac`: MAC address
    * return `bool` value indicating whether host exists or not

- get host details
    ```python
    get_host_details(mac: str)
    ```
    * `mac`: MAC address
    * return `dict` with host information

- add host
    ```python
    add_host(mac: str, os: str, active_boot_type: ActiveBootType, refresh: RefreshMode, description: str)
    ```
    * `mac`: MAC address
    * `os`: OS key
    * `active_boot_type`: active boot type
    * `refresh`: refresh mode
    * `description`: optional description for host

- alter host
    ```python
    alter_host(mac: str, diskless_os: str, imageloader_os: str, iso_os: str, active_boot_type: ActiveBootType, refresh: RefreshMode, description: str)
    ```
    * `mac`: MAC address
    * `diskless_os`: Diskless OS key
    * `imageloader_os`: ImageLoader OS key
    * `iso_os`: ISO OS key
    * `active_boot_type`: active boot type
    * `refresh`: refresh mode
    * `description`: optional description for host

- delete host
    ```python
    delete_host(mac: str)
    ```
    * `mac`: MAC address

- get available OSes
    ```python
    get_available_oses(mac: str, os_type: OsType)
    ```
    * `mac`: MAC address
    * `os_type`: OS type
    * return `list` of available OSes

- get host IP
    ```python
    get_host_ip(mac: str)
    ```
    * `mac`: MAC address
    * return `IPv4Address` object with retrieved IP address


## Usage

```python
import logging

from mfd_osd_control import OsdController, RefreshMode, OsType, ActiveBootType

logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)

osd = OsdController(base_url="osd.example.com")

list_of_oses = osd.get_available_oses(mac="00:11:22:AA:BB:CC", os_type=OsType.DISKLESS)
logger.log(level=logging.DEBUG, msg=list_of_oses)

if not osd.does_host_exist(mac="00:11:22:AA:BB:CC"):
    osd.add_host(mac="00:11:22:AA:BB:CC", os=list_of_oses[0], active_boot_type=ActiveBootType.DISKLESS, refresh=RefreshMode.ONCE)
    host_details = osd.get_host_details(mac="00:11:22:AA:BB:CC")
    logger.log(level=logging.DEBUG, msg=host_details)
    osd.alter_host(mac="00:11:22:AA:BB:CC", diskless_os=list_of_oses[1])
    ip_addr = osd.get_host_ip(mac="00:11:22:AA:BB:CC")
    logger.log(level=logging.DEBUG, msg=ip_addr)
    osd.delete_host(mac="00:11:22:AA:BB:CC")
```

## OS supported:

* Linux
* Windows
* ESXi
* FreeBSD

## 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-osd-control/issues).
dsym 1.0.3
DSYM: manage your dotfiles with git
Requires Python: >=3.7

<p align="center"><img src="/img/logo.png" width="200"></p>
<p align="center">sync all your dotfiles with a git repo</p>

<p>We all have this one folder with all our nice and beloved dotfiles. Sometimes you also have more than one PC where you want to use these dotfiles and keep them in sync or just want your dots when you configure a new device. DSYM is the lightweight python script that do the job.</p>

### Status

working! (but on your own risk!)

### Prerequisite
Keep the `config.ini` in the same directory like the DSYM tool and enter your credentials:<br>

`machine_name = ` Name of the machine<br> 
`dotfile_repo =`  URL of the remote dotfile repository<br>  
`dotfile_path = ` path to your local dotfile folder (/home/user/.config/)<br> 
`dsym_path = ` path to the dsym folder you created (/home/user/dsym/)<br>

### Usage
`dsym.py -init` start a new DSYM repo <br>
`dsym.py -add`  add new dotfiles to DSYM repo<br> 
`dsym.py -push` syncing up (push) to the remote repo<br> 
`dsym.py -pull` syncing down (pull) from existing DSYM repo<br>

### Installation
#### NixOS
- soon

#### Other
##### Pip:
`pip install dsym`

##### Shell:
You can use the `install.sh` script in the repo to make the tool executable.
The script copy DSYM to a systemfolder, make it executable and create a symlink to DSYM. When it's done your can use `dsym` in your terminal.

`sh install.sh`
industrial-model-client-generator 0.1.7
Industrial Model Client Generator
Requires Python: >=3.11

# 🏭 Industrial Model Client Generator

A utility for generating client-specific configurations for industrial data models

## 📦 Overview

The `industrial_model_client_generator` package automates the generation of client configurations based on a set of input definitions.

## 🚀 Installation

```bash
pip install industrial-model-client-generator
```

## ⚙️ Configuration Guide

This project requires a generator-config.yaml file to be placed in the root directory where the script is executed. This file contains environment-specific settings such as Cognite credentials, data model configuration, and instance space mappings.

### Creating `generator-config.yaml`

```yaml
client_name: "TestingClientV2"
output_path: "output" # not required
client_mode: "async" # options: both, async, sync

cognite:
  project: "${CDF_PROJECT}"
  client_name: "${CDF_CLIENT_NAME}"
  base_url: "https://${CDF_CLUSTER}.cognitedata.com"
  credentials:
    client_credentials:
      token_url: "${CDF_TOKEN_URL}"
      client_id: "${CDF_CLIENT_ID}"
      client_secret: "${CDF_CLIENT_SECRET}"
      scopes: ["https://${CDF_CLUSTER}.cognitedata.com/.default"]

data_model:
  external_id: "${CDF_DATA_MODEL_EXTERNAL_ID}"
  space: "${CDF_DATA_MODEL_SPACE}"
  version: "${CDF_DATA_MODEL_VERSION}"

instance_space_configs: # not required
  - view_or_space_external_id: "GENERIC-COR-ALL-DMD"
    instance_spaces:
      - "REF-COR-ALL-DAT"
  - view_or_space_external_id: "Equipment"
    instance_spaces_prefix: "SAP-"
  - view_or_space_external_id: "FunctionalLocation"
    instance_spaces_prefix: "SAP-"
```

### 🔐 Setting the Variables

#### Option: `.env` File (Recommended)

Create a file named `.env` in the root of your project:

```env
CDF_PROJECT=cognite-dev
CDF_CLIENT_NAME=testing
CDF_CLUSTER=az-eastus-1
CDF_TOKEN_URL=https://login.microsoftonline.com/xxxx/oauth2/v2.0/token
CDF_CLIENT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
CDF_CLIENT_SECRET=your-client-secret
CDF_DATA_MODEL_EXTERNAL_ID=CogniteCore
CDF_DATA_MODEL_SPACE=cdf_cdm
CDF_DATA_MODEL_VERSION=v1

```

## 🚀 Usage

```python
from industrial_model_client_generator import generate

generate()

```
mcp-lite-dev 0.1.2
《MCP极简开发》项目代码
Requires Python: >=3.10

# 《MCP极简开发》项目代码

本项目来自Datawhale 2025年07月组队学习的共读《MCP极简开发》项目代码。

项目地址：https://github.com/datawhalechina/mcp-lite-dev

## 环境安装

1. 基础环境：Python3.10+

2. 安装UV
```shell
pip install uv
set UV_INDEX=https://mirrors.aliyun.com/pypi/simple
```

3. 安装Python依赖包
```shell
uv sync --python 3.10 --all-extras
```

4. 切换到本地环境(.venv)
```shell
cd .venv/Scripts
activate
```

## 配置文件

1. 访问[openweathermap网站](https://openweathermap.org/)，注册账号，获取API KEY

2. 在项目根目录下新建`.env`文件，并添加以下内容
```text
OPENWEATHER_API_KEY=YOUR_API_KEY
```

3. 访问[硅基流动网站]()，注册账号，获取API KEY  
**注：书中使用的是deepseek，我们使用硅基流动的模型，其实效果是一样的。**

4. 在项目根目录下新建`.env`文件，并添加以下内容
```text
BASE_URL=https://api.siliconflow.cn/v1
MODEL=deepseek-ai/DeepSeek-V3
API_KEY=YOUR_API_KEY
```

## 阅读提示

### 第7.2.2节 MCP Server的上线发布

1. 请登录[PyPI官方网站](https://pypi.org/)注册账号。

2. 访问[PyPI官网-我的账户](https://pypi.org/manage/account/)创建API token。

3. 在项目根目录下执行以下命令，进行项目打包和上传发布，需要使用到API token：
```shell
python -m build
python -m twine upload dist/*
```

## 关注我们

<div align=center>
<p>扫描下方二维码关注公众号：Datawhale</p>
<img src="https://raw.githubusercontent.com/datawhalechina/pumpkin-book/master/res/qrcode.jpeg" width = "180" height = "180">
</div>
mp-scrape-source-aarhus 0.1.0
Obtain data of the Aarhus City Council
Requires Python: >=3.11

<!--
SPDX-FileCopyrightText: 2025 Free Software Foundation Europe e.V. <mp-scrape@fsfe.org>

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# MP Scrape Aarhus

Part of the [MP Scrape](https://git.fsfe.org/mp-scrape/mp-scrape) project.

Data Source for the Aarhus city council.

## Where to get it

You can get it through the [Python Package Index (PyPI)](https://pypi.org/project/mp_scrape_source_aarhus/):

```sh
$ pip3 install mp_scrape_source_aarhus
```

## Arguments

- (Optional) `display_browser` When enabled, a browser window is opened displaying the actions being performed.
- (Optional) `url` URL from where the data is extracted
aieda 0.1.0
AI-Enhanced Electronic Design Automation Library with iEDA Integration
Requires Python: >=3.8
Keywords: eda, ieda, vlsi, synthesis, place-and-route, ai

# AiEDA

## 介绍
面向python编程的EDA平台，集成iEDA等开源EDA工具的各类接口作为AiEDA开发引擎

### 修改iEDA third_party/iEDA/CMakelist.txt 以下参数
```Shell
option(BUILD_STATIC_LIB "If ON, build static lib." OFF)
option(BUILD_PYTHON "If ON, build python interface." ON)
```
### 编译iEDA，并install
```Shell
cd third_party/iEDA
mkdir build
cd build
cmake ..
make -j32 ieda_py
```
mlx.treemap 1.1.0
Sphinx extension to generate a treemap of Cobertura data
Requires Python: >=3.9
Keywords: cobertura, treemap, test coverage, visualization, sphinx

[![Apache-2.0 License](https://img.shields.io/github/license/saltstack/salt)](https://www.apache.org/licenses/LICENSE-2.0)
[![PyPI package](https://badge.fury.io/py/mlx.treemap.svg)](https://pypi.org/project/mlx.treemap/)
[![Build status](https://github.com/melexis/treemap/actions/workflows/python-package.yml/badge.svg?branch=main)](https://github.com/melexis/treemap/actions/workflows/python-package.yml)
[![Documentation](https://img.shields.io/badge/Documentation-published-brightgreen.svg)](https://melexis.github.io/treemap/)
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/melexis/treemap/issues)

# Sphinx Plugin for Treemap Generation

Sphinx extension that generates a treemap from a Cobertura XML file.