semvec/pypi-packages huggingface dataset:
dilog 0.1.6
私有的log以及log的oss上传包
Requires Python: >=3.6

# dilog

`dilog` 是一个用于日志记录和上传到阿里云OSS的私有Python包。它提供了日志记录功能，以及将日志文件压缩并上传到阿里云OSS的功能，非常适合在私有项目中使用。

## 功能特点

- **日志记录**: 支持将日志记录到本地文件，支持多级别日志（DEBUG、INFO、ERROR、SYSTEM）。
- **日志上传**: 自动将日志文件压缩为zip格式，并上传到阿里云OSS。
- **单例模式**: 采用单例模式确保日志处理类只会被实例化一次。

## 安装

确保安装最新版本
```bash
pip install dilog
pip install dilog --upgrade
```

## 使用说明

### 记录日志

```python
from dilog.log_handler import LogHandler

# 获取日志处理器实例
log_handler = LogHandler.get_instance()

# 记录日志
log_handler.report(tag="Initialization", content="LogHandler initialized successfully", level="INFO")
```

### 上传日志文件

```python
import os
# 确保环境变量已设置
os.environ['ALI_ACCESS_KEY_ID'] = 'your_access_key_id'
os.environ['ALI_ACCESS_KEY_SECRET'] = 'your_access_key_secret'
os.environ['ALI_OSS_ENDPOINT'] = 'ALI_OSS_ENDPOINT'
os.environ['ALI_BUCKET_NAME'] = 'ALI_BUCKET_NAME'
from dilog.log_handler import handle_error_feedback

# 调用日志处理功能
handle_error_feedback(str)
```

## 联系我们：
didiwangluo@outlook.com
floisy 0.1.0
A short description of the floisy package
Requires Python: >=3.6

# Floisy

A brief description of what this project does and who it's for.

## Installation

```bash
pip install floisy
```

## Usage

```python
import floisy

# Add usage examples here
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
lmtr-agents 0.1.0a2
Various llm agents (agent_chat, agent_tr, agent_ref, agent_imp, agent_comb) for translation
Requires Python: >=3.8

# lmtr-agents
[![pytest](https://github.com/ffreemt/lmtr-agents/actions/workflows/routine-tests.yml/badge.svg)](https://github.com/ffreemt/lmtr-agents/actions)[![python](https://img.shields.io/static/v1?label=python+&message=3.8%2B&color=blue)](https://www.python.org/downloads/)[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)[![PyPI version](https://badge.fury.io/py/lmtr-agents.svg)](https://badge.fury.io/py/lmtr-agents)

Various llm agents (agent_tr, agent_ref, agent_imp, agent_comb, agent_comb, agent_comb_imp, agent_comb_imp1) for translation

## Intro
Heavily based on the templates of Andrew Ng's translation agent, intended for use in https://llmtool.dattw.eu.org 's last boxes.

## Install it

```shell
pip install lmtr-agents

```

## Use it
Example `.env`
```
LLM_MODEL=gpt-4o-mini  # or gpt-3.5-turbo
LLM_BASE_URL=https://openrouter.ai/api/v1
LLM_API_KEY=sk-or-v1-...
```

```python
from lmtr_agents import agent_tr, agent_ref, agent_imp, agent_comb, agent_comb, agent_comb_imp, agent_comb_imp1
```