Skip to main content

streamlit-jina

streamlit-jina lets you search text or images in your Streamlit app, using Jina's neural search framework.

Installation

streamlit-jina is distributed via PyPI:

pip install streamlit-jina

Examples

Using streamlit-jina is as simple as setting an endpoint and what type of thing you want to search for:

import streamlit as st
from streamlit_jina import jina

And then choose your search type and plug in your endpoint:

Text (example)

jina.text_search(endpoint="http://0.0.0.0:45678/api/search")

Images (example)

jina.image_search(endpoint="http://0.0.0.0:45678/api/search")

Parameters

You can pass several parameters to the component:

Parameter Type Details
endpoint str Endpoint of your Jina instance Required
top_k int How many results you want returned Optional
hidden list Widgets you want hidden from user (endpoint, top_k) Optional

Todo

  • Canvas drawing as input
  • Audio/video file upload input
  • Audio/video recording input
  • Audio/video output widgets

Metadata

Release files for streamlit-jina 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-jina 0.1.8
File Size Uploaded Provenance Actions
streamlit-jina-0.1.8.tar.gz 3.7 kB Without provenance Details for streamlit-jina-0.1.8.tar.gz

Release files / streamlit-jina-0.1.8.tar.gz

Download URL streamlit-jina-0.1.8.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8450217a13f83f1eee3e3657dc9727638627f0084ec99f9ed26b106c5333b87f
BLAKE2b-256 checksum
How to use checksums
a042cff38706c1d58fa8f52e6c9801418b90009829bc05dfaea90608d4a56012
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.9

Security for streamlit-jina 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page