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

Uploaded Source

Built Distribution

metal_sdk-1.0.8-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metal_sdk-1.0.8.tar.gz
  • Upload date:
  • Size: 11.5 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.8.tar.gz
Algorithm Hash digest
SHA256 92af70f38fa85b09f4003f7da2bb8f6a0e4e9b4ecb6f2cb508e127173ba2c9cd
MD5 8453597d88f5abbbd42727871b8327a5
BLAKE2b-256 c169152b0a0ff28b4e545edeb14aa0cbf2affdee6454bd54e66eaa83505ba1ac

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: metal_sdk-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f878a7d3f03139e8a5ceeebd5489ffe37ab5b874de81efe9c1411ce3447dddcb
MD5 737390b361c21cb99445777953719a2b
BLAKE2b-256 518fe145d170d80bfad9d5e1479c4113643b034862cecaf2db5fbbd5c35085f1

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