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

Uploaded Source

Built Distribution

metal_sdk-1.0.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metal_sdk-1.0.3.tar.gz
Algorithm Hash digest
SHA256 d7a3dcfffdb03daf65c9a9d14ea38e87d3a296f8e789c739d7305a544bb108b1
MD5 e40ca353a95b372e2258d27e7b1debe9
BLAKE2b-256 3ae56066b6631362a5ba0035716d9a6b05b5b3104338ae81dbeb10576e311a7e

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for metal_sdk-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c82fdc572748fc5615ebb46ae48af87ef14dfcd2e00b22b4e2afcc5304890243
MD5 71db9066fb40c4ae587f63569fff9958
BLAKE2b-256 d9e5fc21756649de24d5bdba7c24d059f944c24d69438016473aa9381055c8e8

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