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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: metal_sdk-2.5.1.tar.gz
  • Upload date:
  • Size: 15.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.5.1.tar.gz
Algorithm Hash digest
SHA256 97ac85e16669f256d2502b7c9606a5f0d4aa4cecc3938834b6064867ee47a34a
MD5 f3970aed03c51d4c638606790c5846b8
BLAKE2b-256 f2dcd51166c151501716906bb21a1563298d5abd6abe6fbf3a6dba5d4800d6ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metal_sdk-2.5.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22eb44609d789d772664fe6eb502bb07b5f645a370c7d7fb993ffb28ecb59bbd
MD5 8429b86f94d3744d232a3d395d0239d3
BLAKE2b-256 226d1c1b181328cdae858797ccbcad7a74be6e3d81f06041fde9a25c698cb5db

See more details on using hashes here.

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