semvec/pypi-packages huggingface dataset:
py3-weixin-utils 1.0.1
The Python3 Weixin Utils Developed By Guolei
License: MIT
Requires Python: >=3.0

# py3_weixin_utils
### py3_weixin_utils
#### 企业微信
##### webhook [document](https://developer.work.weixin.qq.com/document/path/99110)
```python
from py3_weixin_utils.work import webhook, server

webhook_instance = webhook.Webhook(
    key="your key"
)
state, _, _ = webhook_instance.send(json=webhook_instance.send_text_formatter(content="test"))
if state:
    print("send text success")
state, media_id = webhook_instance.upload_media(files={
    "file": ("README.md", open("README.md", "rb")),
})
if state and isinstance(media_id, str) and len(media_id):
    print("upload media success")
    state, _, _ = webhook_instance.send(json=webhook_instance.send_file_formatter(media_id=media_id))
    if state:
        print("send file success")
```
##### server [document](https://developer.work.weixin.qq.com/document/path/90664)
```python
from py3_weixin_utils.work import webhook, server

agentid = ""
corpid = ""
corpsecret = ""
server_instance = server.Server(agentid=agentid, corpid=corpid, corpsecret=corpsecret,
                                cache_instance="your cache instance")
state, ip_list, _ = server_instance.refresh_access_token().get_api_domain_ip()
state, media_id, _ = server_instance.refresh_access_token().media_upload(files={
    "file": ("README.md", open("README.md", "rb"))
})
state, url, _ = server_instance.refresh_access_token().media_uploadimg(files={
    "file": ("README.png", open("README.png", "rb"))
})
state, _, _ = server_instance.refresh_access_token().message_send(json={})
```
debugtwin-cli 1.0.6
DebugTwin Copilot CLI - AI-powered firmware debugging assistant
License: MIT
Requires Python: >=3.9
Keywords: firmware, debugging, embedded, ai, copilot, cli

# DebugTwin CLI

AI-powered firmware debugging assistant for embedded systems.

## Installation

```bash
pip install debugtwin-cli
```

## Quick Start

### 1. Get an API Key

1. Go to [DebugTwin Dashboard](https://embedded-frontend-production.up.railway.app)
2. Sign in with Google
3. Navigate to **API Keys** in the header
4. Click **Generate Key** and copy it

### 2. Login

```bash
debugtwin login --key YOUR_API_KEY
```

### 3. Start Chatting

```bash
debugtwin chat
```

### 4. Analyze a Log File

```bash
debugtwin analyze your_firmware.log
```

## Commands

| Command | Description |
|---------|-------------|
| `debugtwin login --key KEY` | Authenticate with your API key |
| `debugtwin chat` | Start an interactive debugging session |
| `debugtwin analyze FILE` | Analyze a firmware log file |
| `debugtwin ask "question"` | Ask a quick question |
| `debugtwin version` | Show version information |
| `debugtwin configure --url URL` | Configure custom API URL (for self-hosted) |

## Example Session

```
$ debugtwin chat
🚀 Starting DebugTwin Copilot CLI...
🔌 Connecting to: https://web-production-5988.up.railway.app

🤖 Hello! How can I help you debug your firmware today?

You: I'm seeing a HardFault on my STM32F4
🤖 I'd be happy to help debug that HardFault! Can you share:
1. The crash log or register dump
2. What was happening when it occurred
...
```

## Requirements

- Python 3.9+
- Internet connection (for API access)

## License

MIT