semvec/pypi-packages huggingface dataset:
comfy-model-download 0.5.1
A package to download AI models for ComfyUI from the internet or from private GCS buckets
Requires Python: >=3.8

# Comfy Model Download

## Description

This package provides a simple way to download pre-trained models from the internet to use in your Comfy projects.

## Installation

To install the package, you can use pip:

Testing version: 

```bash
pip install -i https://test.pypi.org/simple/ comfy-model-download
```

Add next two lines to your requirements.txt file for the testing version:

```text
--index-url https://test.pypi.org/simple/
comfy_model_download
```

## Usage

It needed to provide a yaml file with the models to download and the path to save them. 
The package will download the models in parallel using the number of workers specified.

If the model must be download from GCS it is needed to provide a key file.

```python
from comfy_model_download import ModelDownload

download = ModelDownload(
    config_file="models_config.yaml",
    max_workers=2,
    model_path="path/to/save/models",
    key_file="path/to/key/file",
)
download.start()
```

## models.yaml
    
The models.yaml file should be in the root of the project and should have the following structure:

```yaml
models:
  checkpoints:
    - name: JuggernautXL.safetensors
      url: gs://example_gcs_bucket/JuggernautXL.safetensors
      #force_download: true
    - name: AnimateLCM_sd15_t2v_lora.safetensors
      url: gs://example_gcs_bucket/AnimateLCM_sd15_t2v_lora.safetensors
      
  ipadapter:
    - name: ip-adapter-plus_sd15.safetensors
      url: gs://example_gcs_bucket/ip-adapter-plus_sd15.safetensors

  animatediff_models:
    - name: AnimateLCM_sd15_t2v.ckpt
      url: gs://example_gcs_bucket/AnimateLCM_sd15_t2v.ckpt

  ...
```

If the model is already downloaded and you want to force the download, you can use the `force_download` key.

The models can be downloaded from GCS or from the internet via HTTP.

## License

