semvec/pypi-packages huggingface dataset:
TP-Requests 2025.7.1
Send the HTTP/ MQTT/ WEBSOCKET Request
License: MIT
Keywords: TPCyberSec, TP_Requests, TP_HTTP_REQUEST, TP_MQTT_REQUEST, TP_WEBSOCKET_REQUEST

# TP-Requests - PyPI
Send the HTTP/ MQTT/ WEBSOCKET Request

<p align="center">
	<a href="https://github.com/tpcybersec/TP-Requests/releases/"><img src="https://img.shields.io/github/release/tpcybersec/TP-Requests" height=30></a>
	<a href="#"><img src="https://img.shields.io/github/downloads/tpcybersec/TP-Requests/total" height=30></a>
	<a href="#"><img src="https://img.shields.io/github/stars/tpcybersec/TP-Requests" height=30></a>
	<a href="#"><img src="https://img.shields.io/github/forks/tpcybersec/TP-Requests" height=30></a>
	<a href="https://github.com/tpcybersec/TP-Requests/issues?q=is%3Aopen+is%3Aissue"><img src="https://img.shields.io/github/issues/tpcybersec/TP-Requests" height=30></a>
	<a href="https://github.com/tpcybersec/TP-Requests/issues?q=is%3Aissue+is%3Aclosed"><img src="https://img.shields.io/github/issues-closed/tpcybersec/TP-Requests" height=30></a>
	<br>
	<a href="#"><img src="https://img.shields.io/pypi/v/TP-Requests" height=30></a>
	<a href="#"><img src="https://img.shields.io/pypi/dm/TP-Requests" height=30></a>
</p>

## Installation
#### From PyPI:
```console
pip install TP-Requests
```
#### From Source:
```console
git clone https://github.com/tpcybersec/TP-Requests.git --branch <Branch/Tag>
cd TP-Requests
python setup.py build
python setup.py install
```

## Basic Usage
```
from TP_Requests.http import TP_HTTP_REQUEST

rawRequest = """GET /v1/promo/extension HTTP/2
Host: d2y7f743exec8w.cloudfront.net
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en-US;q=0.9,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.97 Safari/537.36
Connection: close
Cache-Control: max-age=0

"""

httpRequest = TP_HTTP_REQUEST(rawRequest)

httpRequest.RequestParser.request_method = "POST"

print(httpRequest.sendRequest(Host="d2y7f743exec8w.cloudfront.net", Port=443, Scheme="https", proxy_server={"host":"127.0.0.1","port":8080}))
```
---

## CHANGELOG
protopo 0.1.9
A Python package for drawing protein topology diagrams.
License: MIT
Requires Python: >=3.10
Keywords: protopo, python, protein, bioinformatics

# ProTopo

**ProTopo** is a lightweight Python package for drawing 2D protein topology diagrams — including α-helices, β-strands, linkers, N/C-terminals, and customizable markers.

It helps visualize and annotate simplified protein secondary structure layouts for publications, teaching, or design explanation.

