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.1.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

metal_sdk-2.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file metal_sdk-2.1.0.tar.gz.

File metadata

  • Download URL: metal_sdk-2.1.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for metal_sdk-2.1.0.tar.gz
Algorithm Hash digest
SHA256 11ec44a3c00f9e329de7191578e6d94d064062c5ac5bb1eea6b295853614a835
MD5 0020911578b9494b55333b7287daf6ab
BLAKE2b-256 5286c3795a9b20d74152049075f373587208c29e7df44b4fbe342f8326952e33

See more details on using hashes here.

Provenance

File details

Details for the file metal_sdk-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: metal_sdk-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for metal_sdk-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e523b21058d155d485171e8b27aed460d60518f8d8e99d82d2818217055fc8d3
MD5 72facbed17eee46ca6d3c21f0ed6c089
BLAKE2b-256 94591bd37076c276ab6ab1cccc3d6604dc5b279ac853bec7127213e0c0f3afbe

See more details on using hashes here.

Provenance

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