semvec/pypi-packages huggingface dataset:
omglinegraphs 0.1
A package for creating line graphs with units and labels
Requires Python: >=3.6

# linegraphs

The **omglinegraphs package** is a Python library for creating customizable line graphs. It provides an easy-to-use API for plotting data and adding labels, units, and increments to the axes. This package is ideal for data visualization and analysis in scientific and engineering applications.

## Features

- Customizable line graphs
- Support for multiple data sets
- Automatic determination of axis units
- Adjustable axis increments
- Save graphs to files in various formats
- API for creating and modifying graphs

## Installation

You can install the **omglinegraphs package** using pip:

```
pip install omglinegraphs
```

## Usage

To create a line graph, first import the `LineGraph` class from the `omglinegraphs` module:

```py
from linegraphs import LineGraph

graph = LineGraph()
```

Then, create an instance of the `LineGraph` class and call the relevant methods to customize the graph:

```py
graph = LineGraph()

# Add data points
data = [(1, 2), (3, 4), (5, 6)]
graph.plot(data)

# Set title and axis labels
graph.title('My Graph')
graph.x_title('X-axis')
graph.y_title('Y-axis')

# Set axis units and increments
graph.x_unit('s')
graph.y_unit('m')
graph.x_incrementsby(1)
graph.y_incrementsby(0.5)

# Create the graph
graph.create()

# Save the graph to a file
graph.save('mygraph.png')

```

## Contributions

Contributions to the omglinegraphs are welcome! If you find a bug, have a feature request, or want to contribute code, please open an issue or pull request on the GitHub repository.

## License

The Graphing Package is licensed under the MIT License.
nakuru-project-test2 0.0.1
一款为 go-cqhttp 的正向 WebSocket 设计的 Python SDK，支持纯 CQ 码与消息链的转换处理
Requires Python: >=3.7

<div align="center">
  <img width="256" src="./logo.png" alt="logo">

