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

Uploaded Source

Built Distribution

metal_sdk-2.2.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metal_sdk-2.2.0.tar.gz
  • Upload date:
  • Size: 14.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.2.0.tar.gz
Algorithm Hash digest
SHA256 b0e25584f2ed8f0a1270be3081e228cbbfca92762f31af034eb2453217bc5bf4
MD5 4630243f342f882f65bdb17aa3dcf3f4
BLAKE2b-256 b16ea69a3bcb80569e8bff371c14b753c0e37acf285f282025bb319f5c213781

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: metal_sdk-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60ed77606b6c192a491b5eeff2e6db5535051cd119a17b1d7d277f4f9937a488
MD5 b5a0f2df2d62c7a357e47cf59823c447
BLAKE2b-256 1db093dbd8854d56a7eda042d86e01ee2e6db33969e5093db3b02d641e4f4ef0

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