semvec/pypi-packages huggingface dataset:
CANedge-HTTP 0.0.3
Python module for accessing CANEdge filesystem via HTTP
License: MIT
Requires Python: >=3.7
Keywords: CANEdge, CSS Electronics

# CANedge HTTP
Python module for accessing the [CANedge](https://www.csselectronics.com/pages/can-bus-hardware-products) via HTTP. The CANedge HTTP interface can e.g. be used to automatically poll and then delete log files stored on the CANedge. 

The module supports download, deletion, and listing of files on the CANedge.

## Installation
```
pip install canedge_http
```

## Tools
- `ce_http_downloader`: Download log files filtered by start and end-time. Run ``ce_http_downloader --help`` for information on usage.

## Usage

### Import
```python
from canedge_http import CANedgeHTTP
```

### Construct

```python
http = CANedgeHTTP("http://192.168.1.100")
```

### Device ID

```python
http.device_id
```
Result example:
```python
'AABBCCDD'
```

### Permission

```python
http.permission
```
Result example:
```python
'OPTIONS, GET, HEAD, PUT, DELETE'
```

### List files
```python
for elm in http.list(path="/", recursive=True):
   ...
```
Result example (elm):
```python
{'path': '/device.json', 'is_dir': False, 'lastWritten': datetime.datetime(2024, 7, 12, 5, 3, 12, tzinfo=datetime.timezone.utc), 'size': 601}
```

### Download
Download takes a file-like object, e.g.

```python
f = io.BytesIO()
http.download("/device.json", f)
```
or
```python
with open("00000001.MF4", "wb") as f:
    http.download("/LOG/AABBCCDD/00000001/00000001.MF4", f)
```

### Delete
```python
http.delete("/LOG/AABBCCDD/00000001/00000001.MF4")
```
nonebot-plugin-chatgpt-turbo 1.2.1
A nonebot plugin for oneapi and openai
License: MIT
Requires Python: <4.0,>=3.8

<div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-chatgpt-turbo
</div>

# 介绍
- 本插件适配OpenAI接口兼容的大模型(OpenAI官方、DeepSeek、硅基流动)
- 支持大模型思维链展示（需要模型支持）
- 本插件具有上下文回复和多模态识别（识图）功能（需要模型支持）

# 安装

* 手动安装
  ```
  git clone https://github.com/Alpaca4610/nonebot_plugin_chatgpt_turbo.git
  ```

  下载完成后在bot项目的pyproject.toml文件手动添加插件：

  ```
  plugin_dirs = ["xxxxxx","xxxxxx",......,"下载完成的插件路径/nonebot-plugin-gpt3.5-turbo"]
  ```
* 使用 pip
  ```
  pip install nonebot-plugin-chatgpt-turbo
  ```

# 配置文件

在Bot根目录下的.env文件中追加如下内容：
必填内容：

```
oneapi_key = ""  # OpenAI官方或者是支持OneAPI的大模型中转服务商提供的KEY
oneapi_model = "gpt-4o" # 调用的大模型名称
```

可选内容（填True为开启，False为关闭）：
```
oneapi_url = ""  # 中转API地址，使用deepseek请填写"https://api.deepseek.com"，使用硅基流动请填写"https://api.siliconflow.cn/v1"，使用OpenAI官方服务不需要填写
enable_private_chat = True   # 私聊开关
r1_reason = True  # DeepSeek-R1模型思维链显示开关
merge_msg = False # 是否合并转发回复
```

# 效果
![](demo.jpg)
![](demo2.png)
![](demo3.png)

# 使用方法

- @机器人发送问题时机器人不具有上下文回复的能力
- chat 使用该命令进行问答时，机器人具有上下文回复的能力
- clear 清除当前用户的聊天记录