semvec/pypi-packages huggingface dataset:
NeuroBCL 0.1.2
NeuroBCL (Neuro Bucket Classifier) is percentile based numeric feature normalizer that works to convert target bucket of numeric feature to its approximate bounds (Given multi-level features)
License: MIT

# NeuroBCL
NeuroBCL (Neuro Bucket Classifier) is a Python package for finding ranges for numeric features normalized 
with percentile distribution, the basic idea is to divide the range of the feature into buckets and then 
classify the data into these buckets. 

## Installation

[Coming Soon] Install the ``neurobcl`` package with [pip](https://pypi.org/project/neurobcl):

```console
$ pip install neurobcl
```

Or install the latest package directly from github

```console
$ pip install git+https://github.com/searchX/neurobcl
```

## Example Usage
A simple example of using the package is as follows:

Index classifier on our sample data below:

```python
from neurobcl.main import train_from_dictionary
classifier = train_from_dictionary([
        {"color": "red", "size": "small", "price": 100},
        {"color": "blue", "size": "small", "price": 200},
        {"color": "red", "size": "large", "price": 300},
        {"color": "blue", "size": "large", "price": 400},
    ], ["color", "size"], ["price"])
```

1. Minimum price that should be greater than for it to be in bucket 1 atleast
```python
classifier.get("price", 1, '>')
# Output: 100
```

2. This is the price that will be the limit of all items that can exist until bucket 4
```python
classifier.get("price", 4, '<')
# Output: 400
```   

3. Use filter, to get the items that are in bucket 1 and color blue
```python
classifier.get("price", 1, '>', filters={"color": "blue"})
# Output: 200
```

Please look into official docs for more information - https://searchx.github.io/neurobcl/
nonebot-plugin-shorturl 0.4.0
Generate short url by bot for bypassing censorship
License: MIT
Requires Python: >=3.8,<4.0
Keywords: nonebot,nonebot2,shorturl

<!-- markdownlint-disable MD033 MD036 MD041 -->

<p align="center">
  <a href="https://nonebot.dev/">
    <img src="https://nonebot.dev/logo.png" height="100" alt="nonebot">
  </a>
</p>

<div align="center">

# nonebot-plugin-shorturl

_✨ 为 NoneBot 插件提供短链接服务支持 ✨_

</div>

<p align="center">
  <a href="https://github.com/StarHeartHunt/nonebot-plugin-shorturl/master/LICENSE">
    <img src="https://img.shields.io/github/license/StarHeartHunt/nonebot-plugin-shorturl.svg" alt="license">
  </a>
  <a href="https://pypi.python.org/pypi/nonebot-plugin-shorturl">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-shorturl.svg" alt="pypi">
  </a>
  <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
</p>

## 安装

```bash
pip install nonebot-plugin-shorturl
poetry add nonebot-plugin-shorturl
pdm add nonebot-plugin-shorturl

# 特定后端
pip install nonebot-plugin-shorturl[redis]
pip install nonebot-plugin-shorturl[diskcache]

# 所有后端
pip install nonebot-plugin-shorturl[all]
```

## 使用方式

在 `.env` 文件中添加必填的配置项

## 配置项

### 通用配置项

- `SHORTURL_HOST`（必填）：用于为外部插件构造完整的包含域名的短链接。示例值：`http://localhost:8080`
- `SHORTURL_ENDPOINT`：指定短链接服务的入口点模板。默认值：`/shorturl/{token}`，可以自定义为 `/s/{token}` 等
- `SHORTURL_CACHE_TYPE`：指定短链接服务的后端缓存类型，可选值：`memory` | `diskcache` | `redis`

### 差分配置项

#### Redis

- `SHORTURL_REDIS_HOST`：Redis 后端的地址
- `SHORTURL_REDIS_PORT`：Redis 后端的端口
- `SHORTURL_REDIS_DB`：Redis DB 配置项
- `SHORTURL_REDIS_USERNAME`：Redis 用户名
- `SHORTURL_REDIS_PASSWORD`：Redis 密码

#### Diskcache

- `SHORTURL_DISKCACHE_FOLDER`：Diskcache 文件持久化目录