[GitHub repo](https://github.com/hermanzhaozzzz/ProTopo) | [Issue page](https://github.com/hermanzhaozzzz/ProTopo/issues) | [Author](https://github.com/hermanzhaozzzz)

---

## ✨ Features

- Simple, declarative interface (`add_alpha`, `add_beta`, `add_linker`)
- Tracks residue indices and directions automatically
- Custom triangle/marker support (for cuts, domains, etc.)
- Outputs high-quality vector graphics via Matplotlib
- Built-in EGFP topology example

---

## 📦 Installation

```bash
pip install protopo
# or if developing locally
poetry install
```

## 🚀 Quick Example

```python
from protopo import ProTopo

pt = ProTopo()
pt.add_n_term()
pt.add_alpha(1, 10, label="H1", to="→")
pt.add_linker(10, 13, to="↓→", steps=(0.5, 0.5))
pt.add_beta(13, 22, label="S1", to="→")
pt.add_triangles([15])
pt.add_c_term()
pt.show()
# pt.save("demo.pdf")  # save fig
# pt.close()  # release memory
```

![Qukck Example](resources/plot_demo_quickstart.png)

## 🧪 Run EGFP Example

This renders the schematic topology diagram of Enhanced GFP, following literature-reported secondary structure layout.

```python
from protopo.demo import draw_egfp
egfp = draw_egfp()
egfp.add_triangles(idx=[6, 211])
egfp.show()
# egfp.save("egfp.svg")
# egfp.close()  # release memory
```

then you will see

![EGFP demo](resources/plot_demo_egfp.png)

## 🧪 Testing

```bash
poetry run pytest
```

## License

MIT License © [Huanan Herman Zhao](https://github.com/hermanzhaozzzz)

## Contribution

Welcome to contribute codes and ideas
mcp-mermaid 0.3.5
MCP Server for generating Mermaid diagrams with built-in features
License: MIT
Requires Python: >=3.10
Keywords: mcp, mermaid, diagrams, charts

# 🎨 MCP-Mermaid

智能Mermaid图表生成工具，支持布局优化、主题系统和高质量输出的MCP服务器。

[![Python Version](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
[![PyPI](https://img.shields.io/pypi/v/mcp-mermaid.svg)](https://pypi.org/project/mcp-mermaid/)

## ✨ 核心特性

- 🎯 **智能布局优化** - 自动分析图表结构，选择最优布局方案
- 🎨 **多主题系统** - 5种专业主题，适配不同使用场景
- 📸 **高质量输出** - 支持多种分辨率，确保图表清晰度
- ☁️ **自动上传** - 集成ImageBB，生成永久访问链接
- 🔧 **MCP协议** - 完整的Model Context Protocol支持
- 🌐 **跨平台** - 支持Linux、macOS、Windows

## 🚀 快速开始

### 安装

```bash
pip install mcp-mermaid
```

### 基本使用

```bash
# 查看版本
mcp-mermaid --version

# 查看可用工具
mcp-mermaid --help-tools

# 启动MCP服务器
mcp-mermaid
```

### MCP客户端集成

MCP-Mermaid可以作为工具被AI助手调用，生成高质量的Mermaid图表：

```python
# 示例：通过MCP协议生成流程图
{
    "content": "graph TD; A-->B; B-->C; C-->D",
    "optimize_layout": True,
    "theme": "professional", 
    "quality": "high",
    "upload_image": True
}
```

## 🎨 主题展示

支持5种专业主题：

- **professional** - 商务专业风格
- **compact** - 紧凑信息密集型
- **minimal** - 极简清爽风格  
- **dark-pro** - 深色专业主题
- **default** - 经典默认样式

## 📋 系统要求

- Python 3.8+
- Node.js 16+ (用于图表渲染)
- 系统emoji字体支持

## 🔧 高级配置

### 质量设置

- **low** - 快速生成，适合预览
- **medium** - 平衡质量与速度
- **high** - 最高质量，适合正式文档

### 布局优化

智能识别图表类型并自动优化：

- 高密度图表 → TB方向 + 紧凑布局
- 层次结构 → 分层显示优化
- 流程图表 → LR方向 + 流程对齐
- 网络图表 → 力导向布局

## 🤝 贡献指南

欢迎提交Issue和Pull Request！

1. Fork项目
2. 创建功能分支 (`git checkout -b feature/amazing-feature`)
3. 提交更改 (`git commit -m 'Add amazing feature'`)
4. 推送分支 (`git push origin feature/amazing-feature`)
5. 开启Pull Request

## 📄 许可证

本项目采用MIT许可证 - 查看 [LICENSE](LICENSE) 文件了解详情。

## 🔗 相关链接

- [Mermaid.js官方文档](https://mermaid.js.org/)
- [Model Context Protocol](https://spec.modelcontextprotocol.io/)
- [问题反馈](https://github.com/mcp-mermaid/mcp-mermaid/issues)

## 📈 更新日志

查看 [CHANGELOG.md](CHANGELOG.md) 了解版本更新详情。