No project description provided
Project description
langflow-streamlit
langflow-streamlit
is an API that facilitates communication between Langflow and Streamlit applications. This library enables seamless integration of Langflow's advanced language processing capabilities with Streamlit's user-friendly interface, allowing developers to create interactive applications that leverage powerful language models.
Features
- Easy integration: Quickly set up communication between Langflow and Streamlit with minimal configuration.
- Simple deployment: Easily install and run the API with
pip
orpoetry
. - Flexible execution: Run the full stack or just the Streamlit frontend with API backend.
Requirements
- Python 3.10 or higher
Installation
Option 1: Install via pip
pip install langflow-streamlit
Option 2: Clone the repository and use Poetry
-
Clone the repository:
git clone https://github.com/yaitec/langflow-streamlit.git cd langflow-streamlit
-
Install Poetry if you haven't already:
pip install poetry
-
Install the project dependencies:
poetry install
Usage
Running the Application
-
Run the full stack (Langflow, API, and Streamlit):
langflow-streamlit run
-
Run only the Streamlit frontend and API backend:
langflow-streamlit run --streamlit-only
Using Poetry (after cloning the repository)
-
Run the full stack:
poetry run langflow-streamlit run
-
Run only the Streamlit frontend and API backend:
poetry run langflow-streamlit run --streamlit-only
Using Make commands
-
Run the full stack:
make start
-
Run only the Streamlit frontend and API backend:
make start-streamlit-only
Development
To set up the development environment:
-
Clone the repository (if you haven't already).
-
Install development dependencies:
poetry install --with dev
-
Run tests:
make test
-
Check code style:
make lint
Contributing
Contributions are welcome! Please feel free to submit a Pull Request or open an Issue on the GitHub repository.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
YAITEC - contact@yaitec.org
Project Link: https://github.com/yaitec/langflow-streamlit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for langflow_streamlit-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567d908e72590ca4e76b3368b760d509b506d84322dc8e9af587c5bcab70a71d |
|
MD5 | ed0937c3acc17529d557c6611bc8ae3d |
|
BLAKE2b-256 | f4cc54d1f90ecbf0760cfc05662682d0b060ee2142dce97a3db96877e5faf979 |
Hashes for langflow_streamlit-0.1.0-1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cafc9fa46a3fb2c58c5b6e368046bcd02f31c2be9f179c16e6e2ae8eceb62407 |
|
MD5 | b9756e810cc74a019887ac4d3a7ee634 |
|
BLAKE2b-256 | a03204a95703994cbeaf383eefd6eeb12dc3b1b10bba8e77df102fb15a6f01b5 |