semvec/pypi-packages huggingface dataset:
doweb 1.7.2
KLayout API implementation of gdsfactory
Requires Python: >=3.11

# DoWeb 1.7.2

KLayout Web Viewer based on [canvas2canvas](https://github.com/klayoutmatthias/canvas2canvas)

This app contains the logic to render .gds files, including in VSCode.

![demo](docs/_static/doweb.png)

## Install & Run

### Through pypi

From a python virtual environment run:

```bash
python -m pip install doweb
export DOWEB_FILESLOCATION="/path/to/gds/folder" # or the windows equivalent with set
uvicorn --reload doweb.default:app
````

#### Advanced Usage

DoWeb offers two basic apps:

- Browser:

  A version that provides a version with a file browser for a folder and the doweb viewer for viewing the gds file in that folder.
  This can be used by importing the function `doweb.browser.get_app` and settings the `DOWEB_FILESLOCATION` env variable of passing
  `fileslocation=<Path object for target folder>` to the function. Alternatively there is a default one in `doweb.default.app` that
  will only look for the env variable.

- Viewer:

  Only enables the `/gds/<filename>` endpoints, no root path, i.e. no file browser. Available at `doweb.viewer.get_app`. This version
  doesn't provide a listener for the env variable. Use the `fileslocation` parameter in the function instead.

### Development

#### Clone & Install


```bash
git clone https://github.com/doplaydo/doweb.git
cd /doweb
python -m pip install -e .[dev]
make clean # to remove the build files
```

#### Set a folder for doweb to use when looking for gds files

```bash
export DOWEB_FILESLOCATION=/path/to/folder/with/gdsfiles
```

#### Run

```bash
cd src/doweb
uvicorn --reload default:app
```

Copy the link http://localhost:8000/gds/file.gds to your browser to open the waveguide example


#### Contributing

Please make sure you have also installed pre-commit before committing:

```bash
python -m pip install pre-commit
pre-commit install
```
kdefender-wrapper 0.2.0
A Telegram bot wrapper for K-Defender security
Requires Python: >=3.8

# K-Defender-wrapper

🛡️ **K-Defender-wrapper** is an async Python wrapper that integrates Telegram bots
with **K-Defender**, providing centralized message filtering and injection protection.

Designed for **aiogram / Telethon-based bots**.

---

## Features

- Async-safe verdict requests
- Telethon-based backend listener
- Decorator-based protection (`@kdefender_check`)
- Injection detection (via K-Defender)
- Safe-by-default blocking
- Zero business logic coupling

---

## Installation

```bash
pip install kdefender-wrapper
```

## Quick Start
```python
import asyncio
from kdefender_wrapper import setup, kdefender_check

await setup(
    bot=bot,
    api_id=API_ID,
    api_hash=API_HASH,
    session=SESSION,
    group_id=GROUP_ID,
    chat_token=CHAT_TOKEN,
    kdefender_id=K_DEFENDER_ID,
)

@kdefender_check()
async def handler(message):
    await message.answer("✅ Message accepted")
```

## How It Works
1. User message is intercepted
2. Text is sent to K-Defender group
3. JSON verdict is awaited
4. Message is allowed or blocked based on verdict
5. All checks are serialized and timeout-safe.
dear-ros-node-viewer 1.1.2
dear_ros_node_viewer
Requires Python: >=3.7
Keywords: ros, ros2, tool, rqt_graph, dearpygui, node-editor

<h1 align="center">
  <img src="https://github.com/iwatake2222/dear_ros_node_viewer/raw/main/00_docs/logo.png" alt="Dear RosNodeViewer logo"></a>
</h1>

https://user-images.githubusercontent.com/105265012/177068238-eaf4fed9-12c0-4c5b-ac7f-9597483c4c3c.mp4

[![Python application](https://github.com/iwatake2222/dear_ros_node_viewer/actions/workflows/python-app.yml/badge.svg)](https://github.com/iwatake2222/dear_ros_node_viewer/actions/workflows/python-app.yml)
[![PyPI Publish](https://github.com/iwatake2222/dear_ros_node_viewer/actions/workflows/pypi-publish.yml/badge.svg)](https://pypi.org/project/dear-ros-node-viewer/)

# Dear RosNodeViewer
## About
- Visualize ROS2 node diagram
- Support the following sources:
  - *architecture.yaml* generated by [CARET](https://github.com/tier4/caret)
  - *rosgraph.dot* generated by rqt_graph
  - running ROS graph analysis

## Requirements
- Ubuntu 20.04 or 22.04
  - graphviz is required
- optional: ROS 2 Galactic or Humble if you need runtime ROS graph analysis
  - e.g., `sudo apt install ros-humble-rqt-graph` , `sudo apt install ros-humble-desktop`
- Not tested in Windows / Mac

## Get Started
```sh
# Install requirements
sudo apt install graphviz

# Install Dear RosNodeViewer
pip install dear-ros-node-viewer

# Download sample graph
wget https://raw.githubusercontent.com/iwatake2222/dear_ros_node_viewer/main/sample/architecture_autoware.yaml

# Run Dear RosNodeViewer
dear_ros_node_viewer architecture_autoware.yaml
```

- Quick operation guide:
  - Middle button drag: move graph area
  - Mouse scroll: zoom in/out (zoom function is tentative)


## How to Use
[See WiKi](https://github.com/iwatake2222/dear_ros_node_viewer/wiki/01.-How-to-Use)


## Development

### Setup
```sh
git clone https://github.com/iwatake2222/dear_ros_node_viewer.git
cd dear_ros_node_viewer
pip install -e .
pip install -r requirements.txt
```

### Running Tests
```sh
# Run all tests
pytest tests/ -v

# Run with coverage
pytest --doctest-modules -v --cov=./src/dear_ros_node_viewer

# Run single test file
pytest tests/test_caret2networkx.py -v
```

### Linting
```sh
flake8 . --exclude=.venv --count --select=E9,F63,F7,F82 --show-source --statistics
pylint ./src/dear_ros_node_viewer --disable=E0401,W1203,C0301
```


# Acknowledgements
- Dear RosNodeViewer utilizes [Dear PyGui](https://github.com/hoffstadt/DearPyGui)
  - *Dear RosNodeViewer* is named in honor of Dear PyGui
- Dear RosNodeViewer contains [Roboto font](https://fonts.google.com/specimen/Roboto)
  - licensed under the Apache License, Version 2.0.
waterEntropy 2.0.0
Python package for calculating interfacial water entropy from molecular dynamics simulations.
Requires Python: >=3.11
Keywords: water, entropy, molecular dynamics, forces

[![Documentation Status](https://readthedocs.org/projects/waterentropy/badge/?version=latest)](https://waterentropy.readthedocs.io/en/latest/?badge=latest)
[![Coverage Status](https://coveralls.io/repos/github/jkalayan/waterEntropy/badge.svg?branch=main)](https://coveralls.io/github/jkalayan/waterEntropy?branch=main)
[![PyPI version](https://badge.fury.io/py/waterEntropy.svg)](https://badge.fury.io/py/waterEntropy)

# waterEntropy
The Python package for calculating interfacial water entropy from molecular dynamics simulations.

<p align="center">
<img src="docs/source/images/waterentropy_logo_grey.png" width="500px" />
</p>

## Documentation

See [here](https://waterentropy.readthedocs.io/en/latest/) for documentation for users and developers.

## License

MIT

## Contact

- jas.kalayan@stfc.ac.uk
mcp-pdf-pro 0.1.0
基于智谱 GLM-4V 的 PDF 视觉分析 MCP 工具
Requires Python: >=3.10

# 📄 MCP PDF Pro - 智能视觉分析工具

这是一个基于 Model Context Protocol (MCP) 的 PDF 分析工具。它能通过 AI 视觉模型（如智谱 GLM-4V、GPT-4o）“看懂” PDF 中的流程图、表格和图片。

## 🚀 安装与使用

本工具支持 **代码与配置分离**。作为使用者，你无需修改代码，只需在 Cursor/Claude 中配置自己的 API Key 即可。

### 1. 配置 Cursor (推荐)

请将以下内容添加到你的 Cursor `settings.json` 的 `mcpServers` 字段中：

```json
{
  "mcpServers": {
    "PDFPro": {
      "command": "uvx",
      "args": [
        "--from",
        "/这里填你whl文件的绝对路径/mcp_pdf_pro-0.1.0-py3-none-any.whl",
        "mcp-pdf-pro"
      ],
      "env": {
        "PYTHONUTF8": "1",
        
        // 🔥 【必填】请填入你的 API Key (智谱/OpenAI/DeepSeek 等)
        "MCP_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxxxxxx",

        // 🌍 【选填】API 地址 (默认为智谱 GLM-4V，如需改用其他模型请修改)
        "MCP_BASE_URL": "[https://open.bigmodel.cn/api/paas/v4/](https://open.bigmodel.cn/api/paas/v4/)",
        "MCP_MODEL_NAME": "glm-4v"
      },
      "type": "stdio"
    }
  }
}