生活不止有屏幕上的代码,还有诗和远方.
这是一款基于Python语言和PyQt图形化框架编写的桌面应用,用来提醒正在电脑前工作的人们注意休息,以保障身体健康。
## Features
- 防颈椎病
- 防腰间盘突出
- 防痔疮
- 防心脏病
- 自定义壁纸
- 自定义时间
- 本地音乐播放
- 全屏显示,窗口置顶
- 界面简约(编不下去了)
- 你值得拥有


## Dependence
- python3
- PyQt5
## Install
```sh
pip install healthywork
```
## How to work
```sh
healthywork
```
## Custom
初次运行会在用户目录下的.config文件夹中创建healthywork.json文件,存储程序基本的配置,你可以自行修改一下的所有选项:
```pytho
DEFALUT_CONFIG = {
'label_stylesheet': "color: rgb(255, 0, 127);font: 30pt \"WenQuanYi Micro Hei Mono\";",
'button_stylesheet': "background-color: rgba(182, 176, 171, 90);color: rgb(255, 0, 127);font: 30pt \"WenQuanYi Micro Hei Mono\";",
'message': "喝杯水休息一下吧",
'count': " ",
'time_work': "1800000",
'time_rest': "300000",
'wallpapers_dir': "./wallpapers",
'music_dir': "./music",
'with_music': "1"
}
```
- label_stylesheet: 界面上标签的样式
- button_stylesheet:界面上按钮的样式
- message:提醒的文字
- count:给倒计时标签占位用的,方便计算label的位置
- time_work: 工作时间间隔,单位毫秒,默认半小时
- time_rest: 休息时间间隔,单位毫秒,默认五分钟
- wallpapers_dir: 存放壁纸的目录,默认为当前的wallpapers目录
- music_dir: 存放音频的目录,默认为当前的music目录
- with_music: 休息时是否播放音乐,1为播放,0为不播放。默认播放。
Metadata
Release files for healthywork 1.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| healthywork-1.6.2-py3-none-any.whl | Python 3 | none | any | Details for healthywork-1.6.2-py3-none-any.whl |
Release files / healthywork-1.6.2-py3-none-any.whl
| Download URL | healthywork-1.6.2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
389b48c4dc54fe928b384853b70f130c31509972299c036296faaf90f0aebf05
|
|
BLAKE2b-256 checksum How to use checksums |
59f516d0fba21d7672ed31cb31413ac8847ef78c5fe88cde1b773f0c39a65a06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for healthywork 1.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.