semvec/pypi-packages huggingface dataset:
xray-rpc 1.5.2
gRPC files generated from Xray source code.
License: MIT
Requires Python: >=3.8,<4.0
Keywords: xray,v2ray,grpc,shadowsocks

# xray-rpc

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/laoshan-tech/xray-rpc/Upload%20Python%20Package?style=flat-square)
![GitHub](https://img.shields.io/github/license/laoshan-tech/xray-rpc?style=flat-square)
![GitHub repo size](https://img.shields.io/github/repo-size/laoshan-tech/xray-rpc?style=flat-square)
![PyPI](https://img.shields.io/pypi/v/xray-rpc?color=blue&style=flat-square)
[![Telegram](https://img.shields.io/badge/news-telegram-26A5E4?style=flat-square&logo=telegram)](https://t.me/laoshan_tech)
[![Telegram](https://img.shields.io/badge/chat-telegram-26A5E4?style=flat-square&logo=telegram)](https://t.me/laoshan_tech_discuss)

通过 Xray 源码 proto 文件自动生成的 gRPC 代码，版本号对应 Xray 相对应。

## 安装

通过 pip 安装。

```shell
pip install xray-rpc
```

## 使用

参考 [xray-node](https://github.com/laoshan-tech/xray-node/blob/master/xray_node/core/xray.py) 中的用法。
inferrd 0.1.47
inferrd.com
License: MIT
Keywords: Inferrd,Hosting,TensorFlow,Deploy

# Inferrd

Inferrd is a hosting platform for TensorFlow.

### Authentication

In order to use this library you need to get a api token from [inferrd.com](https://inferrd.com)

Authenticate with the `inferrd.auth` method:

```python
import inferrd

inferrd.auth('<token>')
```

### Deploying TensorFlow

First, create a model on [inferrd.com](https://inferrd.com) and select the kind of instance you want. Then simple call `inferrd.deploy_tf`:

```python
import inferrd

# this only needs to be done once
inferrd.auth('<token>')

# deploy TF
inferrd.deploy_tf(tf_model, '<name of the model>')
```

### Fetching predictions

Inferrd allows us to pull predictions back into your notebook by using `inferrd.get_requests`:

```python
import inferrd

# this only needs to be done once
inferrd.auth('<token>')

# get the requests
requests = inferrd.get_requests('<name of the model>', limit=100, page=0, includeFailures=False)
```