semvec/pypi-packages huggingface dataset:
streamlit-hub 0.3.1
Manage your streamlit applciations!
License: MIT

Streamlit App Hub
=================

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
   :target: LICENSE

Overview
--------

Streamlit App Hub is a Python application that allows you to manage multiple Streamlit apps from a central hub. It provides an interactive web interface where you can add new Streamlit apps, start them, and gracefully exit the application.

Features
--------

- **Manage Multiple Streamlit Apps:** Easily start, stop, and add new Streamlit apps.
- **Interactive Web Interface:** User-friendly interface for app management.
- **Logging:** Configurable logging with colored console output and a log file.

Getting Started
---------------

1. Clone the repository:

   ```bash
   git clone https://github.com/your-username/streamlit-app-hub.git
   cd streamlit-app-hub
   ```

2. Install the required dependencies:

   ```bash
   pip install -r requirements.txt
   ```

3. Run the Streamlit App Hub:

   ```bash
   streamlit run streamlit_manager.py
   ```

4. Access the web interface at `http://localhost:8501` in your browser.

Configuration
-------------

- Streamlit apps are configured in the `streamlit_apps.json` file. Add new app information to this file.

Logging
-------

- Logs are available both in the console with colored output and in the `app.log` file.

Contributing
------------

Contributions are welcome! Please read `CONTRIBUTING.rst` for details on how to contribute to this project.

License
-------

This project is licensed under the MIT License - see the `LICENSE` file for details.
EaseExcel 1.0.2
Package to write data from database to excel files
License: MIT
Requires Python: >=3.6

# EaseExcel
EaseExcel is a Python package designed to facilitate the transfer of data from databases to Excel. It seamlessly integrates with SQLAlchemy, supporting connections to various database types.

# Installation
If you encounter any errors during installation, you may need to install the following packages before trying again:

```bash
pip install SQLAlchemy XlsxWriter
```

# Usage
```python
# Import statments
from sqlalchemy import create_engine
from sqlalchemy import text
import asyncio

from EaseExcel.src.Excel.ease_excel import EaseExcel

```

```python
# Example 1
async def main():
    """
    In this example providing sql alchmey engine and sql query as argument

    These are required argument
    
    """
    engine = create_engine('postgresql+psycopg2://username:password@host:port/database')
   
    query = "select * from posts"

    await EaseExcel(
        sqlalchemy_engine=engine,
        SQL_query=query).build()

asyncio.run(main())

```

```python
# Example 2
async def main():
    """
    In this example providing sql alchmey engine, sql query and filename as argument

    file_name: it is optional argument if filename is not provided file will we created with
    default name.
    
    """
    engine = create_engine('postgresql+psycopg2://username:password@host:port/database')
   
    query = "select * from posts"

    await EaseExcel(
        sqlalchemy_engine=engine,
        SQL_query=query,
        file_name='Posts').build()

asyncio.run(main())

```

```python
# Example 3
async def main():
    """
    In this example providing sql alchmey engine, sql query and filename as argument

    file_name: it is optional argument if filename is not provided file will we created with
    default name.

    file_path: it is also a optional argument if this is not provided file will be create in current directory.
    
    """
    engine = create_engine('postgresql+psycopg2://username:password@host:port/database')
   
    query = "select * from posts"

    await EaseExcel(
        sqlalchemy_engine=engine,
        SQL_query=query,
        file_name='Posts'.
        file_path='<path>').build()

asyncio.run(main())

```