semvec/pypi-packages huggingface dataset:
discord-emoji 1.4.2
Converter between discord emoji and unicode emoji.
License: MIT
Requires Python: >=3.9,<4.0

# discord-emoji
[![PyPI](https://img.shields.io/pypi/v/discord-emoji)](https://pypi.org/project/discord-emoji) 
[![PyPI - Downloads](https://img.shields.io/badge/dynamic/json?label=downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fprojects%2Fdiscord-emoji)](https://pepy.tech/project/discord-emoji/)  
This lib converts discord emoji and unicode emoji.

## Install
```
pip install discord-emoji
```

## Usage

```python
>>> import discord_emoji
>>> discord_emoji.to_unicode("thinking")
'🤔'
>>> discord_emoji.to_unicode(":thinking:")
'🤔'
>>> discord_emoji.to_discord("🤔")
'thinking'
>>> discord_emoji.to_discord("🤔", get_all=True)
['thinking', 'thinking_face']
>>> discord_emoji.to_discord("🤔", put_colons=True)
':thinking:'
>>> discord_emoji.to_uni(":thinking:")
'🤔'
>>> discord_emoji.to_dis("🤔")
'thinking'
>>> discord_emoji.to_discord_multi("🤔 This is hard!  😫 I'm tired...")
":thinking: This is hard!  :tired_face: I'm tired..."
>>> discord_emoji.to_unicode_multi(":thinking: This is hard!  :tired_face: I'm tired...")
"🤔 This is hard!  😫 I'm tired..."
```

## Licence

Please see [LICENSE](https://github.com/sevenc-nanashi/discord-emoji/blob/main/LICENSE).
nonebot-plugin-nowtime 0.1.5
Nonebot2 plugin for telling the time per hour
License: MIT
Requires Python: >=3.7


<div align="center">

<a href="https://v2.nonebot.dev/store"><img src="https://img.zcool.cn/community/014c9a55420cdc0000019ae952d851.jpg@1280w_1l_2o_100sh.jpg" width="180" height="180" alt="NoneBotPluginLogo"></a>

</div>

<div align="center">

# nonebot-plugin-nowtime

_⭐基于Nonebot2的一款整点报时的插件⭐_


</div>

<div align="center">
<a href="https://www.python.org/downloads/release/python-390/"><img src="https://img.shields.io/badge/python-3.8+-blue"></a>  <a href=""><img src="https://img.shields.io/badge/QQ-1141538825-yellow"></a> <a href="https://github.com/Cvandia/nonebot_plugin_nowtime/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue"></a> <a href="https://v2.nonebot.dev/"><img src="https://img.shields.io/badge/Nonebot2-rc1+-red"></a>
</div>


## ⭐ 介绍

让机器人为你整点报时吧，
由于本人第一次创建，有不足的地方还请指出

## 💿 安装

<details>
<summary>nb-cli安装</summary>

在项目目录文件下运行

```
nb plugin install nonebot_plugin_nowtime
```

</details>

<details>
<summary>pip安装</summary>

```
pip install nonebot-plugin-nowtime
```

</details>

## ⚙️ 配置

在全局配置文件`.env`中添加如下
```
start_time = 8
end_time = 20
```
>默认下配置为24小时全天播报，所以觉得很烦的请自行设置时间（采用24小时制）

## ⭐ 使用

### 指令：
| 指令 | 需要@ | 范围 | 说明 |权限|
|:-----:|:----:|:----:|:----:|:----:|
|北京时间|否|私聊、群聊|查看现在时间|任何|
|开启、关闭整点报时|否|群聊|开启或关闭群聊的整点报时|群主，超管，管理员|
|查看整点报时列表|否|群聊|查看已开启整点报时的群聊|群主，超管，管理员|

如：
```
/开启整点报时
```    

**注意**

默认情况下, 您应该在指令前加上命令前缀, 通常是 `/`

## 🌙 未来todo

- [x] 添加语音整点报时
- [x] 自定义播报时间  
- [ ] 优化整点报时词库
- [ ] 图片整点报时
pyquirc 0.2.0.post1
Python bindings for quirc, via pybind11
License: MIT
Requires Python: >=3.7

# pyquirc [![PyPI version](https://badge.fury.io/py/pyquirc.svg)](https://badge.fury.io/py/pyquirc)

Python and C++ bindings for the [quirc](https://github.com/dlbeer/quirc) library, created using [pybind11](https://github.com/pybind/pybind11).

## Installation

The package is on pypi, just

```
$ pip install pyquirc
```

There is an older, no longer maintained package `quirc`, not to be confused.

## Example

```python
# we read images using pillow, numpy arrays do also work
from PIL import Image, ImageOps
import quirc

img = Image.open("resources/helloworld.png")

# we need to convert to 8-bit grayscale for quirc
img = ImageOps.grayscale(img)

# Images must either have `tobytes()`, `width` and `height` like PIL images
# or support the 2d buffer protocal, both with data type uint8 (8-Bit Grayscale)
decoded_codes = quirc.decode(img)

print(f'Found {len(decoded_codes)} qr code(s) in the image')

for code, data in decoded_codes:
    print(code)
    print(data)
```

Output:
```
Found 1 qr code(s) in the image
Code(size=21, corners=[Point(40, 40), Point(250, 40), Point(250, 250), Point(40, 250)])
Data(payload=b'Hello, World!', version=1, data_type=DataType.BYTE, eci=ECI.UNDEFINED, ecc_level=ECCLevel.M, mask=5)
```


## On the Command Line

This package also installs the tool `pyquirc_decode`, which will
use `pillow` as above and decode the QR code in the given image.

The payloads of each decoded qr code will be printed to stdout, one per line:

```
$ pyquirc_decode resources/helloworld.png -v
INFO Found 1 qr code in image
INFO --- Payload 1 ---
Hello, World!
```

The log messages come on stderr, so piping the the output will only pipe
the payloads, not the log output.
termslime 0.2.1
Termslime displays images in your terminal with true colors.
License: MIT
Requires Python: >=3.7,<4.0
Keywords: cli,image,terminal

<div align="center">

<h1><b>Termslime</b></h1>

<p>Termslime displays images in your terminal with true colors.</p>

<p>
    <img src="https://img.shields.io/pypi/v/termslime.svg">
    <img src="https://img.shields.io/pypi/pyversions/termslime.svg">
    <img src="https://img.shields.io/github/last-commit/garyzbm/termslime">
</p>

</div>


## Contents

+ [Requirements](#requirements)
+ [Installation](#installation)
+ [Usage](#usage)
+ [Credits](#credits)


## Requirements

+ A terminal emulator with true color support.
+ Python >= 3.7.


## Installation

Install with [pipx](https://pypa.github.io/pipx/) (recommended):
```shell
pipx install termslime
```

Or install with pip:
```shell
pip install termslime
```


## Usage

```
usage: tslime [-h] [-hl HEIGHTLIMIT] [-wl WIDTHLIMIT] [-bp BEGINPADDING] [-ep ENDPADDING] [-lp LEFTPADDING] path

Termslime displays images in your terminal with true colors. Project home page: https://github.com/garyzbm/termslime

positional arguments:
  path                  path to an image file or a directory containing image files

options:
  -h, --help            show this help message and exit
  -hl HEIGHTLIMIT, --heightLimit HEIGHTLIMIT
                        maximum number of lines of blocks to display the image in the terminal
  -wl WIDTHLIMIT, --widthLimit WIDTHLIMIT
                        maximum number of blocks per line to display the image in the terminal
  -bp BEGINPADDING, --beginPadding BEGINPADDING
                        number of empty lines before the image
  -ep ENDPADDING, --endPadding ENDPADDING
                        number of empty lines after the image
  -lp LEFTPADDING, --leftPadding LEFTPADDING
                        number of empty spaces at the beginning of each line of the image
```


## Credits

This project is greatly inspired by [this post](https://lucamug.medium.com/terminal-pixel-art-ad386d186dad).

The following projects are crucial to the development of this project:
+ [colorful](https://github.com/timofurrer/colorful)
+ [pillow](https://python-pillow.org)
+ [poetry](https://python-poetry.org)


---
*<p align="center">This project is published under [MIT](LICENSE).<br>A [Gary Zhang](https://github.com/garyzbm) project.<br>- :tada: -</p>*