semvec/pypi-packages huggingface dataset:
healthywork 1.6.2
Work break reminder
License: MIT

# HealthyWork
生活不止有屏幕上的代码,还有诗和远方. 
这是一款基于Python语言和PyQt图形化框架编写的桌面应用，用来提醒正在电脑前工作的人们注意休息，以保障身体健康。

## Features
- 防颈椎病
- 防腰间盘突出
- 防痔疮
- 防心脏病
- 自定义壁纸
- 自定义时间
- 本地音乐播放
- 全屏显示，窗口置顶
- 界面简约（编不下去了）
- 你值得拥有

![截图](https://github.com/1zlab/HealthyWork/blob/master/Screenshot.png)
![截图](https://github.com/1zlab/HealthyWork/blob/master/Screenshot_2.png)
## 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为不播放。默认播放。
watermarkImage 1.0.2
Watermark batch of images
License: MIT

# Welcome to Watermark Image!


The package will let you watermark batch of images.
This package is written in python 3.5.4

You have 3 methods you can use:

### Installation



You can install the watermark-image from PyPI:

```sh
$ pip install watermarkImage
```

Example usage:
    
    
```sh
>>> from watermarkImage import Logic
>>> list = Logic.watermarkDir(dirToSearch, logo, Position.TOP_LEFT)
>>> Logic.saveImages(list, pathForNewImages)

```
You have 3 methods you can use:

1. watermarkDir:

    **input:**
    
        - dirToSearch: path to folder with all the images you want to watermark.
        - logo: PIL image object.
        - Position: one of 4 corners - please use Position enum from the package!
        - Opacity: opacity of logo (1-10), the default is 5.
        - Logo size: there are 4 sizes to choose, the default is 2. 
    
    The output is list of PIL images.

2. watermarkList:

    Same like watermarkDir but instead of "dirToSearch" there is "listOfImages" - list of PIL images.
    The output is the same.
    
3. saveImages:

    **input**
        
        - listOfImages: list of PIL images.
        - pathToSave: path to save the watermark images (the folder will be created if not exists).
        

Note that the package supports only jpg\png 


License
----

MIT


**Free Software, Hell Yeah!**
CSGVulcan 0.3.2
A tiny library for describing data as a resource
License: MIT

# DS Platform :: Vulcan

> A tiny python library for expressing data as a resource.

## Installing / Getting started

A quick introduction of the minimal setup you need to get a hello world up &
running.

```shell
pip install CSGVulcan
```

```python
from CSGVulcan import VulcanResource, VulcanAPI

class MyNewResource(VulcanResource):
    def __init__(self, resource, name=__file__):
        self.super().__init__(resource, name=name)

    def init(self, _context):
        return "Init"

    def  fetch_one(self, _context):
        return "Fetch One"

    def fetch_all(self, _context):
        return "Fetch All"

my_new_resource = MyNewResource()
my_new_resource_api = VulcanAPI(resource=my_new_resource)
# VulcanAPI.run is a proxy for Flask.run, therefore accepts the same arguments
my_new_resource_api.run(port=8080, debug=True)
```

CSGVulcan will then spin up a Flask Web Server at 127.0.0.1:8080
with the following routes available for consumption.

- /api/ping
- /api/fetch-one
- /api/fetch-all

### For more detailed examples please see the _examples_ directory

## Developing

If you're interested in developing and contributing to Vulcan, first, clone this project
from Github. Secondly, set up your local environemnt for develpment. It is recommended to
create a python virtual environment to manage your dependencies, here is how to do
that.

Create and activate your virtualenv.

```shell
python -m venv venv
```

```shell
source ./venv/bin/activate
```

Pip install the depdencies

```shell
pip install -r requirements.txt
```

## Features

- Provides a simple and consistent interface for describing data from external resources.
- Once defined, your VulcanResource is then easily converted into a REST API.

## Contributing

If you'd like to contribute, please fork the repository and use a feature
branch. Pull requests are warmly welcomed.

Vulcan is a tool designed to serve others, so any and all feedback is expected and
encouraged. We aim to create a better pattern for accessing data, if you have ideas, contribute them.

### Styleguide

Vulcan is written using autopep8 and pylint, it is recommended to leverage those to allow
for consistent styling of source code.

## Links

Though not exhaustive, here is a list of useful links that may help in developing an understanding of Vulcan and what it is comprised of.

- [Flask](http://flask.pocoo.org/)