semvec/pypi-packages huggingface dataset:
lycosa 1.0.0
lycosa is a python library that allows you to easily manage emails
License: MIT
Requires Python: >=3.13.0

# lycosa

lycosa is a python library that allows you to easily manage emails


## Installation 

bash
```
pip install lycosa
```

## Use

python
```
from lycosa.sender import EmailClient, Gmail

# Choose the email service : Gmail, Orange
service = Gmail()

# Login credentials
login = "test@gmail.com"            # sender email
password = "erfd dfess rftes fres"  # application password

# Create a customer
client = EmailClient(service, login, password)

list_files = ["text.txt", "image.png", "doc.pdf"]

html_message = """
<html>
    <body>
        <h1 style="color:blue;">This is an HTML test!</h1>
        <p>Sending an email in <b>HTML</b> with an attachment.</p>
    </body>
</html>
"""

txt_message = "This is a test of sending email through my library."

# Send a simple email
result = client.send_email(
    to=email_dest,
    subject="Hello",
    body=html_message,
    files=[list_files[0], list_files[1], list_files[2]],
    cc=["collaborateur@example.com"],
    bcc=["boss@example.com"], 
    body_type="html"
)

print(result) 
```


##
HyperUserAgent 1.1.1
Hyper-UA ─ ultra-realistic User-Agent & fingerprint generator.
License: MIT
Requires Python: >=3.8

# HyperUserAgent

**Hyper-UA â”€ ultra-realistic User-Agent & fingerprint generator.**

HyperUserAgent is a Python library that generates realistic, statistically-weighted User-Agent strings and browser fingerprints. It's designed to help developers create bots and web scrapers that are less likely to be detected by anti-bot systems.

## Installation

You can install HyperUserAgent using pip:

```bash
pip install HyperUserAgent
```

## Usage

Hereâ€™s how you can use HyperUserAgent to generate user agents and fingerprints.

### Generating a User Agent

You can generate a user agent for various platforms and browsers.

**Basic Usage**

To generate a random, realistic user agent, you can do the following:

```python
from HyperUserAgent import HyperUA

# Generate a random user agent
ua = HyperUA.create()
print(ua)

# Or, more simply:
ua = HyperUA.random
print(ua)
```

**Generate a Mobile User Agent**

```python
from HyperUserAgent import HyperUA

# Generate a mobile user agent
mobile_ua = HyperUA.create(platform="mobile")
print(mobile_ua)
```

**Generate for a Specific Browser**

You can also generate user agents for specific browsers. The easiest way is to use the class properties:

```python
from HyperUserAgent import HyperUA

# Generate a Chrome user agent
chrome_ua = HyperUA.chrome
print(chrome_ua)

# Generate a Firefox user agent
firefox_ua = HyperUA.firefox
print(firefox_ua)
```

For more control, you can use the static methods:

```python
from HyperUserAgent import HyperUA

# Generate a Firefox user agent for a mobile platform
firefox_mobile_ua = HyperUA.getFirefox(platform="mobile")
print(firefox_mobile_ua)
```

### Generating a Browser Fingerprint

HyperUserAgent can also generate a detailed browser fingerprint to accompany a user agent.

```python
from HyperUserAgent import HyperUA, Fingerprint

# First, create a user agent
ua = HyperUA.create()

# Generate a fingerprint for the user agent
fp = Fingerprint.generate(ua)

# Print the fingerprint as a dictionary
print(fp.to_dict())
```

## Features

-   **Realistic User-Agent Generation**: Generates user agents that are indistinguishable from real browsers.
-   **Browser Fingerprinting**: Creates detailed browser fingerprints, including Canvas, WebGL, and more.
-   **Statistically-Weighted Selection**: User agents are generated based on real-world usage statistics.
-   **Customizable Generation**: Easily generate user agents for specific browsers, platforms, and versions.
-   **Wide Range of Supported Browsers**: Supports Chrome, Firefox, Safari, Edge, Opera, Brave, and Yandex.
-   **Cross-Platform**: Generates user agents for desktop (Windows, macOS, Linux) and mobile (Android, iOS).

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
nonebot-adapter-vocechat 0.1.6
一个 nonebot 的 Vocechat 适配器
License: MIT
Requires Python: >=3.10

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

<div align="center">

# nonebot-adapter-vocechat

_✨ vocechat webhook 协议适配 ✨_

</div>

> [!NOTE]
> 目前处于早期阶段
> 
> 遇到问题可以反馈


## 配置

修改 NoneBot 配置文件 `.env` 或者 `.env.*`。

### Driver

参考 [driver](https://nonebot.dev/docs/appendices/config#driver) 配置项，添加 `HTTPClient` 和 `ASGIServer` 支持。

如：

```dotenv
DRIVER=~httpx+~fastapi
```

### 配置机器人

配置连接配置，如：

```dotenv
vocechat_bots=[
  {"name": "xxx","user_id": "2", "server": "http://vocechat.url", "api_key": ""}
]
vocechat_history_length=100 # 默认值
```

`vocechat_bots` 用于配置机器人

`name` 是任意的 bot 名称会决定 webhook 地址 如 http://{nonebot_host}:{nonebot_post}/vocechat/webhook?bot={name}

`server` 为 vocechat 服务器的地址。

`api_key` 为 vocechat 为bot生成的 `api_key`。

`user_id` 为 vocechat 生成的 bot 的 `user_id`。

`vocechat_history_length` 用于配置每个机器人存储的聊天记录长度，用于为 回复 提供原消息

## 相关项目

- [vocechat-web](https://github.com/Privoce/vocechat-web)