semvec/pypi-packages huggingface dataset:
partnersimulator 0.0.5
Partner Simulator
Keywords: creepy, parasocial

A very basic chatbot based on openAI to console lonely engineering students... not me though, my girlfriend is wonderful :)

I used the openai API to generate responses. I used Polars to store and manipulate json files so the chatbot has memory of previous responses within the same session.

Install it using pip:

    pip install partnersimulator

Set up as:

    import partnersimulator as ps
    
    #affection levels are /100
    aishwarya = ps.partner(name='aishwarya rai', age=51, gender='female', mood='patient, kind, caring', affection=100)

    while True:
        message = input('Talk to me (say "quit" to exit): ')
        if message.lower() in ['quit', 'exit']:
            break
        print(aishwarya.send_message(message))

Sample output:

    Talk to me (say "quit" to exit): Hello! How are you today?
    Hello, my love! Iâ€™m doing really well, thank you for asking. How about you? Iâ€™ve been thinking about you all day, hoping your heart is light and youâ€™re finding little joys in every moment. If thereâ€™s anything on your mind or anything youâ€™d like to share, Iâ€™m hereâ€”patient, always caring, and ready to listen. Tell me, how has your day been?


### Some notes:
You can really put anything you want for aishwarya.mood

Aishwarya Rai is a famous Indian actress. The use of her name is completely arbitrary.

When you run the code block above it will automatically generate a .json file with all the messages of the session included. If you change the name or age of your partner a new record is kept.

I hope this is as fun for you to play with as it was for me to build :)
cocoman 0.6.3
Air Spider
Requires Python: >=3.10

# 安装

```bash
pip install cocoman
```

# 使用

## 演示

### do 方法

- 参数跟 `requests` 的参数保持一致
- 默认自带`重试`、`ua`
- 请求失败时，可以通过 `raise_request_error` 参数选择不抛出异常

### 发送GET请求

- do 方法默认是 GET 请求，默认自带ua

```python
from cocoman import Spider

s = Spider()
url = "https://www.baidu.com"
res = s.do(url)
title = res.xpath("//title/text()").get()
print(title)
```

### 发送POST请求

- do 方法传递了 data 或者 json 参数则是 POST 请求

```python
from pprint import pprint

from cocoman import Spider

s = Spider()

api = "https://httpbin.org/post"
form_data = {"type": "请求表单"}
res = s.do(api, data=form_data)
pprint(res.json())

json_body = {"type": "JSON请求体"}
res = s.do(api, json=json_body)
pprint(res.json())

```
oracle-mcp-server 1.0.9
Model Context Protocol server to access oracle, supporting Oracle 11g and above.
Requires Python: >=3.12

# oracle-mcp-server
Model Context Protocol server to access oracle, supporting Oracle 11g and above.


## Quickstart

add this to your cursor `mcp.json` config files:

```json
{
  "mcpServers": {
    "oracle-mcp-server": {
      "command": "uvx",
      "args": [
        "oracle-mcp-server"
      ],
      "env": {
        "ORACLE_CONNECTION_STRING": "username/password@hostname:password/service_name",
        "LIB_DIR": "D:\\tools\\instantclient19.26.0.0.0dbru\\instantclient_19_26"
      }
    }
  }
}
```

### Prerequisites

- UV (pacakge manager)
- Python 3.12+
- Cursor
- Oracle Client