# Nakuru Project
一款为 [go-cqhttp](https://github.com/Mrs4s/go-cqhttp) 的正向 WebSocket 设计的 Python SDK，支持纯 CQ 码与消息链的转换处理

在 [kuriyama](https://github.com/Lxns-Network/mirai-python-sdk) 的基础上改动

项目名来源于藍月なくる，图标由[せら](https://www.pixiv.net/users/577968)绘制
</div>

## 食用方法
使用 `pip install git+https://github.com/Lxns-Network/nakuru-project.git` 安装。

需要将 go-cqhttp 的正向 WebSocket 与 HTTP 配置项开启。

## 示例
没有文档，源码就是文档。

```python
from nakuru import (
    CQHTTP,
    GroupMessage,
    Notify,
    GroupMessageRecall,
    FriendRequest
)
from nakuru.entities.components import Plain, Image

app = CQHTTP(
    host="127.0.0.1",
    port=6700,
    http_port=5700,
    token="TOKEN" # 可选，如果配置了 Access-Token
)

@app.receiver("GroupMessage")
async def _(app: CQHTTP, source: GroupMessage):
    # 通过纯 CQ 码处理
    if source.raw_message == "戳我":
        await app.sendGroupMessage(source.group_id, f"[CQ:poke,qq={source.user_id}]")
    # 通过消息链处理
    chain = source.message
    if isinstance(chain[0], Plain):
        if chain[0].text == "看":
            await app.sendGroupMessage(source.group_id, [
                Plain(text="给你看"),
                Image.fromFileSystem("D:/好康的.jpg")
            ])

@app.receiver("GroupMessageRecall")
async def _(app: CQHTTP, source: GroupMessageRecall):
    await app.sendGroupMessage(source.group_id, "你撤回了一条消息")

@app.receiver("Notify")
async def _(app: CQHTTP, source: Notify):
    if source.sub_type == "poke" and source.target_id == 114514:
        await app.sendGroupMessage(source.group_id, "不许戳我")

@app.receiver("FriendRequest")
async def _(app: CQHTTP, source: FriendRequest):
    await app.setFriendRequest(source.flag, True)

app.run()
```

## 贡献
欢迎 PR 代码或提交 Issue，项目现在还存在着许多问题。
binooculars 0.0.2
A tiny, yet blazingly fast machine learning library written in Rust with Python interface.
Requires Python: >=3.7

# binoculars
A tiny, yet blazingly fast machine learning library written in Rust with Python interface.
This project was motivated by [polars](https://github.com/pola-rs/polars) and [sklearn](https://github.com/scikit-learn/scikit-learn). 
The goal is to learn Rust, have a better understanding of what is happening under the hood of classic ML models, and explore the pitfalls of building a Python package.

### Example usage

```python
>>> from binoculars.cluster import KMeans
>>> X = [[1, 1], [1, 2], [2, 1],[2, 2], [5, 5], [5, 6], [6, 5], [6, 6]]
>>> kmeans = KMeans(n_clusters=2, init="random", max_iter=100, random_state=0)
>>> kmeans.fit(X)
>>> kmeans.predict(X)
[0, 0, 0, 0, 1, 1, 1, 1]
>>> kmeans.get_centroids()
[[1.5, 1.5], [5.5, 5.5]]
```
nakuru-project-test 0.0.1
一款为 go-cqhttp 的正向 WebSocket 设计的 Python SDK，支持纯 CQ 码与消息链的转换处理
Requires Python: >=3.7

<div align="center">
  <img width="256" src="./logo.png" alt="logo">

# Nakuru Project
一款为 [go-cqhttp](https://github.com/Mrs4s/go-cqhttp) 的正向 WebSocket 设计的 Python SDK，支持纯 CQ 码与消息链的转换处理

在 [kuriyama](https://github.com/Lxns-Network/mirai-python-sdk) 的基础上改动

项目名来源于藍月なくる，图标由[せら](https://www.pixiv.net/users/577968)绘制
</div>

## 食用方法
使用 `pip install git+https://github.com/Lxns-Network/nakuru-project.git` 安装。

需要将 go-cqhttp 的正向 WebSocket 与 HTTP 配置项开启。

## 示例
没有文档，源码就是文档。

```python
from nakuru import (
    CQHTTP,
    GroupMessage,
    Notify,
    GroupMessageRecall,
    FriendRequest
)
from nakuru.entities.components import Plain, Image

app = CQHTTP(
    host="127.0.0.1",
    port=6700,
    http_port=5700,
    token="TOKEN" # 可选，如果配置了 Access-Token
)

@app.receiver("GroupMessage")
async def _(app: CQHTTP, source: GroupMessage):
    # 通过纯 CQ 码处理
    if source.raw_message == "戳我":
        await app.sendGroupMessage(source.group_id, f"[CQ:poke,qq={source.user_id}]")
    # 通过消息链处理
    chain = source.message
    if isinstance(chain[0], Plain):
        if chain[0].text == "看":
            await app.sendGroupMessage(source.group_id, [
                Plain(text="给你看"),
                Image.fromFileSystem("D:/好康的.jpg")
            ])

@app.receiver("GroupMessageRecall")
async def _(app: CQHTTP, source: GroupMessageRecall):
    await app.sendGroupMessage(source.group_id, "你撤回了一条消息")

@app.receiver("Notify")
async def _(app: CQHTTP, source: Notify):
    if source.sub_type == "poke" and source.target_id == 114514:
        await app.sendGroupMessage(source.group_id, "不许戳我")

@app.receiver("FriendRequest")
async def _(app: CQHTTP, source: FriendRequest):
    await app.setFriendRequest(source.flag, True)

app.run()
```

## 贡献
欢迎 PR 代码或提交 Issue，项目现在还存在着许多问题。
digitize 1.1.1
Break numbers into digits with their names
Requires Python: >=3.6

#### digitize - open source available library for determining the bit depth of a number with the output of its name

```python
from digitize import Exact

var = Exact

print(var.discharge(5000)) # Output: 5,000
print(var.discharge(51030.4853)) # Output: 51,030.48
print(var.discharge(51030.4853, True, "en/ru")) # Output: 51,030.48 thousand
placeholders 2.2
Create placeholder images by embedding keywords into regular jpg images.
Keywords: image,exif,jpg

# Placeholders

A command-line tool to set and get variables embedded in image metadata

## Getting Started

To get started clone this repo, and if you don't want to install all the dependencies globally (and you shouldn't want to), make sure you have something like Virtualenv installed on your machine.

### Prerequisites

To avoid potential conflicts, create a virtual environment and activate it before following installation instructions.

```
virtualenv -p python3 env
. env/bin/activate
```

### Installing

Follow these steps to setup Placeholders.

```
pip install placeholders
```

### Basic Controls

Get variable embedded in image

```
placeholders image.py
```

Get variables for each image in a directory

```
placeholders ./example_directory
```

Set variable in image

```
placeholders test.jpg --tag variable_name
```

Set image variables according to yaml

```
placeholders tags.yaml
```

### Example yaml

```
/absolute/path/image.png test
/absolute/test.jpg test2
```

## Authors

- Austin Brown
imp3 0.1.4
Interactive tool for image pre-processing and automated pipeline creation

# imp3 (Image pre-preocessing pipeline) :
Interactive tool for image pre-processing and automated pipeline creation

## Installation
run following command in terminal
```bash
pip install imp3
```

## Usage
```bash
imp3.run
```
- Above command will lauch the app on default port 8501. 
- Open the browser and go to http://localhost:8501
- Select the image and then select the appropriate set of operations you want to perform on that perticular image. 
- play with the parameters interatively untill you reach at optimal configuration.

```bash
imp3.run --port 8080
```
Above command can be used to specify the port on which you want to run the app.

## UI
![](https://github.com/bokey007/imp3/blob/main/media/demo.png)

# Following is the list of currently supported operations:

## 0. Resize input image

## 1. map the image to different color spaces
    Folowwing methods are available:
    a. 'rgb'
    b. 'Gray scale'
    c. 'hsv', 
    d. 'lab', 
    e. 'brg', 
    f. 'ch_one',
    g. 'ch_two',
    h. 'ch_three',
    i. 'merge_first_two_ch',
    j. 'merge_last_two_ch', 
    k. 'merge_last_first_ch'

## 2. change the brightness and contrast

## 3. Smoothingth
    Folowwing methods are available:
    a. avg
    b. gaussian
    c. median
    d. bilateral

## 4. intensity histogram and histogram equalization

## 5. thresholding
    Folowwing methods are available:
    a. thresh
    b. adaptive_thresh
    c. otsu

## 6. edge detection
    Folowwing methods are available:
    a. sobel
    b. laplasian
    c. canny


## 7. dialate / erode

## 8. find countours

## 9. shape matching with Hu moment on contour

## 10. feature extraction
    
## 11. Feature Matching

## 12. Template matching and removal
    
Development tools:

1. setuptools (https://pypi.org/project/setuptools/): Used to create a python package
2. pipreqs (https://pypi.org/project/pipreqs/): Used to create requirements.txt file
3. twine (https://pypi.org/project/twine/): Used to upload the package to pypi.org
4. Github Actions (): Used to automate the process of uploading the package to pypi.org
5. pytest (https://pypi.org/project/pytest/): Used to write unit tests
6. wheel (https://pypi.org/project/wheel/): Used to create a wheel file