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

Uploaded Source

Built Distribution

metal_sdk-2.4.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metal_sdk-2.4.0.tar.gz
  • Upload date:
  • Size: 15.2 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.4.0.tar.gz
Algorithm Hash digest
SHA256 4cabbdb8263d9838902041352f78d847fce3a620fc1b9e6f8d9259d29a04453e
MD5 32b2db2ca63359e5ef1e2d367ccda6d9
BLAKE2b-256 ca749b7fce901d682c203d02a712bb3f44fe46582b180daa9575a07d725b884b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: metal_sdk-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46fb8b568b36170a2dd05d16b440e2fb48a1314ce6dc59fea0920b2550cfbfc7
MD5 b3f35c68360077b3c18c81fe9dfc8c9f
BLAKE2b-256 c50b5a4363d3ee7e4d76eae1c2ce181c73ae1ebf2667983ca59b4ed8326c3d29

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