semvec/pypi-packages huggingface dataset:
shiro 0.1.1
Shiro Python Client
Requires Python: >=3.8

# Shiro Python Library

This is the official [Shiro API](https://openshiro.com/api/v1/docs) Python library maintained by [OpenShiro](https://openshiro.com). The Shiro Python library provides convenient access to the Shiro API from applications written in the Python language.

## Documentation

See the [API docs](https://openshiro.com/api/v1/docs) and also this post on [Getting Started with the Shiro API](https://openshiro.com/docs/getting-started-with-the-shiro-api).

## Usage
The library needs to be configured with your account's api key which is available in your Shiro account under API Keys.

### Initialize the client with your API key
````
from shiro import ShiroClient

client = ShiroClient("your_api_key_here")
````

### List all deployments
````
deployments = client.deployments.list()
````

### Retrieve a specific deployment
````
deployment = client.deployments.retrieve("dpmt_lWokJnPAwQCeV2ZWovjG7BNr")
````

### Update a deployment
````
update_data = {"name": "Updated Deployment Name"}
updated_deployment = client.deployments.update("dpmt_lWokJnPAwQCeV2ZWovjG7BNr", update_data)
````

### List all prompts
````
prompts = client.prompts.list()
````

### Retrieve a specific prompt
````
prompt = client.prompts.retrieve("prmt_9nORYX8zAYHGo2AVQ1a2w03p")
````

### Create a new completion

````
completion_data = {
    "deployment_id": "dpmt_lWokJnPAwQCeV2ZWovjG7BNr",
    "prompt_id": "prmt_9nORYX8zAYHGo2AVQ1a2w03p",  # Optional
    "input_variables": {
        "review_text": "I loved the movie."
    }
}
completion = client.generate_completion.create(completion_data)
````

## Support

New features and bug fixes are released on the latest major version of the Shiro Python library. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.


## Development

Run all tests

````
python -m unittest discover tests
````
beginnersbook-mongodb-jiaocheng-chuyi 2024.3.5.0
BeginnersBook MongoDB 教程（初译）
Requires Python: >=3.6

# BeginnersBook MongoDB 教程（初译）

## 下载

### Docker

```
docker pull apachecn0/beginnersbook-mongodb-jiaocheng-chuyi
docker run -tid -p <port>:80 apachecn0/beginnersbook-mongodb-jiaocheng-chuyi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install beginnersbook-mongodb-jiaocheng-chuyi
beginnersbook-mongodb-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g beginnersbook-mongodb-jiaocheng-chuyi
beginnersbook-mongodb-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```
beginnersbook-kotlin-jiaocheng-chuyi 2024.3.5.0
BeginnersBook Kotlin 教程（初译）
Requires Python: >=3.6

# BeginnersBook Kotlin 教程（初译）

## 下载

### Docker

```
docker pull apachecn0/beginnersbook-kotlin-jiaocheng-chuyi
docker run -tid -p <port>:80 apachecn0/beginnersbook-kotlin-jiaocheng-chuyi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install beginnersbook-kotlin-jiaocheng-chuyi
beginnersbook-kotlin-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g beginnersbook-kotlin-jiaocheng-chuyi
beginnersbook-kotlin-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```
beginnersbook-jstl-jiaocheng-chuyi 2024.3.5.0
BeginnersBook JSTL 教程（初译）
Requires Python: >=3.6

# BeginnersBook JSTL 教程（初译）

## 下载

### Docker

```
docker pull apachecn0/beginnersbook-jstl-jiaocheng-chuyi
docker run -tid -p <port>:80 apachecn0/beginnersbook-jstl-jiaocheng-chuyi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install beginnersbook-jstl-jiaocheng-chuyi
beginnersbook-jstl-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g beginnersbook-jstl-jiaocheng-chuyi
beginnersbook-jstl-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```
maxima-jieshao-li-dongfeng 2024.3.5.0
Maxima 介绍（李东风）
Requires Python: >=3.6

# Maxima 介绍（李东风）

## 下载

### Docker

```
docker pull apachecn0/maxima-jieshao-li-dongfeng
docker run -tid -p <port>:80 apachecn0/maxima-jieshao-li-dongfeng
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install maxima-jieshao-li-dongfeng
maxima-jieshao-li-dongfeng <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g maxima-jieshao-li-dongfeng
maxima-jieshao-li-dongfeng <port>
# 访问 http://localhost:{port} 查看文档
```
beginnersbook-jsp-jiaocheng-chuyi 2024.3.5.0
BeginnersBook JSP 教程（初译）
Requires Python: >=3.6

# BeginnersBook JSP 教程（初译）

## 下载

### Docker

```
docker pull apachecn0/beginnersbook-jsp-jiaocheng-chuyi
docker run -tid -p <port>:80 apachecn0/beginnersbook-jsp-jiaocheng-chuyi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install beginnersbook-jsp-jiaocheng-chuyi
beginnersbook-jsp-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g beginnersbook-jsp-jiaocheng-chuyi
beginnersbook-jsp-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```
beginnersbook-java-zifuchuan-jiaocheng-chuyi 2024.3.5.0
BeginnersBook Java 字符串教程（初译）
Requires Python: >=3.6

# BeginnersBook Java 字符串教程（初译）

## 下载

### Docker

```
docker pull apachecn0/beginnersbook-java-zifuchuan-jiaocheng-chuyi
docker run -tid -p <port>:80 apachecn0/beginnersbook-java-zifuchuan-jiaocheng-chuyi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install beginnersbook-java-zifuchuan-jiaocheng-chuyi
beginnersbook-java-zifuchuan-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g beginnersbook-java-zifuchuan-jiaocheng-chuyi
beginnersbook-java-zifuchuan-jiaocheng-chuyi <port>
# 访问 http://localhost:{port} 查看文档
```
mappyfile-0-8-zhongwen-wendang 2024.3.5.0
mappyfile 0.8 中文文档
Requires Python: >=3.6

# mappyfile 0.8 中文文档

## 下载

### Docker

```
docker pull apachecn0/mappyfile-0-8-zhongwen-wendang
docker run -tid -p <port>:80 apachecn0/mappyfile-0-8-zhongwen-wendang
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install mappyfile-0-8-zhongwen-wendang
mappyfile-0-8-zhongwen-wendang <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g mappyfile-0-8-zhongwen-wendang
mappyfile-0-8-zhongwen-wendang <port>
# 访问 http://localhost:{port} 查看文档
```
ziyuda-shuju-zhi-spark-rumenjiaocheng-scala-ban 2024.3.5.0
子雨大数据之Spark入门教程（Scala版）
Requires Python: >=3.6

# 子雨大数据之Spark入门教程（Scala版）

## 下载

### Docker

```
docker pull apachecn0/ziyuda-shuju-zhi-spark-rumenjiaocheng-scala-ban
docker run -tid -p <port>:80 apachecn0/ziyuda-shuju-zhi-spark-rumenjiaocheng-scala-ban
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ziyuda-shuju-zhi-spark-rumenjiaocheng-scala-ban
ziyuda-shuju-zhi-spark-rumenjiaocheng-scala-ban <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ziyuda-shuju-zhi-spark-rumenjiaocheng-scala-ban
ziyuda-shuju-zhi-spark-rumenjiaocheng-scala-ban <port>
# 访问 http://localhost:{port} 查看文档
```
mapproxy-1-12-zhongwen-wendang 2024.3.5.0
Mapproxy 1.12 中文文档
Requires Python: >=3.6

# Mapproxy 1.12 中文文档

## 下载

### Docker

```
docker pull apachecn0/mapproxy-1-12-zhongwen-wendang
docker run -tid -p <port>:80 apachecn0/mapproxy-1-12-zhongwen-wendang
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install mapproxy-1-12-zhongwen-wendang
mapproxy-1-12-zhongwen-wendang <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g mapproxy-1-yier-zhongwen-wendang
mapproxy-1-yier-zhongwen-wendang <port>
# 访问 http://localhost:{port} 查看文档
```
zixue-shi-men-shouyi 2024.3.5.0
自学是门手艺
Requires Python: >=3.6

# 自学是门手艺

## 下载

### Docker

```
docker pull apachecn0/zixue-shi-men-shouyi
docker run -tid -p <port>:80 apachecn0/zixue-shi-men-shouyi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install zixue-shi-men-shouyi
zixue-shi-men-shouyi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g zixue-shi-men-shouyi
zixue-shi-men-shouyi <port>
# 访问 http://localhost:{port} 查看文档
```
zhuomian-yunwei-guanli-zhinan 2024.3.5.0
桌面运维管理指南
Requires Python: >=3.6

# 桌面运维管理指南

## 下载

### Docker

```
docker pull apachecn0/zhuomian-yunwei-guanli-zhinan
docker run -tid -p <port>:80 apachecn0/zhuomian-yunwei-guanli-zhinan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install zhuomian-yunwei-guanli-zhinan
zhuomian-yunwei-guanli-zhinan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g zhuomian-yunwei-guanli-zhinan
zhuomian-yunwei-guanli-zhinan <port>
# 访问 http://localhost:{port} 查看文档
```
zhihu-wenda-yuangong-lizhi-baofu-gongsi-daozhi-gongsi-zhongdasunshi-kuadiao-daobi-shi-shenme-tiyan 2024.3.5.0
知乎问答：员工离职，报复公司导致公司重大损失-垮掉-倒闭是什么体验？
Requires Python: >=3.6

# 知乎问答：员工离职，报复公司导致公司重大损失-垮掉-倒闭是什么体验？

## 下载

### Docker

```
docker pull apachecn0/zhihu-wenda-yuangong-lizhi-baofu-gongsi-daozhi-gongsi-zhongdasunshi-kuadiao-daobi-shi-shenme-tiyan
docker run -tid -p <port>:80 apachecn0/zhihu-wenda-yuangong-lizhi-baofu-gongsi-daozhi-gongsi-zhongdasunshi-kuadiao-daobi-shi-shenme-tiyan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install zhihu-wenda-yuangong-lizhi-baofu-gongsi-daozhi-gongsi-zhongdasunshi-kuadiao-daobi-shi-shenme-tiyan
zhihu-wenda-yuangong-lizhi-baofu-gongsi-daozhi-gongsi-zhongdasunshi-kuadiao-daobi-shi-shenme-tiyan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g zhihu-wenda-yuangong-lizhi-baofu-gongsi-daozhi-gongsi-zhongdasunshi-kuadiao-daobi-shi-shenme-tiyan
zhihu-wenda-yuangong-lizhi-baofu-gongsi-daozhi-gongsi-zhongdasunshi-kuadiao-daobi-shi-shenme-tiyan <port>
# 访问 http://localhost:{port} 查看文档
```
zhihu-wenda-qinshou-ba-yijia-gongsi-nongkua-shi-zenyang-de-ganjue 2024.3.5.0
知乎问答：亲手把一家公司弄垮是怎样的感觉？
Requires Python: >=3.6

# 知乎问答：亲手把一家公司弄垮是怎样的感觉？

## 下载

### Docker

```
docker pull apachecn0/zhihu-wenda-qinshou-ba-yijia-gongsi-nongkua-shi-zenyang-de-ganjue
docker run -tid -p <port>:80 apachecn0/zhihu-wenda-qinshou-ba-yijia-gongsi-nongkua-shi-zenyang-de-ganjue
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install zhihu-wenda-qinshou-ba-yijia-gongsi-nongkua-shi-zenyang-de-ganjue
zhihu-wenda-qinshou-ba-yijia-gongsi-nongkua-shi-zenyang-de-ganjue <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g zhihu-wenda-qinshou-ba-yijia-gongsi-nongkua-shi-zenyang-de-ganjue
zhihu-wenda-qinshou-ba-yijia-gongsi-nongkua-shi-zenyang-de-ganjue <port>
# 访问 http://localhost:{port} 查看文档
```