semvec/pypi-packages huggingface dataset:
enode-host 0.1.6
Host-side tools that interact with the ESP-IDF firmware.
License: MIT
Requires Python: >=3.10

# Host Python Tools

This folder contains host-side Python code that interacts with the ESP-IDF
firmware (e.g., over serial, sockets, or file exchange). It is kept separate
from the firmware build to avoid mixing tool dependencies with ESP-IDF.

## Quick start

```bash
python -m venv .venv
source .venv/bin/activate
pip install -e .

enode-host --help
enode-host socket 127.0.0.1 3333 "hello"
enode-host server --port 3333 --interactive
enode-host gui --port 3333
```

## Notes

- Add runtime dependencies to `pyproject.toml` under `project.dependencies`.
- Keep device/transport details in small modules so they can be shared by
  scripts and tests.
- The GUI uses wxPython; install it if you plan to run `enode-host gui`.
- The GUI needs an active X11/Wayland display. On headless hosts, use
  `xvfb-run enode-host gui` or run `enode-host server` instead.
- If the GUI aborts with WebView/EGL errors on Linux, try
  `WEBKIT_DISABLE_DMABUF_RENDERER=1 enode-host gui`.
- If WebView still fails, you can disable the map panel with
  `ENODE_DISABLE_WEBVIEW=1 enode-host gui`.

## Protocol (TCP, length-prefixed)

Frame format: 1 byte message type, 2 bytes big-endian payload length, payload.

Message types:
- 0x10 COMMAND (host -> device)
- 0x20 STATUS (device -> host)
- 0x30 ACK (either direction)
- 0x40 DATA (device -> host, ACC batch)
- 0x41 PPS (device -> host, immediate PPS)

Commands (payload begins with command_id):
- 0x01 start_daq
- 0x02 stop_daq
- 0x03 set_mode (1 byte: 0 realtime, 1 past)
- 0x04 start_realtime_stream
- 0x05 stop_realtime_stream

Status payload (16 bytes):
- node_type: uint8
- node_number: uint8
- level: uint8
- parent_mac: 6 bytes
- self_mac: 6 bytes
- rssi: int8

DATA payload:
- node_type: uint8
- node_number: uint8
- sample_count: uint8
- repeated samples (count):
  - cc: uint64 (big-endian)
  - acc_x: float32 (big-endian)
  - acc_y: float32 (big-endian)
  - acc_z: float32 (big-endian)

PPS payload:
- node_type: uint8
- node_number: uint8
- cc: uint64 (big-endian)
- epoch: int64 (big-endian)
linux-do-connect-token 0.0.4
A helper library to authenticate with connect.linux.do and retrieve auth.session-token
License: MIT
Requires Python: >=3.12

# Linux Do Connect Token

A helper library to authenticate with connect.linux.do and retrieve auth.session-token

---

