semvec/pypi-packages huggingface dataset:
devjoni-hosguibase 0.0.7
A simplified widget toolkit supporting many backends
Requires Python: >=3.8
Keywords: toolkit, GUI, tk, gtk, p3d

# Hosguibase - A multi-backend GUI toolkit

Hosguibase a toolkit for making graphical user interfaces using Python
Hosguibase uses other toolkits
as its backends, which allow programs to look native on many platforms.
Some backends may have qualities that make them better suited
for certain tasks.

Hosguibase does not aim to expose all or even many
functionalities of its backends. On the contrary, we look for a
minimal feature set that can be used to create acceptable applications.
This minimalism is to ease the workload needed to
maintain multiple backends.
You can use the features of a backend directly but this
will likely lock you down to that specific backend (which may not be
bad at all).

Hosguibase is developed by DEV Joni since 2023. Currently,
the project is in an early stage not recommended
for production.


## Installing

```
pip install devjoni-hosguibase
```

## API Overview

### Widgets

- MainWindow - The main window
- FrameWidget - Containment and partitioning
- TextWidget - Non-editable text (label)
- ButtonWidget - Clickable -> command
- SliderWidget - Slidable (scale)
- EntryWidget - Single-line editable text
- EditorWidget - Multiline editable text
- DropdownWidget - Selection (optionmenu)
- ImageWidget - Shows an image

The API resembles tkinter. When creating a new widget,
you specify its parent and then make the widget appear
on the screen by using the grid method.

### A hello world example

```python
import devjoni.guibase as gb

app = gb.MainWindow()
app.title = "My graphical program"
app.geometry = "small"

hello = gb.TextWidget(app)
hello.grid(row=0, column=0)

hello.set(text='Hello world!')

app.run()
```

## Supported Backends

Default backend: tkinter

- tkinter : The GUI toolkit based on tcl/tk that comes with Python
- gtk3/4 (via gi): A toolkit used for example by GNOME
- p3d : Panda3D - The open-source 3D rendering engine

The backend is currently selected with flags to the program.


### Tkinter backend (default)

Launching

```
python myprogram.py --tk
```

### GTK backends

Requirements

```
pip install PyGObject
```

Launching version 3
```
python myprogram.py --gtk3
```

or version 4

```
python myprogram.py --gtk4
```

### Panda3D backend

Requirements

```
pip install Panda3D
```

Launching

```
python myprogram.py --p3d
```


## Current Limitations

- Only grid layout engine supported (no free placement of widgets)
- Playing videos or 3D graphics not straighforward
- No dedicated touch or joystick support


## Contributing

### Reporting Issues

Please feel free to report any bugs or issues in our bug tracker in Github:

[https://github.com/devjonix/hosguibase/issues](https://github.com/devjonix/hosguibase/issues)

### Pull Requests

Despite commercial backing this is a true open-source project.
We appriciate any inputs to the project as GitHub pull requests.
recolul 1.20.0
Overtime management for RecoRu
Requires Python: >=3.10

# RecoLul

## Installation

```
pip install recolul
recolul config
```

## Usage

### Overtime balance

```shell
$ recolul balance
Monthly overtime balance: 00:51

Last day 2/6(月)
  Clock-in: 09:10
  Working hours: 07:19
  Break: 01:00
```

### Overtime balance graph

```shell
$ recolul graph
```

![Overtime balance graph](./doc/graph_example.png)

### When to leave

```shell
$ recolul when
Leave today at 17:43 to avoid overtime (includes a 1-hour break).
```

## Config

### Environment variables

- `RECORU_AUTH_ID`
- `RECORU_CONTRACT_ID`
- `RECORU_PASSWORD`

### Config file

```
recolul config
```

## Build

```
python -m build
```
pynapcat 4.7.43
From napcat.fastnc import FastNC
Requires Python: >=3.13

# Napcat Python SDK

## ***介绍***

> 本项目原为AIVK项目前置 功能抽离出来供其他项目使用
> 目前正在开发中
> 设计为MCP服务

**客户端实现**

* [X] [HTTP客户端](https://github.com/LIghtJUNction/Napcat-PythonSDK/blob/main/src/napcat/clients/http) - 支持同步和异步请求
* [X] [SSE客户端](https://github.com/LIghtJUNction/Napcat-PythonSDK/blob/main/src/napcat/clients/sse/) - 支持事件流接收
* [X] [WebSocket客户端](https://github.com/LIghtJUNction/Napcat-PythonSDK/blob/main/src/napcat/clients/websocket/) - 支持双向实时通信

**服务端实现**

* [ ] [HTTP](https://github.com/LIghtJUNction/Napcat-PythonSDK/blob/main/src/napcat/severs/http/)Napcat服务器
* [ ] WebSocket 服务器

# FastNapcat

综合上述所有客户端，并优化使用体验

**全部端点**

* [] [API](https://github.com/LIghtJUNction/Napcat-PythonSDK/blob/main/data/api_tree.json)

# 贡献指南

* uv pip install -e .[dev]

## 序言

推荐使用vscode + pyright
然后打开插件设置，进行基础设置

## 类型标注

启用严格模式
使用list代替List 而无需额外导入：from typing import List
使用dict代替Dict 而无需额外导入：from typing import Dict
使用tuple代替Tuple 而无需额外导入：from typing import Tuple
使用set代替Set 而无需额外导入：from typing import Set
使用deque代替Deque 而无需额外导入：from collections import deque
使用type代替Type 而无需额外导入：from typing import Type

使用 | None 代替 Optional
使用 | 代替 Union

## 代码注释规范

* 所有类、方法和函数都应该有文档字符串
* API类需包含完整的功能描述、接口地址、参数和返回值说明
* 复杂逻辑应添加行内注释
* 推荐使用 # region 和 # endregion 区域划分代码，方便阅读

## API开发规范

* 参考 `src/napcat/api/memo.md` 中的规范进行开发
* 所有API实现都应遵循标准API类结构
* 使用pydantic进行数据验证和序列化
* 每个API文件末尾应包含测试代码

## AI使用规范

请准备好合适的提示词
例如：llms.txt

## 不接受的PR

pyright检查不通过的PR
大量使用Any类型标注的PR
注释不清楚的PR
不符合项目编码风格的PR
缺少测试代码的PR

## 代码规范

pyright 检查通过即为规范
推荐使用 # region 区域划分代码 方便阅读
欢迎使用script/pyupgrade.py脚本 来自动化部分升级代码到python3.13规范