semvec/pypi-packages huggingface dataset:
facebook-mcp-server 0.1.0
A simple facebook MCP server
Requires Python: >=3.13

# Facebook MCP Server
<img src="https://badge.mcpx.dev?type=server" title="MCP Server"/>

## Overview

A Model Context Protocol (MCP) server implementation that provides Facebook Page interaction and management capabilities. This server enables automated posting, comment moderation, and content retrieval.

## Components

## Tools

The server offers the following tools:

* **post_to_facebook:**
    * Posts a message to the Facebook Page.
    * Input: `message` (string): The message to post.
* **reply_to_comment:**
    * Replies to a comment on a specific post.
    * Input:
        * `post_id` (string): The ID of the post.
        * `comment_id` (string): The ID of the comment.
        * `message` (string): The reply message.
* **get_page_posts:**
    * Retrieves posts published on the Facebook Page.
    * Input: None.
* **get_post_comments:**
    * Retrieves comments for a specific post.
    * Input: `post_id` (string): The ID of the post.
* **filter_negative_comments:**
    * Filters negative comments from a post based on keywords.
    * Input: `post_id` (string): The ID of the post.
* **delete_post:**
    * Deletes a post from the Facebook Page.
    * Input: `post_id` (string): The ID of the post to delete.
* **delete_comment:**
    * Deletes a comment from a post.
    * Input: `comment_id` (string): The ID of the comment to delete.

## Setup

1.  **Configure Facebook Credentials:**
    * Create a `.env` file in the root directory of your project.
    * Add your Facebook Page access token and Page ID to the `.env` file:

        ```
        FACEBOOK_PAGE_ACCESS_TOKEN=YOUR_PAGE_ACCESS_TOKEN
        FACEBOOK_PAGE_ID=YOUR_PAGE_ID
        ```

    * Replace `YOUR_PAGE_ACCESS_TOKEN` and `YOUR_PAGE_ID` with your actual values.
    * **Important:** Add `.env` to your `.gitignore` to avoid committing sensitive information.

2.  **Configure in Claude Desktop (or your MCP Client):**
    * Configure your MCP client (e.g., Claude Desktop) to connect to the Facebook MCP server.
    * Example configuration for Claude Desktop (uv):

        ```json
        {
          "mcpServers": {
              "facebook": {
                  "command": "uv",
                  "args": [
                      "--directory",
                      "/path/to/facebook-mcp-server",
                      "run",
                      "facebook-mcp-server"  
                  ]
              }
          }
        }
        ```


## Building

Comming Next.


## License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
phd2client 0.3.0
PHD2 event server API client
Requires Python: >=3.13

# phd2client

A python binding for the PHD2 event server API.

## Installation

```
pip install phd2client
```

## Usage

```python
from phd2client.guider import Guider, GuiderError

with Guider("localhost", connect=True) as guider:
    try:
        # connect equipment in profile "Simulator"
        guider.ConnectEquipment("Simulator")

        # start guiding with settle tolerance of 2.0 pixels, 10 second settle time, 100-second timeout
        guider.Guide(2.0, 10.0, 100.0)
    except GuiderError as e:
        print(f"Guider Error: {e}")
```

