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

Uploaded Source

Built Distribution

metal_sdk-1.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metal_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 9.0 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.0.tar.gz
Algorithm Hash digest
SHA256 52c422248611ea2a0940124f5f9f4e053a8a874dfa7691b6d46e1926857223cb
MD5 1f5bed50143d7086d1984f99a7e2f737
BLAKE2b-256 2af198d506e95cfd45a334de822513ffe42b012820529879c4ed110e5b38b346

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: metal_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8677c8fb76c8897fc9d95770bc4135904e406e91ac9ec710032c78b36fa5dcba
MD5 bdd6241911c5bae5c6afa5a01961396c
BLAKE2b-256 db745d0efc06bb11721c9b66aa3fc3bded4080230002081103ac739e8dc2186c

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