semvec/pypi-packages huggingface dataset:
streamlit-autosuggest 0.2.1
A Streamlit component for a search bar with autosuggestions
License: MIT
Requires Python: >=3.7
Keywords: streamlit component searchbar autocomplete

# Streamlit Autosuggest Component

A custom Streamlit component that provides a searchbar with autosuggestions functionality.

## Installation

You can install the streamlit-autosuggest component using pip:

    pip install streamlit-autosuggest

## Usage

Here's a simple example of how to use the searchbar component in your Streamlit app:

    import streamlit as st
    from streamlit_autosuggest import searchbar

    st.title("Autosuggest Component Demo")

    # Use the searchbar component
    result = searchbar(suggestions=['apple', 'banana', 'cherry'], placeholder="Type a fruit name", key="demo_searchbar")

    # Display the search result
    if result:
        st.write("You searched for:", result)

## Features

- Autocomplete suggestions as you type
- Customizable suggestions list
- Customizable placeholder text
- Seamless integration with existing Streamlit applications

## API Reference

### searchbar(suggestions=None, placeholder=None, key=None)

Creates a new instance of the searchbar component.

Parameters:
- suggestions (list of str, optional): A list of suggestions for the searchbar.
- placeholder (str, optional): A placeholder text for the searchbar.
- key (str, optional): An optional key that uniquely identifies this component.

Returns:
- str: The selected or typed value in the searchbar.

## Development

To contribute to this project, please see the GitHub repository.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

Developed by Chris Weeks
rubra_tools 0.1.2
Llama Tools: A collection of utilities for handling function calls with local llama.cpp models.
License: MIT
Requires Python: >=3.8
Keywords: llama, function-call

# rubra-tools

## build and publish
1. install flit
```
pip install flit
```

2. build the dist
```
flit build
```

3. push the dist, you might need to change the version number in __init__.py. 
You would also need pypi account and api token ready.
```
flit publish
```

this might help --
create `~/.pypirc` with:
```
[pypi]
repository = https://upload.pypi.org/legacy/
username = __token__
password = <your-api-token-starts-with-pypi->
```

## Extra requirement
need to use npm to install package `jsonrepair` to help fix some edgecases.
```
npm install jsonrepair
```