semvec/pypi-packages huggingface dataset:
pyZlBus2 0.1.6
ZeroLab Bus API for Python
Requires Python: >=3.8

# pyZlBus2

ZeroLab Bus API for Python

This package provides an API for interacting with ZeroLab Bus devices using Python.

## Installation

```bash
pip install pyZlBus2
```

## Usage

```python
import pyZlBus2 as zl

zl.test()
# zl.bleDemo()
# zl.serialDemo()
# zl.serialRfDemo()

# Example usage
```

```python
import zlbus_api as zlapi
print(zlapi.ul_getDataFormat().hex(' ').upper())
```

```python
# PyZlBus2 includes zlbus_api module
import pyZlBus2 as zl
print(zl.api.ul_getDataFormat().hex(' ').upper())
```


## License

MIT
llvm-installer 1.4.12
Allows installing pre-built LLVM packages for various operating systems

# llvm-installer

https://pypi.org/project/llvm-installer/

Helps installing pre-built LLVM packages for various operating systems.

## Usage as module

Getting LLVM installation URL for a particular OS/version/architecture.

```python
from llvm_installer import LlvmInstaller
import sys_detection

local_sys_conf = sys_detection.local_sys_conf()
llvm_installer = LlvmInstaller(
    short_os_name_and_version=local_sys_conf.short_os_name_and_version(),
    architecture=local_sys_conf.architecture)
llvm_url = llvm_installer.get_llvm_url(major_llvm_version=major_llvm_version)
```

## Command-line usage

```bash
python3 -m llvm_installer
```
azure-mgmt-recoveryservicesbackup-passivestamp 1.0.0b1
Microsoft Azure Passivestamp Management Client Library for Python
Requires Python: >=3.9
Keywords: azure, azure sdk

# Microsoft Azure SDK for Python

This is the Microsoft Azure Recoveryservicesbackup Passivestamp Management Client Library.
This package has been tested with Python 3.9+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_

_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_

## Getting started

### Prerequisites

- Python 3.9+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package

```bash
pip install azure-mgmt-recoveryservicesbackup-passivestamp
pip install azure-identity
```

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.

With above configuration, client can be authenticated by following code:

```python
from azure.identity import DefaultAzureCredential
from azure.mgmt.recoveryservicesbackup.passivestamp import RecoveryServicesBackupPassiveClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = RecoveryServicesBackupPassiveClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```

## Examples

Code samples for this package can be found at:
- [Search Recoveryservicesbackup Passivestamp Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)


## Troubleshooting

## Next steps

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project. 

# Release History

## 1.0.0b1 (2025-10-13)

### Other Changes

  - Initial version
charmlibs-apt 1.0.0.post0
A Pythonic interface to manage `apt` packages.
Requires Python: >=3.10

# charmlibs-apt

The `apt` library provides a Pythonic interface to manage the `apt` packages installed on a system. It's designed for use in Juju Charms.

To install, add `charmlibs-apt` to your python dependencies. Then in your Python code, import as:

```py
from charmlibs import apt
```

