semvec/pypi-packages huggingface dataset:
fastprocess 2.1.1
A fast subprocess library
Requires Python: >=3.8

# Fastprocess
A fast subprocess library

> [!NOTE]
> This library is no longer maintained.
>
> Modern versions of subprocess are very close to as fast as this library, so just use that :)

## Usage
Spawning a process with fastprocess is very easy
```
In [1]: from fastprocess import FastProcess

In [2]: pid = FastProcess(['echo', 'hello', 'world'])

hello world
In [3]: pid.wait()
Out[3]: 0

```
You can redirect io using the stdin, stdout, and stderr options
```
In [4]: null = open('/dev/null', 'w')

In [5]: pid = FastProcess(['yes'], stdout=null)

In [6]: pid.terminate()
```

## FastProcess methods
terminate():  
Sends SIGTERM to the process

kill(sig):  
Sends signal 'sig' to the process

wait():  
Waits for the process to exit then returns the exit code

## Performance
Here are the results of running ./benchmark/bench
```
---------------------------------------------------
10000 spawns with fork and exec...

real	0m2.157s
user	0m0.048s
sys	0m2.104s
---------------------------------------------------
10000 spawns with fastprocess...

real	0m2.598s
user	0m1.225s
sys	0m0.356s
---------------------------------------------------
10000 spawns with subprocess...

real	0m12.211s
user	0m7.832s
sys	0m9.072s
---------------------------------------------------
```
dm-core-tracer 1.0.1
DM Core Tracer
Requires Python: ==3.12.*

# DM CORE TRACER

DM Core Tracer library is responsible for the following:

- Provides HTTP Request library to service, so that they can invoke HTTP calls.
- Trace every inbound HTTP request, in the context of service
- Trace every outbound HTTP request, in the context of service
- Trace every outbound RabbitMQ message, in the context of service
- Trace every inbound RabbitMQ message, in the context of service
- Trace the calls between functions / methods within the service showing the flow of data
gh-release-devpi 0.1.4
GitHub Release Artifact Downloader and DevPI Uploader
Requires Python: >=3.11

# gh-release-devpi

从 GitHub Release 下载构建产物并上传到 DevPI 服务器的命令行工具。

## 安装

```bash
pip install gh-release-devpi
```

## 使用

### 环境变量

创建 `.env` 文件：

```bash
GITHUB_PAT=your_github_personal_access_token
GITHUB_REPO=owner/repo
DEVPI_PASSWORD=your_devpi_password
```

### 命令

下载最新 release 的所有 artifacts 并上传到 DevPI：

```bash
gh-release-devpi download
```

仅下载不上传：

```bash
gh-release-devpi download --skip-upload
```

指定参数：

```bash
gh-release-devpi download \
  --repo owner/repo \
  --token ghp_xxx \
  --output ./dist \
  --devpi-password xxx
```

### 独立上传命令

将本地目录中的 Python 包上传到 DevPI：

```bash
# 设置环境变量
export DEVPI_SERVER="http://devpi.example.com"
export DEVPI_PASSWORD="your_password"

# 使用默认目录 ./artifacts
gh-release-devpi upload

# 指定目录
gh-release-devpi upload ./dist
```

上传命令环境变量：
- `DEVPI_SERVER`: DevPI 服务器地址 (必需)
- `DEVPI_PASSWORD`: DevPI 密码 (必需)
- `DEVPI_USER`: DevPI 用户名 (默认: root)
- `DEVPI_INDEX`: DevPI 索引名称 (默认: dev)
- `DEVPI_USE_PROXY`: 是否使用代理 (默认: false)

### 参数

- `--repo`, `-r`: GitHub 仓库 (格式: `owner/repo`)
- `--token`, `-t`: GitHub Personal Access Token
- `--output`, `-o`: 下载目录 (默认: `artifacts`)
- `--devpi-password`, `-p`: DevPI 密码
- `--skip-upload`: 跳过上传到 DevPI

## 开发

```bash
# 安装依赖
pip install -e .

# 运行
python -m gh_release_devpi.main download
```