semvec/pypi-packages huggingface dataset:
cashlog 1.0.0
Cash flow tracker
License: MIT
Requires Python: >=3.10.12
Keywords: calculator csv command value cumulative cashlog tracker flow money tracking finance statistics monitor monitoring log analysis management cash track budgeting budget


[![GitHub main workflow](https://img.shields.io/github/actions/workflow/status/dmotte/cashlog/main.yml?branch=main&logo=github&label=main&style=flat-square)](https://github.com/dmotte/cashlog/actions)
[![PyPI](https://img.shields.io/pypi/v/cashlog?logo=python&style=flat-square)](https://pypi.org/project/cashlog/)

**Cash** flow **tracker**.

Please refer to the [GitHub repository](https://github.com/dmotte/cashlog) for more information.
WinGrab 0.0.2
WinGrab: A simple tool to get the PID of the window under the cursor.
License: MIT
Requires Python: <4,>=3.7
Keywords: win32api windows gui

# WinGrab
A simple tool to get the PID of the window under the mouse cursor, implemented in **Python**.

`wingrab` is implemented in the Python language, supports running directly and integrating into Python code, 
and currently only supports Windows.

## Installation
### From pip

```bash
pip install wingrab
```

### From source code

Download the [wingrab.py](wingrab%2Fwingrab.py) and [cursor.cur](wingrab%2Fcursor.cur) files and place them in your project directory, 
ensuring the `cursor.cur` file is in the same location as `wingrab.py`.

## Usage

### Run directly in CLI

**Ensure the `wingrab` package is installed via pip**, You can then run it directly in the CLI using:

```bash
py-wingrab
```

or

```bash
py-wingrab grab
```

You can run it together with some powershell commands like `Get-Process`:

```bash
Get-Process -Id $(py-wingrab)
```

If `wingrab` crashes, and the mouse cursor has changed to a cross, 
run the `cleanup` command to try to restore the mouse cursor.

```bash
py-wingrab cleanup
```

### Integrate into your Python code

It is very simple to integrate `wingrab` into your Python code,
you just need to call the `grab` function in the `wingrab` package.

```python
from wingrab import wingrab

pid = wingrab.grab()
```

The `grab` function returns the PID of the window under the cursor as an integer.

Note that the `grab` will block the current thread until the user clicks the left mouse button,
so if you want to use it in a GUI application,
you had better call the `grab` function in a sub thread. (See examples below)

**Note: `wingrab` can be used in both the main thread and the sub threads, 
but if you want to use it in a sub thread, make sure to call `wingrab.grab()` in the main thread first.**

To restore the global mouse cursor to the default when `wingrab` crashes, invoke the `cleanup` function.

```python
from wingrab import wingrab

wingrab.cleanup()
```

## Examples

`examples` directory contains several examples which demonstrate usage and integration methods. 
You can run them directly after installing the package:

- [pyqt5_example.py](examples%2Fpyqt5_example.py): An example of using `wingrab` in the main thread of a PyQt5 application.
- [pyqt5_example_run_in_sub_thread.py](examples%2Fpyqt5_example_run_in_sub_thread.py): An example of using `wingrab` in the sub thread of a PyQt5 application.
- [tkinter_example.py](examples%2Ftkinter_example.py): An example of using `wingrab` in a Tkinter application.
- [run_in_sub_thread.py](examples%2Frun_in_sub_thread.py): An example of using `wingrab` in a sub thread of a console application.
nonebot-plugin-amitabha 0.1.5
基于nonebot2的群聊赛博念佛插件
License: MIT
Requires Python: >=3.9


<div align="center">

<p align="center">
  <a href=""><img src="https://proxy.39miku.fun/Kaguya233qwq/nonebot-plugin-amitabha/refs/heads/main/images/amitabha.jpg" width="200" height="200" alt="阿弥陀佛"></a>
</p>

## nonebot_plugin_amitabha


<span style="color: yellow; font-size: 15px;">✨ _🙏基于nonebot2的群聊赛博念佛插件🙏_ ✨</span>

</div>

</details>

## 📖 介绍

### 🪷南无阿弥陀佛🪷

众所周知，以任何形式如诵读、传播、印刷佛经者都将累积对应功德。现今科学技术越发先进，自然不必拘泥于念佛的形式如何。为了打造高效、便捷、一体化的“赛博念佛”生态，并通过网络更好地广泛传播佛法，本人编写了此插件🙏。

**💡佛经数据源：docs/**
- 如果你有不错的佛经或佛咒，欢迎提交相关的pull request
- 佛经佛咒是txt文本文档格式，经文一行一句
- 推荐以经文名作为文件名保存，它将作为念经指令的经文名参数

**💡本地佛经目录：参考localstore的默认存储目录**
- 加载插件时将会从仓库中的docs文件夹下载所有经文
- 如果你想和最新的经文保持同步，请备份自己本地的经文，并删除[data_dir]下的所有文件，重启nonebot即可


## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot_plugin_amitabha

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot_plugin_amitabha
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot_plugin_amitabha
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot_plugin_amitabha
</details>
<details>
<summary>conda</summary>

    conda install nonebot_plugin_amitabha
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_amitabha"]

</details>

## ⚙️ 配置 (必要)

在 nonebot2 项目的`.env`文件中添加下表中的必填配置

| 配置项 | 必填 | 默认值 | 说明 |
|:-----:|:----:|:----:|:----:|
| send_interval | 是 | 无 | 念经时发送信息的间隔 |

## 🎉 简单使用

- 首先，你应该在群内发送"经文列表"以确认下载到本地的经文名称列表。

- 发送“念佛+[经文名]+[念诵次数]”来开始一个念佛任务。

- 你可以在念佛过程中发送“停止念佛”来终止当前的念佛任务。

- 发送“念佛模式”获得沉浸式的念佛体验，可发送“关闭念佛模式”来退出。

### 🤖 指令表
**以下指令均需要命令前缀**
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| 念佛模式 | 群员 | 否 | 群聊 | 进入念佛虚拟环境 |
| 关闭念佛模式 | 群员 | 否 | 群聊 | 退出念佛虚拟环境 |
| 念佛 [经文名] [念诵次数]| 群员 | 否 | 群聊 | 开始一个念佛任务 |
| 停止念佛 | 群员 | 否 | 群聊 | 停止当前念佛任务 |
| 佛经列表 | 群员 | 否 | 群聊 | 查看下载的佛经名称列表 |

## ⚠️ 注意

开启**念佛模式**会有以下行为：

- 备份群头像与机器人群名片
- 修改群头像为佛陀头像，修改群名称
- 开启全员禁言

大群推荐在群聊**宵禁**时使用，日常使用可能会导致**群员流失**

关闭念佛模式会**恢复**以上被修改的内容并解除全员禁言

## 👣 更新日志：

---

2024 12.14 v0.1.5

修复插件依赖问题

2024 12.12 v0.1.4

移除不必要的配置项引用

2024 12.12 v0.1.3

使用localstore数据存储标准

2024 12.9 v0.1.2

修复已知问题，构建项目发布至pypi

2024 12.7 v0.1.0

添加基础功能，发布初版代码

---

## ✅ TODO：

* [X]  进入和退出念佛的虚拟环境
* [X]  开始和停止念佛的基本功能
* [ ]  每日禅修
* [ ]  敲木鱼功能
* [ ]  语音诵经
* （待追加...）

## ❤️鸣谢

[[Nonebot](https://github.com/nonebot/nonebot2)] 超好用的跨平台bot开发框架

### 如果你喜欢此插件请不要忘记点个⭐~