semvec/pypi-packages huggingface dataset:
testvdrive 1.3.2
Python test by send / expect.
Requires Python: >=3

# Python test drive utility

## A nifty utility to test things.

 The test case file drives a send / expect engine. The expect is then evaluated and
the result is printed in a green colored 'OK' or a red colored 'ERR'.

    ./testvdrive.py testcase.txt

If you installed from pip, use:

    testvdrive testcase.txt

The test case file contains the test instructions, one line per test. The format:

    #   Context_string  Send_string     Expect_string   Find/Compare
    #   --------------  -----------     -------------   ------------
    #    for the user   what to test    what to expect  True if Find


### Example test cases:

    [ "Echo Command", "", "", True],                # NOOP
    [ "Test ls", "ls", "Make", True],               # Do we have a Make file
    [ "DF command", "df", "blocks", "regex" ],      # Search regex
    [ "DF mregex", "df", ".*blo",  "mregex" ],      # Match regex

### The output of example test cases (colored in terminal):

    Echo Command     	 OK
    Test ls          	 OK
    DF command       	 OK
    DF mregex        	 OK

### Help from command line:

     usage: testvdrive [-h] [-V] [-o] [-A] [-v] [-d DEBUGLEV] [-l FILL] [-s]
                      [test_cases ...]

    Test with send/expect by executing sub commands from test case scripts.

    positional arguments:
      test_cases            Test case file names to execute

    options:
      -h, --help            show this help message and exit
      -V, --version         Show version number
      -o, --outp            Show communication with program
      -A, --info            Show testcase file format info
      -v, --verbose         increase verbocity (Default: none)
      -d DEBUGLEV, --debug DEBUGLEV
                            Debug value (0-9). Show working info. Default: 0
      -l FILL, --fill FILL  Fill info string to lenght. Default: 16
      -s, --show_case       Show test case file(s).

    For info on TestCase File Format use -A option. The file 'testcase.txt' is
    executed by default.

## Git

    The source can be found on:

        https://github.com/pglen/testvdrive

## History:

    Mon 22.Sep.2025     converted to text interaction from popen2
    Wed 24.Sep.2025     return code now on pip install as well

// EOF
aliyun-python-sdk-v2 2.13.36
阿里云Python SDK v2
Requires Python: >=3.10
Keywords: alibaba-cloud, aliyun, sdk, ecs, oss, rds, vpc, slb

# 阿里云Python SDK v2

阿里云官方Python SDK第二代版本，支持ECS、OSS、RDS等云服务。

## 安装

```bash
pip install alibabacloud-python3
```

## 快速开始

### ECS 弹性计算服务

```python
from alibabacloud.ecs import get_client

# 创建ECS客户端
client = get_client('ecs', region_id='cn-hangzhou')

# 查询实例
result = client.describe_instances()
print(f"实例数量: {result['TotalCount']}")

# 创建实例
result = client.run_instances(
    image_id='centos_7_9_x64_20G_alibase_20210318.vhd',
    instance_type='ecs.g6.large',
    security_group_id='sg-bp1fg655nh68xyz9jabq'
)
```

### OSS 对象存储服务

```python
from alibabacloud.oss import get_oss_client

# 创建OSS客户端
client = get_oss_client('your-access-key', 'your-secret-key')

# 列举存储空间
result = client.list_buckets()
print(f"存储空间: {len(result['buckets'])}")

# 上传文件
result = client.put_object('my-bucket', 'file.txt', 'Hello World!')
```

### RDS 数据库服务

```python
from alibabacloud.rds import get_rds_client

# 创建RDS客户端
client = get_rds_client('your-access-key', 'your-secret-key')

# 查询数据库实例
result = client.describe_db_instances()
print(f"数据库实例: {result['total_record_count']}")

# 创建数据库
result = client.create_database('rm-bp1234567890', 'myapp')
```

### VPC 专有网络

```python
from alibabacloud.vpc import get_vpc_client

# 创建VPC客户端
client = get_vpc_client('your-access-key', 'your-secret-key')

# 创建VPC
result = client.create_vpc(cidr_block='192.168.0.0/16')
print(f"VPC ID: {result['vpc_id']}")

# 创建交换机
result = client.create_vswitch(
    vpc_id='vpc-bp15zckdt37pq72zvw3',
    zone_id='cn-hangzhou-a',
    cidr_block='192.168.1.0/24'
)
```

### SLB 负载均衡

```python
from alibabacloud.slb import get_slb_client

# 创建SLB客户端
client = get_slb_client('your-access-key', 'your-secret-key')

# 创建负载均衡
result = client.create_load_balancer(
    vpc_id='vpc-bp15zckdt37pq72zvw3',
    vswitch_id='vsw-bp1s5fnvk4gn2tws03624'
)

# 添加后端服务器
result = client.add_backend_servers(
    'lb-bp1o94dp5i6earrmq7g1d',
    [{'server_id': 'i-bp1234567890', 'weight': 100}]
)
```

### 命令行工具

```bash
# 查询实例
python -m alibabacloud describe-instances

# 运行云资源
python -m alibabacloud app.res
```

## 支持的服务

- **ECS** (弹性计算服务) - 虚拟服务器管理
- **OSS** (对象存储服务) - 海量数据存储
- **RDS** (关系型数据库服务) - 托管数据库服务
- **VPC** (专有网络) - 私有网络环境
- **SLB** (负载均衡) - 应用负载分发
- **CDN** (内容分发网络) - 全球加速服务
- **DNS** (域名解析服务) - 智能DNS解析

## 地域支持

- cn-hangzhou (华东1)
- cn-shanghai (华东2)
- cn-beijing (华北2)
- cn-shenzhen (华南1)
- ap-southeast-1 (新加坡)
- us-west-1 (美国西部)

## 版本历史

- v2.13.36 - 最新稳定版
- v2.13.35 - 性能优化
- v2.13.34 - 安全更新

## 官方文档

访问 [阿里云官方文档](https://help.aliyun.com/document_detail/101286.html) 获取更多信息。

## 许可证

Copyright (c) 2009-2023 Alibaba Cloud All rights reserved.
bovine-herd 0.5.19
Implementation of a Fediverse server based on bovine
Requires Python: <4.0,>=3.11

<!--
SPDX-FileCopyrightText: 2023 Helge

SPDX-License-Identifier: MIT
-->

# bovine_herd

__Note__: Development of bovine_herd will probably be discontinued

`bovine_herd` is a `bovine` powered Fediverse server, which interoperates with the rest of the FediVerse.
Please consult [the documentation](https://bovine-herd.readthedocs.io/en/latest/) for details to
run bovine_herd.

The simplest bovine_herd Fediverse server would be given by

```python
from quart import Quart

from bovine_herd import BovineHerd

app = Quart(__name__)
BovineHerd(app)
```

by running `hypercorn app:app` one can then start a server. This server does not
provide a user interface nor any users.
To add users, one can use [bovine-tool](https://pypi.org/project/bovine-tool/).
With the default configuration, these will be stored in `bovine.sqlite3`.

One should note that while `bovine_herd` should be domain agnostic, so the same
instance can serve any domain, created users are not.