semvec/pypi-packages huggingface dataset:
pibot-discord 3.3.1
Multi-purpose Discord Bot
Requires Python: >=3.13
Keywords: python, discord, bot, moderation, fun, utility

# PiBot

A discord bot providing administration and utility features!

## Features

* Easy to run (uses Python)
* Modular cog-based architecture
* MongoDB integration for guild settings
* DeepL translation support
* Development tools for testing

## Installation

You can run PiBot in two ways:

* **From PyPI** (after publishing): `pip install pibot` or `uv add pibot`, then run `pibot`.
* **From Docker**: use the image `tobiasgoetz/pibot` from Docker Hub (see [Docker](#docker) below).

# Local Development

## Prerequisites

* Python 3.13 or higher
* [uv](https://github.com/astral-sh/uv) package manager
* MongoDB instance (local or remote)
* Discord bot token from [Discord Developer Portal](https://discord.com/developers/applications)

## Setup

1. **Clone the repository**
   ```bash
   git clone https://github.com/TobiasGoetz/pibot.git
   cd pibot
   ```

2. **Install dependencies**
   ```bash
   uv sync
   ```

3. **Set up environment variables**
   
   Copy the example environment file and create your `.env` file with your values:
   ```bash
   cp .env.example .env
   ```
   
   Edit `.env` with your actual values. The `.env.example` file contains all required and optional environment variables with descriptions.

4. **Run the bot**
   ```bash
   uv run pibot
   ```

## Development Workflow

### Running the Bot

The recommended way to run the bot during development is using `uv` directly:

```bash
uv run pibot
```

This provides:
* Fast iteration (no Docker rebuilds needed)
* Easy debugging with IDE integration
* Direct access to logs and file system

### Development Features

When `ENVIRONMENT` is not set to `production` or `testing`:
* **DevTools cog** is automatically loaded with development commands
* Commands sync locally (not globally) for faster testing
* Additional debugging features are available

### Code Quality

The project uses `ruff` for linting and formatting. Run it with:

```bash
uv run ruff check .
uv run ruff format .
```

## Documentation

Update docs using:
```bash
uv run sphinx-apidoc -f -o docs/source src/pibot
```

## Docker

### Testing Docker Build Locally

To test the Docker build locally without publishing:

```bash
docker build -t pibot:local .
docker run --env-file .env pibot:local
```

### Building and Publishing Multi-Architecture Images

**⚠️ This will publish to Docker Hub.** Make sure you're logged in with `docker login` before running.

To build and publish multi-architecture images from your local machine:

1. Create buildx builder (one-time setup):
   ```bash
   docker buildx create --use --name pibot
   ```

2. Build and push multi-arch image to Docker Hub:
   ```bash
   docker buildx build --platform linux/amd64,linux/arm64 --push -t tobiasgoetz/pibot .
   ```
   
   This command will build the image for both AMD64 and ARM64 architectures and **push it to Docker Hub**.

**Note:** For active development, using `uv` directly is recommended over Docker for faster iteration.
swanboard 0.1.9b2
Dashboard for SwanLab.
Requires Python: >=3.8
Keywords: machine learning, reproducibility, visualization

# SwanLab-Dashboard

SwanLab - 训练可视化服务

该仓库用于维护SwanLab训练可视化服务的相关代码和文档，包含前后端。

## 目录结构

其中 `swanboard` 用于维护后端代码，`vue` 用于维护前端代码，`test` 用于维护测试代码。

```
├── swanboard
│   ├── controller
│   ├── db
│   ├── middleware
│   ├── module
│   ├── router
│   ├── run
│   ├── settings.py
│   ├── template
│   └── utils
├── test
├── tutils
└── vue
```

## 工作流程

- 后端开发者在 `swanboard` 目录下进行开发，完成后端功能。
- 前端开发者在 `vue` 目录下进行开发，完成前端功能后，需要进行打包 `npm run build.release`，打包目标路径为 `swanboard/template`。
- 前后端开发完成后，需要进行测试，测试代码存放在 `test` 目录下。
- 整体功能通过，即可在 main 上发布新版本，同时发布新 tag，触发自动打包并更新 pypi 包版本。

## SwanLab 与 SwanBoard

SwanBoard 仅负责针对训练数据提供可视化服务，而不参与训练过程。其作为依赖导入到 SwanLab 中，由 `swanlab watch` 命令启动服务。
recursives 0.1.0
Add your description here
Requires Python: >=3.11

# recursives

Initial PyPI package scaffold for `recursives`, using `uv` for build and publish.

## Local workflow

```bash
uv build
uv publish
```

`uv publish` reads `UV_PUBLISH_TOKEN` automatically.

If your token is stored as `PYPI_TOKEN`, run:

```bash
export UV_PUBLISH_TOKEN="$PYPI_TOKEN"
uv publish
```

## TestPyPI

```bash
uv publish --publish-url https://test.pypi.org/legacy/
```
dotlocalslashbin 0.0.27
Download and extract files to `~/.local/bin/`.
Requires Python: >=3.11

`dotlocalslashbin` → Download to `~/.local/bin/`

## Features

Uses a [TOML] configuration file, by default `bin.toml` and has no dependencies
beyond the Python standard library. Supports the following actions after
downloading the URL\* to a cache:

- extract to the output directory — from zip or tar files — or
- create a symbolic link in the output directory or
- run a command for example to correct the shebang line in a zipapp or
- copy the downloaded file

Guesses the correct action if none is specified. By default caches downloads to
`~/.cache/dotlocalslashbin/`.

Optionally can:

- run a command after download for example to correct a shebang line
- confirm a SHA256 or SHA512 hex-digest of the downloaded file
- invoke the target with an argument, for example `--version`
- strip a prefix while extracting
- ignore certain files while extracting
- clear the cache beforehand

\* if the URL is an absolute path on the local file system; it is not downloaded
to the cache.

[uv]: https://github.com/astral-sh/uv
[TOML]: https://en.wikipedia.org/wiki/TOML

## Installation

The recommended way to run `dotlocalslashbin` is with [uv].

Command to install the latest released `dotlocalslashbin` from PyPI:

    uv tool install dotlocalslashbin

Command to run latest development version of `dotlocalslashbin` directly from
GitHub:

    uv tool run git+https://github.com/maxwell-k/dotlocalslashbin --version

## Example

For example to download `tofu` to the current working directory, first save the
following as `tofu.toml` then run the command below.

```
[tofu]
url = "https://github.com/opentofu/opentofu/releases/download/v1.10.3/tofu_1.10.3_linux_amd64.zip"
expected = "acf330602ec6ae29ba68dd5d8eb1f645811ae9809231ecdccd4774b21d5c79bc"
version = "version"
ignore = ["LICENSE", "README.md", "CHANGELOG.md"]
```

Command:

    uv tool run dotlocalslashbin --output=. tofu.toml

Further examples are available in files like `linux-amd64.toml` and
`github.toml` in the `bin` directory of
[maxwell-k/dotfiles](https://github.com/maxwell-k/dotfiles/).

## See also

<https://github.com/buildinspace/peru>

<!--
README.md
SPDX-FileCopyrightText: 2024 Keith Maxwell <keith.maxwell@gmail.com>
SPDX-License-Identifier: CC0-1.0
-->
<!-- vim: set filetype=markdown.htmlCommentNoSpell  : -->