```text
MIT License

Copyright (c) 2024 Freepik Company, Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
wherepip 1.0.8
高效python库管理工具,功能有搜索、安装、卸载、获取库所在目录（python学霸公众号）

## 介绍
`wherepip`是一个高效pip管理工具，帮你节省更多时间！

## 使用
**1.命令方式**
``` bush
whereis requests #输出requests所在目录
fuck requests #卸载requests
befuck requests #安装requests
so re #搜索re为关键词的库
all #输出所有python库
```
**2.Pyhton使用**
``` python
import wherepip
r=wherepip.whereis("requests")
s=wherepip.so("py")
a=wherepip.all()
wherepip.fuck("requests")#卸载
wherepip.befuck("requests")#安装
print(s)
print(a)
print(r)
```
**喜欢关注python学霸微信公众号!**
nwp-dl-utils 0.0.12
Tools to download (relevant parts of) various NWP products.
Requires Python: >=3.8

# NWP Downloading Utilities

Contains utilities for downloading (relevant parts) of NWP products.

Currently focussing on [MetNo](https://thredds.met.no/thredds/catalog.html).

| Product | Remote Access (OPeNDAP) | Local Access (NetCDF4) | Comment |
| ---- | ---- | ---- | ---- |
| [MEPS](https://thredds.met.no/thredds/metno.html) | Yes | No | |
| [MyWaveWAM](https://thredds.met.no/thredds/fou-hi/fou-hi.html) | Yes | Yes | Broken |
| [NorKyst800m](https://thredds.met.no/thredds/fou-hi/norkyst800v2.html) | Yes | No | |

The package is pre-Alpha software. It does what we need it to do and not much more.

## Development

We'll assume you're using [Miniforge](https://github.com/conda-forge/miniforge).

Setting up a development space

```sh
conda create --name nwpdl-dev
conda activate nwpdl-dev
mamba install numpy xarray pandas pytest pyresample netCDF4 dask
conda deactivate nwpdl-dev
conda activate nwpdl-dev
```

To run the tests, simply run `pytest` in the base directory.

## Development Mode

You can use development mode to make the current version of the code available to other packages. To proceed, enter the virtual environment of whatever program you're working on, navigate to the `./nwp_dl_utils` root directory, remove the existing installation of `nwp-dl-utils` (if it exists), and install it in development mode, viz.

```sh
pip uninstall nwp-dl-utils
pip install --editable .
```

When done, remove, and reinstall the version from `PyPI`, viz.

```sh
pip uninstall nwl-dl-utils
pip install --ugrade nwp-dl-utils
```

This needs `pip>=21.3`, see [here](https://stackoverflow.com/a/69711730) and [here](https://pip.pypa.io/en/stable/news/#v21-3). You can upgrade Pip via `pip install --upgrade pip`.

## Build and Distribute

Setup environment

```sh
conda create --name nwpdl-build
conda activate nwpdl-build
pip install --upgrade pip
pip install --upgrade build
pip install --upgrade twine
```

Build and upload

```sh
python -m build
python -m twine upload --repository testpypi dist/* 
```

Drop `--repository testpypi` to upload to real PyPI.

Test build

```sh
conda create --name nwpdl-test
conda activate nwpdl-test
pip install --index-url https://test.pypi.org/simple/ --no-deps nwp-dl-utils
```

Drop `--index-url https://test.pypi.org/simple/ --no-deps` to download from real PyPI.

## References

1. https://packaging.python.org/en/latest/tutorials/packaging-projects/.
2. https://setuptools.pypa.io/en/latest/userguide/development_mode.html

## Blame and Contact

- Volker Hoffmann (volker.hoffmann@sintef.no)
PyDNARepeatFinder 0.2.9
Rapidly identify repeats in a DNA sequence

[![Edwards Lab](https://img.shields.io/badge/Bioinformatics-EdwardsLab-03A9F4)](https://edwards.sdsu.edu/research)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![GitHub language count](https://img.shields.io/github/languages/count/linsalrob/repeat_finder)
[![DOI](https://www.zenodo.org/badge/671497428.svg)](https://www.zenodo.org/badge/latestdoi/671497428)

# Repeat Finder - Finding Repeats in DNA sequences

Repeatfinder is a stand alone program to quickly find repeats in DNA sequences. You might find that it is remarkably similar to an essential module in [PhiSpy](http://github.com/linsalrob/PhiSpy).

# How to find repeats


## Using the command line
You can use the `pydna_repeatfinder` command to find repeats in a fasta sequence.

By default, `pydna_repeatfinder` just prints the repeats in a `simple` tab-separated format that is easy to read and includes the DNA sequence.

For example:

```
$ pydna_repeatfinder -f tests/test_long.fasta
random_sequence Number:1        Len1:52 Len2:52 92      144     1946    1998    TCAGTTGTCGTAGGTTAGCCTAAGGGTATCGCGGAAGTATGGAGTATACGGT    TCAGTTGTCGTAGGTTAGCCTAAGGGTATCGCGGAAGTATGGAGTATACGGT
random_sequence Number:2        Len1:52 Len2:52 92      144     197     145     TCAGTTGTCGTAGGTTAGCCTAAGGGTATCGCGGAAGTATGGAGTATACGGT    CACCGTATACTCCATACTTCCGCGATACCCTTAGGCTAACCTACGACAACTG
random_sequence Number:3        Len1:53 Len2:53 145     198     1998    1945    CACCGTATACTCCATACTTCCGCGATACCCTTAGGCTAACCTACGACAACTGA   ATCAGTTGTCGTAGGTTAGCCTAAGGGTATCGCGGAAGTATGGAGTATACGGT
```

There are two long repeats here. The first from 92-144 is repeated in the same orientation (a direct repeat) at position 1946-1998.

We can also output the results formated so you can paste them directly into a GenBank file. This is perhaps the easiest way to visualise the repeats.

```
$ pydna_repeatfinder -f tests/test_long.fasta -o genbank
     repeat_region   join(92..144,1946..1998)
                     /note="direct repeat number 1 of length 53"
                     /rpt_type="direct"
     repeat_region   join(92..144,complement(197..145))
                     /note="inverted repeat number 2 of length 53"
                     /rpt_type="inverted"
     repeat_region   join(145..198,complement(1998..1945))
                     /note="inverted repeat number 3 of length 54"
                     /rpt_type="inverted"
```

## In your own code

You can import the `pydna_repeatfinder` module and use it in your own code:


```
from PyRepeatFinder import find_repeats

r = find_repeats(dna_seq, gap_len, min_len, 0)
for rpt in r:
	# rpt is a dictionary with keys:
	# repeat_number
	# first_start
	# first_end
	# second_start
	# second_end
```

We are happy to add more output formats, please post a GitHub issue and tag it as an enhancement.

# Installing pydna_repeatfinder

You should install it using [bioconda](https://bioconda.github.io/):

```
mamba create -n pydna_repeatfinder -c bioconda pydna_repeatfinder
mamba activate pydna_repeatfinder
```

# Citing pydna_repeatfinder

Please see the citation file.
crisper-ai 0.3.4
A client library for accessing Crisper API
Requires Python: <4.0,>=3.8



### Install SDK
```bash
pip install crisper-ai
```


### sdk.py usage

```python
from crisper_api_client import Crisper
assistant = Crisper.create_assistant(name="customer-support-bot")
```


## Add a knowlege source

```python
assistant.add_knowledge_source(content_type="pdf", pdf="https://www.example.com/frequently-asked-questions.pdf")
assistant.add_knowledge_source(content_type="url", pdf="https://help.example.com")
```

## Ask a query

```python
assistant.ask("How do I get a refund?")
```
nonebot-plugin-imagemaster 1.0.8
提供多种图像处理功能的bot插件
Requires Python: <4.0,>=3.7

# nonebot-plugin-imagemaster
基于cv2的轻量化在线图片编辑插件，提供多种图像处理功能，包括色彩调整、裁剪、表情包和特殊效果等

## 介绍

简易修图、表情包，随手使用


## 安装
使用nb-cli进行安装

``nb plugin install nonebot-plugin-imagemaster``



使用pip进行安装

``pip install nonebot-plugin-imagemaster``
## 使用

| 指令            | 描述           | 
|---------------|--------------|
| @机器人+图片处理     |  应用不同的图像处理滤镜 |
| @机器人+图像裁剪     | 对图片进行裁剪      |
| @机器人+图像拼接     | 将多张图片拼接成一张   |
| @机器人+表情包制作    | 制作自定义文字的表情包  |



### 图片处理

1. 发送 `图片处理`
2. 发送图片
3. 等待机器人发送进一步的指令提示


### 图像裁剪

1. 发送 `图像裁剪`
2. 发送图片
3. 等待机器人发送进一步的指令提示

### 图像拼接

1. 发送``图像拼接``

2. 根据指令发送图片数量

3. **重点！！！** 需要**一次性**发送所有张图片，安卓端选择好一定数量的图片后发送并不是**一次性**发送，需要把所有图像**合并为一条消息**才能发送出去

   (1). pc端

   ​		具体地，在电脑端的操作为把所有图片都放到消息框里发送，较为容易

   ![pc端](src/1.png)

   ​		此时发送即为**合并成一条消息**发送

   ![pc2](src/2.png)

   ​	(2). 安卓端**（最新版qq已不支持此特性，拼接功能只能使用pc端实现）**

   ​			在安卓端的操作较复杂一点，并且必须为**非简洁模式**才能合并多张图片为一条消息，简洁模式无法实现

   ​			首先在文本框里**打入一个空格**，后再选择图片

   ​	![andriod](src/3.png)

   ​			然后发送即可实现合并

   ​	![android2](src/4.png)

   如果发生数字输入错误，可以发送``停止拼接``以停止当前活动

   

### 表情包

1. 发送 `表情包制作`
2. 发送图片
3. 等待机器人发送进一步的指令提示

## 画饼

未来将添加文字识别、~~图像拼接~~等功能

## 贡献
欢迎提交Pull Request或报告Issues。

## 许可
[MIT License](LICENSE)

## 致谢
特此感谢本学期计算机视觉课程的教授，他的专业指导和启发性教学为本项目提供了宝贵的理论支持和灵感。作者在课程中学习到的知识和技能，对于本项目的成功实现起到了关键性作用。我们对他的辛勤付出和深厚的专业知识表示最深的敬意和感激。