semvec/pypi-packages huggingface dataset:
cacheyou 23.3
httplib2 caching for requests
Requires Python: >=3.7
Keywords: requests http caching web


# CacheYou

[![Latest Version](https://img.shields.io/pypi/v/cacheyou.svg)](https://pypi.python.org/pypi/cacheyou)
[![CI](https://github.com/frostming/cacheyou/actions/workflows/tests.yml/badge.svg)](https://github.com/frostming/cacheyou/actions/workflows/tests.yml)

CacheYou is a fork of [CacheControl] which is a port of the caching algorithms in httplib2 for use with
requests session object.

[CacheControl]: https://github.com/ionrock/cachecontrol

## Quickstart

```python
import requests
from cacheyou import CacheControl

sess = requests.session()
cached_sess = CacheControl(sess)

response = cached_sess.get('http://google.com')
```

If the URL contains any caching based headers, it will cache the
result in a simple dictionary.

For more info, check out the [docs]

[docs]: http://cacheyou.readthedocs.org/en/latest/
debug-print2 0.1.2
Capture the print function and add some output information to it for easy debugging
Requires Python: >=3.8,<4.0

# debug-print
Capture the print function and add some output information to it for easy debugging.

## why？
Is there such a situation？  
That you need to temporarily use `print` debugging in third-party packages or source code, 
but you may forget where to add `print` when thinking or jumping back and forth.  
Now you only need to install and import `debug_print` to let print output the file name and line number, 
which is more convenient for debugging.

## Install：
```shell
pip install debug-print2
```

## Usage:
Just import the file to run.
```python
import debug_print
debug_print.patch()
```
llmpool 0.2.2
Large Language Models' pool management library
Keywords: LLM,instance pool,management

# LLM-Pool

This simple project is to manage multiple LLM(Large Language Model)s in one place. Because there are too many fine-tuned LLMs, and it is hard to evaluate which one is bettern than others, it might be useful to test as many models as possible. Below is the two useful usecases that I had in mind when kicking off this project.

- compare generated text from different models side by side
- complete conversation in collaboration of different models

![](https://i.ibb.co/GH55nWs/2023-05-09-12-09-58.png)

## Usecase

```python

from llmpool import LLModelPool
from llmpool import LocalLoRAModel
from llmpool import RemoteTxtGenIfLLModel

from transformers import AutoModelForCausalLM

model_pool = LLModelPool()
model_pool.add_models(
  # alpaca-lora 13b
  LocalLoRALLModel(
    "alpaca-lora-13b",
    "elinas/llama-13b-hf-transformers-4.29",
    "LLMs/Alpaca-LoRA-EvolInstruct-13B",
    model_cls=AutoModelForCausalLM
  ),
  
  RemoteTxtGenIfLLModel(
    "stable-vicuna-13b",
    "https://...:8080"
  ),
)

for model in model_pool:
  result = model.batch_gen(
    ["hello world"], 
    GenerationConfig(...)
  )
  print(result)
  
  _, stream_result = model.stream_gen(
    "hello world",
    GenerationConfig(...)
  )

  for ret in stream_results:
    if instanceof(model, LocalLoRALLModel) or \
      instanceof(model, LocalLLModel):
      print(ret, end='')
    else:
      print(ret.token.text, end='')

```

Alternatively, you can organize the model pool with yaml file

```python
from llmpool import instantiate_models

model_pool = instantiate_models('...yaml')
```

## Todo
- [ ] Add example notebooks
- [X] Yaml parser to add models to model pool
songwhip 1.0
simple Songwhip client>
Requires Python: >=3.10

# songwhip

simple Songwhip client

[![version](https://img.shields.io/pypi/v/songwhip.svg)](https://pypi.org/project/songwhip)
[![license](https://img.shields.io/pypi/l/songwhip.svg)](https://github.com/amyreese/songwhip/blob/main/LICENSE)


```shell-session
$ pip install songwhip
```

```shell-session
$ songwhip <url>
Track: Wild Horseradish Jam
Artist: Coffee Date, Dj Cutman, GameChops
Songwhip url: https://songwhip.com/coffeedate/wild-horseradish-jam
```


License
-------

songwhip is copyright Amethyst Reese, and licensed under the MIT license.