Skip to main content

Tags custom component for Streamlit

Project description

Streamlit-tags

A custom component to have Tags in Streamlit.

Install

pip install streamlit-tags

Usage

This library has one main function to display and use tags:

  • st_tags to display the tags feature

Check the examples/ folder of the project for a more thourough quick start.

Definition

def st_tags(label: str,
            text: str,
            value: list,
            key=None) -> list

Example Usage

import streamlit as st
from streamlit_tags import st_tags

keywords = st_tags('Enter Keyword:', 'Press enter to add more', ['One', 'Two', 'Three'])

st.write(keywords)

image

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

streamlit_tags-1.0.1.tar.gz (549.6 kB view details)

Uploaded Source

Built Distribution

streamlit_tags-1.0.1-py3-none-any.whl (557.1 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_tags-1.0.1.tar.gz.

File metadata

  • Download URL: streamlit_tags-1.0.1.tar.gz
  • Upload date:
  • Size: 549.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for streamlit_tags-1.0.1.tar.gz
Algorithm Hash digest
SHA256 95c2a75f3bd3815284327b9d2d7815596618d22484d78782d1b4b50310256350
MD5 b44c7db75f829005e47788384d79c7c7
BLAKE2b-256 31051efe7df4e951b97e66d76592ee8566838f4f781c0bee09f5448367bb4316

See more details on using hashes here.

File details

Details for the file streamlit_tags-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: streamlit_tags-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 557.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for streamlit_tags-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e333a67292bcd730894caf8c9094af7393dc3b4270d81bd0b2636eac60eccdd8
MD5 063bd4c6c99d2e9c37f760d57bf8787d
BLAKE2b-256 bdb52c9514e978f2f95eb03ae7a1c0ada503d1fe898a45ca8a691437e6228a98

See more details on using hashes here.

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