semvec/pypi-packages huggingface dataset:
food-app 0.1.5
A cli food app to calculate Kcal, Carbs, Protein and Fat.
Requires Python: >=3.13

# food-app
Food CLI calculator app for kitty terminal.

### Installation:
```bash
    uv pip install food-app
```

### Usage:
Works best in kitty terminal.
```bash
    python3 food-app 
```

### Terminal CLI food-app running in kitty.
![Food-app](data/images/food_calc.png "Food-app")
wordgrid-tool 0.1.3
A CLI tool to fetch stats and answers for the Wordgrid game.
Requires Python: >=3.7

# wordgrid-tool

A command-line tool to fetch stats and answers for the [Wordgrid](https://wordgrid.clevergoat.com/) game using its API.

With `wordgrid-tool`, you can get the following information for every square:
- How many answers exist
- How many answers have been found by players
- How many unicorns are in existence
- How many unicorns haven't been found yet
- (Optionally) Return a list of all the answers

---

## Installation

Make sure you have Python 3.7 or newer.

```bash
pip install wordgrid-tool
```

Or install from source:

```bash
git clone https://github.com/yourusername/wordgrid-tool.git
cd wordgrid-tool
pip install .
```

---

## Usage

```bash
wordgrid [OPTIONS]
```

### Options

| Flag           | Description                                                                 |
|----------------|-----------------------------------------------------------------------------|
| `-s`           | Specify the indices of the grid squares to check from 1-9. These are numbered from left to right, top to bottom. You can provide one or more (e.g. `-s 3, 7, 8`). |
| `-c`           | Specify the challenge number. You can use negative numbers to go backward, e.g. `-c -1` for yesterday's challenge. You can even look at challenges that haven't been revealed yet. |
| `--imacheater` | Returns all possible answers in the specified squares. |
| `--help`       | Show full CLI help message.                                                 |

---

## Examples

- Get stats for today's challenge:
  ```bash
  wordgrid
  ```

- Get stats for squares `3`, `7`, and `8` in today's challenge:
  ```bash
  wordgrid -s 3 7 8
  ```

- Get stats for day before yesterday's challenge:
  ```bash
  wordgrid -c -2
  ```

- Get all the answers for the specified squares:
  ```bash
  wordgrid -s 1 9 5 --imacheater
  ```

---

## Disclaimer

This tool uses publicly available data from the Wordgrid API and is not affiliated with or endorsed by the creators of Wordgrid. Use the `--imacheater` flag responsibly.

---

## License

MIT License — see the [LICENSE](LICENSE) file.

---

## Contributing

Issues and pull requests are welcome!
wechat-publisher 0.1.1
微信公众号开发 SDK - 支持文章发布、图片上传等功能
Requires Python: >=3.8

# WeChat Publisher

一个简单易用的微信公众号开发 Python SDK，支持文章发布、图片上传、草稿管理等功能。

## 功能特性

- 🚀 支持从 Markdown 和 HTML 创建微信草稿
- 🖼️ 自动处理图片上传和压缩
- 📝 支持多篇文章批量发布
- 💾 Token 自动缓存和刷新
- 🛡️ 完善的错误处理

## 安装

### 从 PyPI 安装

```bash
pip install wechat-publisher
```

### 从 GitHub 安装

```bash
pip install git+https://github.com/penxxy/wechat-publisher.git
```

## 使用方法

### 基本使用

```python
from wechat_publisher import WeChatPublisher, Article

# 初始化发布器
publisher = WeChatPublisher(
    appid="your_appid",
    secret="your_secret"
)

# 创建文章
articles: list[Article] = [{
    "title": "我的第一篇文章",
    "content": "这是文章内容",
    "type": "html",  # 或 "markdown"
    "author": "作者名",
    "thumb_media_id": None  # 可选，封面图片ID
}]

# 创建草稿
media_id = publisher.create_draft_from_articles(articles)
print(f"草稿创建成功，media_id: {media_id}")
```

### 高级使用

```python
# 上传单独图片
image_url = publisher.upload_image("path/to/image.jpg")
print(f"图片上传成功: {image_url}")

# 从 URL 上传图片
image_url = publisher.upload_image("https://example.com/image.jpg")
```

## 配置说明

- `appid`: 微信公众号的 AppID
- `secret`: 微信公众号的 AppSecret  
- `token_cache_path`: Access Token 缓存文件路径（可选，默认 ".token_cache"）

## 文章格式

文章对象支持以下字段：

```python
from wechat_publisher import Article

article: Article = {
    "title": "文章标题",           # 必填：字符串
    "content": "文章内容",         # 必填：字符串
    "type": "html",              # 必填: "html" 或 "markdown"
    "author": "作者名",           # 必填：字符串
    "thumb_media_id": None,      # 可选：封面图片ID，字符串或None
}
```

## 注意事项

1. 需要在微信公众平台开启开发者模式
2. 确保服务器IP在微信白名单中
3. 图片大小建议小于2MB，支持 jpg、png 格式
4. Access Token 会自动缓存，有效期7200秒


## 许可证

MIT License

## 贡献

欢迎提交 Issue 和 Pull Request！
cleary 0.1.1
Ultimate cross-platform console clearer
Requires Python: >=3.6

# cleary

**Ultimate cross-platform console clearer.**

Cleary instantly clears your terminal or console on any OS. Works with PowerShell, CMD, bash, zsh, and more.

## Features

- Clears input buffer and screen by default
- Delay before clearing (`--delay N`)
- Run any command after clearing (`--`)
- Info about the tool (`info`)

## Install

```sh
pip install cleary
```

## Usage

```sh
cleary
cleary --delay 2
cleary -- pip list
cleary info
```