See the [reference documentation](https://canonical-charmlibs.readthedocs-hosted.com/reference/charmlibs/apt/).
mff-pretty-cli 0.2.2
Simple helper to get pretty printing in the CLI.
Requires Python: >=3.8

# Pretty-CLI: Pretty Printing for the CLI

This package provides `PrettyCli`, a utility class for structured printing in the CLI. Simply use its `print()` and helper methods instead of the default `print()` and you're good to go!

The package is available in PyPi as `mff-pretty-cli`. You can install it with:
```sh
pip install mff-pretty-cli
```

Here is a full example of the available function calls:

```python
from pretty_cli import PrettyCli


cli = PrettyCli()

cli.main_title("my example file:\nAmazing")

cli.print("Hello, world!")
cli.print("你好！")

cli.big_divisor() # Divisors, titles, etc. add blank space above/under as needed.

cli.print("Let's print a dict:")
cli.blank() # Add a blank if the previous line is not blank already.
cli.blank()
cli.blank()
cli.print({ # Enforces nice alignment of dict contents.
    "foo": "bar",
    "nested": { "hi": "there" },
    "another one": { "how": "are you?", "fine": "thanks" },
})

cli.small_divisor()

cli.print("Some header styles:")
cli.chapter("a chapter")
cli.subchapter("a sub-chapter")
cli.section("a section")
cli.print("That's all, folks!")
```

And the produced output:

```
==================================================================
======================== MY EXAMPLE FILE: ========================
============================ AMAZING =============================
==================================================================

Hello, world!
你好！

================================

Let's print a dict:

foo:         bar
nested:
    hi:      there
another one:
    how:     are you?
    fine:    thanks

----------------

Some header styles:

================ A Chapter ================

-------- A Sub-Chapter --------

[A Section]

That's all, folks!
```

## Dataclass Support

By default, dataclasses are converted to dicts. This code:

```python
import math
from dataclasses import dataclass
from pretty_cli import PrettyCli


@dataclass
class MyData:
    some_int: int
    some_float: float
    some_string: str


cli = PrettyCli()

my_data = MyData(
    some_int=42,
    some_float=math.pi,
    some_string="Lorem ipsum dolor sit amet.",
)

cli.print(my_data)
```

Produces this output:

```
some_int:    42
some_float:  3.141592653589793
some_string: Lorem ipsum dolor sit amet.
```

## Replicating to File

Sometimes, we want to save a copy of the output to a log file. In Unix systems, one can use `tee`:

```sh
echo "Hi there" | tee hi.log
```

However, this is inconvenient in more complicated scenarios. For example, we might want to generate a timestamp within Python and use it for the file name, or we might want to strip color codes from the file output without using command-line tricks. `PrettyCli` has built-in support for replicating output to a file, with optional stripping of ANSI codes (on by default):

```python
cli = PrettyCli(log_file="path/to/file", strip_ansi=False) # strip_ansi defaults to True.
```
bmi-calculator-mcp 0.1.11
A Model Context Protocol server for calculating BMI (Body Mass Index)
Requires Python: >=3.10

# BMI Calculator MCP Server

**bmi-calculator-mcp**

A Model Context Protocol server for calculating BMI (Body Mass Index).

## Server Config

```json
{
  "mcpServers": {
    "bmi-calculator-mcp": {
      "command": "uvx",
      "args": ["bmi-calculator-mcp"],
      "env": {}
    }
  }
}
```

## Description

This is a simple MCP server that provides a tool to calculate Body Mass Index (BMI) based on height (in meters) and weight (in kilograms). It returns the BMI value and a health status assessment.
nosp 0.6.8
spider tools
Requires Python: >=3.9

# NOSP：轻量爬取工具

**NOSP** 是一个轻量级、模块化的 Python 框架，专为高效的网络爬取而设计。它为开发者提供了构建健壮且可扩展的网络爬虫所需的基本工具，同时处理常见的技术挑战，如并发、HTTP 请求、内容解析和数据存储。

作为一个专门的工具包，NOSP 通过提供预构建的组件，简化了复杂的爬取流程，帮助开发者专注于数据提取，而非底层实现细节。

------

## 主要特性

| 特性              | 描述                                                    |
| ----------------- | ------------------------------------------------------- |
| **多线程爬取**    | 内置线程池管理，支持高效并发操作                        |
| **HTTP 请求处理** | 强大的请求管理，支持重试机制、代理配置、请求/响应拦截器 |
| **内容解析**      | 基于 XPath 的强大内容提取工具，支持结构化数据抽取       |
| **数据库集成**    | 直接集成 MySQL 和 Redis，支持便捷的数据存储与缓存       |
| **错误处理**      | 全面的异常管理机制，确保爬虫在异常情况下的稳定性与韧性  |
| **资源提取**      | 提供专用工具，用于从网页中提取附件、图片等二进制资源    |

------

## 框架架构

NOSP 采用**模块化设计**，将关注点分离到独立组件中，同时保持清晰的接口定义。这种设计允许开发者按需使用特定模块，提升灵活性与可维护性。

### 核心组件

- **`BaseSpider` 类**：框架的核心，负责协调爬取工作流程，调度请求、解析与存储。
- **模块化结构**：各功能模块（如请求、解析、存储）松耦合，易于替换或扩展。

------

## 何时使用 NOSP？

NOSP 在以下场景中特别有价值：

- ✅ 需要构建**可维护、结构化**的网络爬虫
- ✅ 项目要求**高效率**，需支持并发操作
- ✅ 希望避免重复实现常见功能（如代理管理、解析逻辑、数据存储）
- ✅ 需要一个**灵活可扩展**的基础框架，适应不同爬取需求

> **适用范围**：既适用于简单的数据抓取任务，也足以支撑复杂的生产级爬虫系统。

------

## 核心概念

NOSP 围绕以下核心概念构建，理解这些概念是高效使用框架的关键：

| 概念                | 说明                                                         |
| ------------------- | ------------------------------------------------------------ |
| **爬虫 (Spider)**   | 协调整个爬取流程的核心类，定义起始 URL、解析逻辑和后续请求   |
| **请求 (Request)**  | 封装 HTTP 请求，支持自定义 headers、cookies、代理、重试等    |
| **解析器 (Parser)** | 负责从网页 HTML 内容中提取结构化数据，支持 XPath 和正则表达式 |
| **存储 (Storage)**  | 处理爬取数据的持久化，支持写入数据库（MySQL/Redis）或本地文件 |