semvec/pypi-packages huggingface dataset:
py-lootbox 1.6.0
Python versions and dependency management made easy.
License: Apache-2.0
Requires Python: >=3.8
Keywords: packaging, lootbox, loot, cli

# Lootbox
Lootbox creates isolated Python installations to easily manage multiple Python versions on your computer. It allows you to create projects with its CLI and add and manage dependencies for them. It was created by a student, and for serious usage, you should probably check out Poetry instead. It is also written in Rust, so it's automatically faster and better than Poetry. ;)
## Usage
You can create and manage project dependencies and install Python versions right now. It also provides a simple utility for bundling the project if you want to get a simpler version with requirements.txt. If I have time, I might even add the option to use it to publish packages to PyPI (adding the functionality of "pyproject.toml", "setup.py", etc., directly to Lootbox).
### Installation
```
pip install py-lootbox
```
### Install Python Version
This works differently on Linux and Windows to avoid the weird behaviors of the Python installer. On Windows, the version is installed using NuGet, and on Linux (and maybe macOS, though I haven't tested it), it builds the Python version from source (Python tarball), so the installation can be quite slow.
```
loot install {version_to_install}
loot install 3.10.0
```
### Create project
```
loot new {name} {python_version}
loot new test 3.10.0

cd {name}
cd test
```
### Run project
```
loot run
```
### Add dependency
```
loot add {package_name}
loot add bs4
```
### Bundle
```
loot bundle
```
### Run command inside venv
In some cases you might want to run a command inside the projects venv. This is common if one of your dependencies provides a cli.
```
loot exec {command_to_run}
loot exec alembic -h
```
nonebot-adapter-tailchat 0.1.0b13
NoneBot2 Tailchat 适配器 / Tailchat adapter for nonebot2
License: Apache-2.0
Requires Python: <4.0,>=3.9
Keywords: bot, tailchat, nonebot2

<p align="center">
  <a href="https://nonebot.dev/"><img src="https://nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">

# Nonebot Adapter Tailchat

## Tailchat 适配器

[![License](https://img.shields.io/github/license/eya46/nonebot-adapter-tailchat)](https://github.com/eya46/nonebot-adapter-tailchat/blob/master/LICENSE)
[![Python](https://img.shields.io/badge/python-3.9+-blue.svg)](https://docs.python.org/zh-cn/3.9/library/index.html)
[![NoneBot](https://img.shields.io/badge/nonebot-2.3.0+-red.svg)](https://nonebot.dev)
[![Tailchat](https://img.shields.io/badge/Tailchat-1.11.3+-blue.svg)](https://tailchat.msgbyte.com)
</div>

## 环境要求

- Tailchat >= 1.11.3
    - api: `getMessage`
- Python 3.9+
- NoneBot 2.3.0+
- pydantic >= 2.0.0
- HTTPClient驱动器
    - > 默认需要,除非 `useHttp=False`, 且配置了 `jwt`
    - ~httpx
    - ~aiohttp

## Tailchat机器人开启方式

1. 安装 `开放平台插件`
2. 进入 `设置` -> `开放平台` -> `创建应用` -> `填写基本信息`
3. 进入 `应用` -> `机器人` -> `开启机器人能力`
4. 在 `基本信息` 内获取 `appId` 和 `appSecret`

> 暂未支持 `消息回调地址`

## 配置方式

`.env` 文件

```dotenv
TAILCHAT_BOTS='
[
  {
    "url": "https://xxxxxxx/",
    "appId": "ts_******",
    "appSecret": "****"
  }
]
'

TAILCHAT_RECONNECT_INTERVAL=5
TAILCHAT_TIME_OUT=5
```

## 详细配置项

[config.py](./nonebot_adapter_tailchat/config.py)

## 相关项目

- [dcwatson/bbcode](https://github.com/dcwatson/bbcode)
- [Tailchat](https://github.com/msgbyte/tailchat)
- [python-socketio](https://github.com/miguelgrinberg/python-socketio)
- [nonebot2](https://github.com/nonebot/nonebot2)
- [pydantic2](https://docs.pydantic.dev/latest/)
- ...