Skip to main content

Streamlit Milvus Connection

Project description

st-milvus-connection

Connect your streamlit app to milvus database.

Install the library with:

pip install st_milvus_connection

Run the example script:

import os
import streamlit as st

from st_milvus_connection import MilvusConnection

os.environ["milvus_uri"] = YOUR_MILVUS_ENDPOINT
os.environ["milvus_token"] = YOUR_MILVUS_TOKEN

conn = st.connection("milvus", type=MilvusConnection)

collections_list = conn.list_collections()

for i, collection in enumerate(collections_list):
    print(f"{i} {collection}")

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

st_milvus_connection-0.0.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

st_milvus_connection-0.0.4-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file st_milvus_connection-0.0.4.tar.gz.

File metadata

  • Download URL: st_milvus_connection-0.0.4.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for st_milvus_connection-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0c93b348ae981ac0df37cbb100ff789256e557441580db95f46d4e02be7ce5df
MD5 50c9a7de188d2aeb9ca2eed889467e39
BLAKE2b-256 6edceffd22938ffb8c157b36ce3fece997eb16904808d91b2ced827f1d7971ee

See more details on using hashes here.

File details

Details for the file st_milvus_connection-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for st_milvus_connection-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a6063c605bf169884d1e4c2c4bbddccfc9588349d941b03c390371161819e946
MD5 2e8af6daa8b984ca7d1f0f4c93e4bd73
BLAKE2b-256 e69630dbd8f85371d22e39dc053f505b630acf02838c6691f3e7aa30687b100a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page