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

Uploaded Source

Built Distribution

metal_sdk-2.1.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metal_sdk-2.1.2.tar.gz
  • Upload date:
  • Size: 14.3 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.2.tar.gz
Algorithm Hash digest
SHA256 a22895a5babd9c6bdd651ca4289f593ba5eee9742b97d12e6c5a859a3befef96
MD5 d1cd22c583f64407b03081aed0c8fd29
BLAKE2b-256 7306408e9d7c986dc381e744774874726992ad85e9b21a31767250421d995d80

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: metal_sdk-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 542ee620173994b43344779d8d9fc5540b06d4ac30941d824769f1e8bf767c0c
MD5 ead5be7ef17d09b44118946766b1b7c4
BLAKE2b-256 6e4d380c0db371582e296db9bb16044124c3c79160417839cf35183791e43f83

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