Skip to main content

SDK for getmetal.io

Project description

🤘 Metal Python SDK

Setup

$ pip3 install metal-sdk

Usage

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

Testing

$ python3 -m unittest tests/test_metal.py

Reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metal_sdk-2.5.1.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

metal_sdk-2.5.1-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page