See [examples](https://github.com/agalasso/phd2client/blob/master/python/examples/) for more complete examples.
glodap 0.3
GLODAP downloader and importer in Python
Requires Python: >=3.10

# glodap

[![Tests](https://github.com/mvdh7/glodap/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/mvdh7/glodap/actions)
[![pypi badge](https://img.shields.io/pypi/v/glodap.svg?style=popout)](https://pypi.org/project/glodap/)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/glodap.svg)](https://anaconda.org/conda-forge/glodap)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

Download [GLODAP](https://glodap.info) datasets and import them as pandas DataFrames.

## Install

    pip install glodap
    conda install conda-forge::glodap

## Use

The functions `arctic`, `atlantic`, `indian`, `pacific` and `world` import the latest version of the GLODAP dataset for the corresponding region, first downloading the file if it's not already saved locally.  For example:

```python
import glodap
df_atlantic = glodap.atlantic()
```

Files are saved by default at `"~/.glodap"`, but this can be controlled with the
kwarg `gpath`.  See the function docstrings for more information.

The columns of the imported DataFrames can be passed
directly into [PyCO2SYS v2](https://mvdh.xyz/PyCO2SYS):

```python
import PyCO2SYS as pyco2
co2s_atlantic = pyco2.sys(data=df_atlantic, nitrite=None)
```

Note `nitrite=None` - this means PyCO2SYS will ignore the `"nitrite"` column,
which is necessary because while PyCO2SYS includes the nitrite-nitrous acid
equilibrium, its equilibrium constant is valid only under lab conditions.

Because of how the columns are named, when passing the DataFrame directly to
PyCO2SYS as above, the system will be solved from DIC and alkalinity, not pH.

The columns are the same as in the original GLODAP .mat files available from [glodap.info](https://glodap.info), except:
  * The `"G2"` at the start of each parameter has been removed.
  * Flags end with `"_f"` instead of just `"f"`.
  * There is a `"datetime"` column, which combines the `"year"`, `"month"` and `"day"` but NOT the `"hour"` and `"minute"` (because some of these are missing).

The functions `download` and `read` can also be used for finer control, such as
specifying a particular GLODAP version rather than using the latest one.  See
their function docstrings for more information.

The .mat files from the GEOMAR mirrors are downloaded, and the SHA256 checksum
of each downloaded file is checked before the file is written to disk.
fp4nt 1.1.2
Fp4NT is a file parsing tool specially designed for processing and converting nested tabular data. It supports multiple input formats, such as HTML and Excel, and converts them to Markdown-formatted tables.
Requires Python: >=3.7

# 📚 fp4nt —— 嵌套表格解析工具
---

![License](https://img.shields.io/pypi/l/fp4nt)

> 🧰 专为嵌套表格数据设计的解析与转换工具，支持 HTML 和 Excel 转 Markdown 表格

---

## 🌟 功能亮点

- ✅ 支持从 **HTML** 提取并转换为 **Markdown 表格**
- ✅ 支持处理 **Excel（.xlsx）** 文件中的合并单元格
- ✅ 自动填充 **跨行/跨列空白单元格**
- ✅ 可自定义 **填充标记**（如“无”）
- ✅ 简洁的日志系统便于调试

---

## 🛠️ 安装方式

```bash
pip install fp4nt
```

或升级至最新版本：

```bash
pip install --upgrade fp4nt
```

---

## 🔧 使用方法

### 1. 初始化对象

```python
from fp4nt import Fp4NT

# 可选参数控制是否填充合并单元格
fp4nt = Fp4NT(row_fill_merged=True, col_fill_merged=False, fill_mark='无')
```

### 2. HTML 表格转 Markdown

```python
html = "<table><tr><th>Header1</th><th>Header2</th></tr><tr><td>Data1</td><td>Data2</td></tr></table>"
markdown_output = fp4nt.convert_html_to_markdown(html)
print(markdown_output)
```

### 3. Excel 重构 DataFrame（含合并单元格处理）

```python
data_path = '/path/to/your/file.xlsx'
df = fp4nt.build_excel_frame(data_path)
print(df.to_markdown(index=False))
```

---

## 📦 依赖库

确保已安装以下依赖包：

```bash
pip install -r requirements.txt
```

依赖项如下：

| 包名             | 版本要求       |
|------------------|----------------|
| beautifulsoup4   | >=4.9.0        |
| html2text        | >=2020.1.16    |
| pandas           | >=1.0.0        |
| openpyxl         | >=3.0.0        |

---

## 📁 示例文件结构

```
fp4nt/
├── __init__.py
├── fp4nt.py      # 主模块
└── README.md     # 当前文档
```

---

## 📄 示例输出（Markdown 表格）

输入 HTML：

```html
<table>
  <tr><th>姓名</th><th>年龄</th></tr>
  <tr><td>张三</td><td>25</td></tr>
</table>
```

输出 Markdown：

```
| 姓名 | 年龄 |
|------|------|
| 张三 | 25   |
```

---

## 💬 反馈建议 & 报告问题

欢迎在 [GitHub Issues](https://github.com/yourname/fp4nt/issues) 中提交反馈或 bug 报告！

---

## 📜 协议

该项目采用 MIT License，请参阅 [LICENSE](LICENSE) 文件了解更多。

---

## 🙌 感谢

感谢你使用 `fp4nt`！如果你觉得这个工具对你有帮助，欢迎 ⭐ Star、分享给朋友或贡献代码 😊

---