semvec/pypi-packages huggingface dataset:
guetzlidir 0.5.0
Will recursively process image files in source directory, optimizing them with Guetzli and writing to output directory.
Requires Python: >=3.7
Keywords: jpeg,filesystem,filetime

# guetzlidir

Will recursively process image files in source directory, optimizing them with Guetzli and writing to output directory.
Processing is slow, memory and CPU intensive.
EXIF data will be preserved

Optionally supports online processing using [TinyJPG](https://tinyjpg.com/) and [Kraken.io](https://kraken.io)

## Guetzli

[Guetzli](https://github.com/google/guetzli) is a JPEG encoder that aims for excellent compression density at high visual quality. Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated by libjpeg. Guetzli generates only sequential (nonprogressive) JPEGs due to faster decompression speeds they offer.

## Supported file formats (file extensions):

* JPEG (.jpg .jpeg)
* PNG (.png)

Supports Windows, Linux, MacOS and probably other OSes.

## Installation

```sh
pip install guetzlidir
```

You can download and use it as single Windows binary, see [Releases](https://github.com/varnav/guetzlidir/releases/)

## Usage

### PiPy package

```sh
guetzlidir --minsize 300 --quality 80 /home/username/myphotos /home/username/photos_out
```

### Windows executable

```cmd
./guetzlidir.exe "c:\Users\username\Pictures\My Vacation" "c:\Users\username\Pictures\My Vacation Optimized Pictures"
```

### TinyPNG online processing

[Get API key](https://tinypng.com/developers), then:

```sh
guetzlidir --minsize 300 --tinypng api_key /home/username/myphotos /home/username/photos_out
```

### Kraken.io online processing

Support is removed because no supported version is available in PyPi.
See [this](https://github.com/kraken-io/kraken-python/issues/5).

Windows release 0.3.2 still has it's support: [Download exe](https://github.com/varnav/guetzlidir/releases/download/v0.3.2/guetzlidir.exe).

## Known issues

Paths with spaces in windows are problematic. Looking for a solution.
srun-bit 0.2.2
A cli to login BIT (Beijing Institute of Technology) network.

# bit-srun-cli
北理工校园网登录客户端

## 软件特点
* 简单易用，python3编写。
* 可在IPv6网络环境下通过清华源安装。

## 安装步骤

```shell
sudo apt install python3-pip  #安装pip3

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple srun-bit #通过 -i 指定源
```

## 使用方法

```shell
$ srun-bit
Usage: srun-bit [OPTIONS] COMMAND [ARGS]...

  北理工校园网登录命令行工具

  项目地址 https://github.com/fangli-li/bit-srun-cli

Options:
  --help  Show this message and exit.

Commands:
  config  配置用户名密码
  info    查看网络状态
  login   登录校园网
  logout  注销校园网
```

1. 初次使用 ，先运行 srun-bit config 进行用户名密码配置
2. 使用 srun-bit login 进行登录认证
3. 使用 srun-bit logout 进行认证注销

## 感谢
https://github.com/coffeehat/BIT-srun-login-script