[![Python CI](https://github.com/Sn0wo2/linux-do-connect-token/actions/workflows/py.yml/badge.svg)](https://github.com/Sn0wo2/linux-do-connect-token/actions/workflows/py.yml)
[![Release](https://github.com/Sn0wo2/linux-do-connect-token/actions/workflows/release.yml/badge.svg)](https://github.com/Sn0wo2/linux-do-connect-token/actions/workflows/release.yml)
[![CodeQL Advanced](https://github.com/Sn0wo2/linux-do-connect-token/actions/workflows/codeql.yml/badge.svg)](https://github.com/Sn0wo2/linux-do-connect-token/actions/workflows/codeql.yml)

[![GitHub release](https://img.shields.io/github/v/release/Sn0wo2/linux-do-connect-token?color=blue)](https://github.com/Sn0wo2/linux-do-connect-token/releases)

---

> 由于26年2月connecct.linux.do更新了页面所以此项目暂时不可用。

---

> [!] 项目当前正在开发, **不保证`v0`的向后兼容性**, 如果要在生产环境使用请等待`v1`发布

---

## Usage

> See example

---

## Get `LINUX_DO_TOKEN(_t)`

1. Open InPrivate page(Because token refresh)
2. Log in to [linux.do](https://linux.do)
3. Open DevTools by pressing F12
4. Go to the Application tab
5. Expand Cookies in the left sidebar and select linux.do
6. Find the `_t` cookie in the list
7. Copy its value for later use
8. Close InPrivate page(Dont logout linux.do)
tobacco-mof 4.0.2
Topologically Based Crystal Constructor (ToBaCCo)
License: MIT

Fixed ToBaCCo 3.0 code from https://github.com/tobacco-mofs

#### useage
```sh    
from tobacco import run_tobacco
from glob import glob
from tqdm import tqdm

save_path = "./"

nodes_dataset = glob("./database/example/nodes/*cif")
edges_dataset = glob("./database/example/edges/*cif")
templates_dataset = glob("./database/example/templates/*cif")

for node in tqdm(nodes_dataset):
    print("NODE:", node)
        for edge in (edges_dataset):
        print("EDGE:", edge)
        for template in (templates_dataset):
            try:
                run_tobacco(template, [node], [edge], save_path)
            except:
                pass
```

# Bugs

If you encounter any problem, please email ```sxmzhaogb@gmail.com```.
moysklad-api 0.5.19a1
Мой Склад API
License: MIT
Requires Python: <3.14,>=3.10
Keywords: api, async, client, moysklad, мой склад

<p align="center">
  <a href="https://api.moysklad.ru"><img src="https://www.moysklad.ru/upload/logos/logoMS500.png" alt="MoyskladAPI"></a>
</p>

<div align="center">

<p align="center">
Асинхронная библиотека для работы с API МойСклад
</p>

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![PyPI version](https://img.shields.io/pypi/v/moysklad-api.svg)](https://pypi.org/project/moysklad-api/)
[![Downloads](https://img.shields.io/pypi/dm/moysklad-api.svg)](https://pypi.python.org/pypi/moysklad-api)
[![Status](https://img.shields.io/badge/status-pre--alpha-8B5CF6.svg?logo=git&logoColor=white)]()
[![API Version](https://img.shields.io/badge/Мой_Склад_API-1.2-blue.svg)](https://dev.moysklad.ru/doc/api/remap/1.2/)

</div>

> [!CAUTION]
> Библиотека находится в активной разработке и 100% **не рекомендуется для использования в продакшн среде**.

## Установка

```console
pip install moysklad-api
```

## Пример использования

```Python
import asyncio

from moysklad_api import MoyskladAPI, F

ms_api = MoyskladAPI(token="token")


async def main():
    """
    Получение архивных товаров с пустым описанием
    и заменой ссылки на поставщика объектом

    `limit=None` — загрузить все элементы без ограничений
    """
    products = await ms_api.get_products(
        filters=[
            F.archived == True,
            F.description.empty(),
        ],
        expand="supplier",
        limit=None
    )
    for product in products.rows:
        print(product)


if __name__ == "__main__":
    asyncio.run(main())
```
gaunt 0.1.0
Python SDK for logging LLM traces to an analytics scoring API.
License: MIT
Requires Python: >=3.9
Keywords: llm, sdk, analytics, rag, observability, evaluation

# LLM Analytics Python SDK

Python SDK for collecting LLM app traces (chat, RAG, vision, structured output), standardizing them, and sending them to an Analytics Bank API for scoring.

## Features
- Pydantic v2 strict payload models.
- Sync and async clients via `httpx`.
- Built-in scoring tags via `ScoringTag`.
- Automatic UUID generation for `trace_id`.

## Installation
```bash
pip install gaunt
```

For local development:
```bash
pip install -e ".[dev]"
```

## Quickstart
```python
from gaunt import Client, ScoringTag

client = Client(
    api_key="sk_live_xxx",
    base_url="https://analytics-bank.example.com",
)

result = client.log(
    project_id="project_123",
    inputs={
        "messages": [
            {"role": "system", "content": "You are a concise assistant."},
            {"role": "user", "content": "What is RAG?"},
        ],
        "rag_context": [
            {"content": "RAG combines retrieval and generation.", "source_id": "doc-1"},
        ],
    },
    outputs={
        "raw": "RAG uses retrieved knowledge to ground generations.",
    },
    expected={"topic": "rag"},
    metadata={"env": "prod"},
    scoring_tags=[
        ScoringTag.RAG_FAITHFULNESS,
        ScoringTag.ANSWER_CORRECTNESS,
    ],
)

print(result)
client.close()
```

## Scoring Tags
- `ScoringTag.SCHEMA_VALIDITY` -> `score:schema_validity`
- `ScoringTag.RAG_FAITHFULNESS` -> `score:rag_faithfulness`
- `ScoringTag.VISION_HALLUCINATION` -> `score:vision_hallucination`
- `ScoringTag.TOXICITY` -> `score:toxicity`
- `ScoringTag.NUMERIC_SCORING` -> `score:numeric_scoring`
- `ScoringTag.ANSWER_CORRECTNESS` -> `score:answer_correctness`

## Payload Shape
The SDK emits payloads in this form:

```json
{
  "project_id": "project_123",
  "trace_id": "uuid...",
  "inputs": {
    "messages": [],
    "images": [],
    "rag_context": [],
    "json_schema": {}
  },
  "outputs": {
    "raw": "...",
    "parsed": {}
  },
  "expected": {},
  "metadata": {},
  "config": {
    "scoring_tags": ["score:rag_faithfulness", "score:schema_validity"]
  }
}
```

## Testing
```bash
pytest -q
```

## Publishing
See `docs/publishing.md` for a release checklist and TestPyPI/PyPI upload commands.