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

Uploaded Source

Built Distribution

metal_sdk-2.0.6-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metal_sdk-2.0.6.tar.gz
Algorithm Hash digest
SHA256 7530bc4286901477b6d41b49a6ca902451ef33e1ea89d1088e2eae0c7b5613b4
MD5 fce436131be7ff5cb0f8e6985f16f8af
BLAKE2b-256 afa03cc74a61db6d5d80585d4f4b4a9a7ef3e46fbda3929f4c271160faff6ea6

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for metal_sdk-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d09e45e77eb0dda96d3c9e09036f625640d68db92e4f14ce034a0f9e188b8105
MD5 fdf757844b71445dfdd32e84b5ec1ab7
BLAKE2b-256 b0ab8f6ea6e09beb1276122ab175808ee8aa3f2c8c747de54bc119a5b1e5b77e

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