metal-sdk-2.5.1
توضیحات
SDK for getmetal.io
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | metal-sdk-2.5.1 |
| نام | metal-sdk |
| نسخه کتابخانه | 2.5.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Metal Technologies Inc <james@getmetal.io> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/metal-sdk/ |
| مجوز | - |
# 🤘 Metal Python SDK
- [**Developer Documentation**](https://docs.getmetal.io/sdk-python)
- [**PyPi Package**](https://pypi.org/project/metal-sdk/)
## Setup
```bash
$ pip3 install metal-sdk
```
## Usage
```python
from metal_sdk.metal import Metal
metal = Metal("api_key", "client_id", "index_id");
metal.index({ "text": "a" })
metal.index({ "text": "b" })
metal.index({ "text": "c" })
```
[Async example](./examples/example_async.py)
## Testing
```bash
$ python3 -m unittest tests/test_metal.py
```
[Reference](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
نیازمندی
| مقدار | نام |
|---|---|
| - | httpx |
| - | typing-extensions |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl metal-sdk-2.5.1:
pip install metal-sdk-2.5.1.whl
نصب پکیج tar.gz metal-sdk-2.5.1:
pip install metal-sdk-2.5.1.tar.gz