semvec/pypi-packages huggingface dataset:
foyou-http 0.0.16
simple http server for share files.
Requires Python: >=3.7
Keywords: foyou-http

# foyou-http
python mini http server

## 快速入门

安装

```shell
pip install -U foyou-http
pip install git+ssh://git@github.com/foyoux/foyou-http.git
pip install git+https://github.com/foyoux/foyou-http.git
```

> 关于库名：因为这属于偏向个人的库，为了尽可能不占用公共资源，所有库名看上去有些啰嗦。以后我开发的类似库，都会添加 **foyou-** 前缀。

安装完后会有一个命令行工具 - `pyhttp`

```sh
$ pyhttp --help

usage: pyhttp [-h] [--host HOST] [--port PORT] [--version] [dir]

simple http server for share files.

positional arguments:
  dir          HTTP Server 共享目录

optional arguments:
  -h, --help   show this help message and exit
  --host HOST  HTTP Server 监听地址
  --port PORT  HTTP Server 监听端口
  --version    打印版本信息

pyhttp(0.0.1) by foyou(https://github.com/foyoux)
```
biren-perf-pkg-birenchrisshi 0.0.1
perf sdk
Requires Python: >=3.6

# 介绍
```
默认会读取 以下 jenkins的环境变量
export JOB_NAME="test/test"
export JOB_BASE_NAME="test"
export BUILD_NUMBER="1"
export BUILD_URL="BUILD_URL"
export JENKINS_URL="JENKINS_URL"
export GIT_BRANCH="master"
export GIT_COMMIT="21a6fdgd"   
export BUILD_TAGS="debug,pref,pr,ngintly"  # 任意标签

python3 ./v2/sdk/run.py {func name} {params}
```

# 函数
## v2_add_pref_result

```
上传性能数据

python3 ./v2/sdk/run.py v2_add_pref_result  path/pref.txt

cat /path/pref.txt
>>
rn50_accu_accuracy:75.244
rn50_perf_performance:22331.52
rn50_perf_mean_latency:888937482721
bert_accu_accuracy:90.8876698049583
bert_perf_performance:2229.96
bert_perf_mean_latency:307503377511
```

```
上传pr, pr job数据

python3 ./v2/sdk/run.py v2_add_Merge_Request  path/pr.json
python3 ./v2/sdk/run.py v2_add_Merge_Request_job  path/pr_job.json

cat /path/pr.json
>>
{"pullRequestName" : "prname2", "component" : "brcc", "pullRequestNumber" : "100001"}

cat /path/pr_job.json
>>
{"component" : "brcc", "jobID" : "10001", "pullRequestCreatedBy" : "e00123", "jobId" : "http://", "pullLink" : "http://123"}
```


pdu 功能

```
install chrome 
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb 

查看chrome 版本 下载对应 chromedriver
http://chromedriver.storage.googleapis.com/index.html 

install chromedriver
wget http://chromedriver.storage.googleapis.com/105.0.5195.19/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
chmod +x chromedriver
sudo mv chromedriver /usr/local/share/chromedriver
```
oai-tools 0.1.3
Collection of useful tools built on top of OpenAI's API
Requires Python: >=3.7

# OAI Tools

This repository contains a collection of useful tools built on top of OpenAI's API. These tools can help automate various tasks and provide assistance through natural language processing.

## Installation or Upgrade
`pip install --upgrade oai-tools`

## Tools

1. **cligpt**: A command-line helper that takes a user prompt and returns shell commands, along with explanations of what they do. It also supports command completions for various shells. See [cligpt.md](doc/cligpt.md) for more details.

## Configuration
Configuration file is read from `~/.config/oai_tools/config.yaml` file. See the [config-example.yaml](doc/config-example.yaml) file for more details.

### API Key
OpenAI's API key is required. 
The key is read from the `OPENAI_API_KEY` environment variable. If this variable is not set, the API key is read from the `~/.config/oai_tools/api_key` file.