semvec/pypi-packages huggingface dataset:
streamlit-component-dropfilltextarea 0.3.0
Streamlit's DropFillTextarea lets users drag and drop files onto a text area, filling in text quickly. It populates text areas with pre-existing files, reducing manual input, while offering layout customization. Ideal for simplifying workflows for both developers and users.
Requires Python: >=3.7

# streamlit-component-dropfilltextarea

Streamlit Component DropFillTextarea allows you to drag and drop files onto a text area, making it easy to fill in large amounts of text quickly. With dropfill_textarea, users can quickly populate text areas with pre-existing text files, reducing manual input and increasing efficiency. The component also offers flexible layout options, allowing users to customize the label and text area's size, position, and other properties. Whether you're a developer or a user, dropfill_textarea is the perfect solution for simplifying your workflow.

## Installation instructions

```sh
pip install streamlit-component-dropfilltextarea
```

## Usage instructions

### Use like default textarea

```python
import streamlit as st

from st_dropfill_textarea import st_dropfill_textarea

value = st_dropfill_textarea("Your label", "")

st.write(value)

```

### Use with layout column (default) or row

```python
st.subheader("Component with column layout (default)")
returnText = st_dropfill_textarea('column layout: ', '',
                                    placeholder="Type at here",
                                    height=200)
st.write(f"Returned text: {returnText}")

st.subheader("Component with row layout")
returnText = st_dropfill_textarea('row layout: ', '',
                                    layout="row",
                                    height=200)
st.write(f"Returned text: {returnText}")

```

### Align multi rows of textarea

```python
labelWidth = 120
label = 'short row: '
text_short = ''
text_short = st_dropfill_textarea(label, text_short,
                                    placeholder="",
                                    layout="row",
                                    labelWidth=labelWidth,
                                    height=200)
label = 'looooong row:'
text_long = ''
text_long = st_dropfill_textarea(label, text_long,
                                    layout="row",
                                    labelWidth=labelWidth,
                                    height=200)


```
unscrewed 0.1a2
Unscrewed data packaging

# Unscrewed

Utility for making and updating a data fetcher component of your project.

## Install

```bash
pip install unscrewed
```

## Usage

First prepare a `registry.yaml` file, like the one in
`unscrewed/tests/testreg_registry.yaml`.  Put it in your package, say in the
`your_package` directory (that contains the `__init__.py` file).  Maybe call
it `registry.yaml`.

In some module, say `your_package/data.py`

```python
import pkg_resources

import unscrewed

_config_file = pkg_resources.resource_filename("your_package", "registry.yaml")
fetcher = unscrewed.Fetcher(_config_file)
```

Say you have a file `my_data_file.nii` configured in your `registry.yaml` file above.

Now you can fetch it like this:

```python
from your_package.data import fetcher

fname = fetcher('my_data_file.nii')
```