semvec/pypi-packages huggingface dataset:
streamlit-message-passing 0.1.1
Streamlit component for doing message passing between parent window and server via JS
Requires Python: >=3.9,<4.0

# streamlit-message-passing

Streamlit component for doing message passing between parent window and server
via JS

## Installation instructions

```sh
pip install streamlit-message-passing
```

## Usage instructions

```python
import streamlit as st

from msgpassing import listen_for_parameters

# If parent window is running on http://localhost:8080 ...
data = listen_for_parameters(web_url="http://localhost:8080")

# We can wait until we have these parameters:
if not data:
  st.stop()

st.markdown("Parameters is: ```%s```" % json.dumps(data, indent=2))
```

On the parent window, you can do something like this:

```html
<iframe src="http://localhost:8501/" frameborder="0"></iframe>
<script>
  document.addEventListener('DOMContentLoaded', function () {
    const messageHandler = (event) => {
      console.debug("Received message from iframe:", event.data, event.origin)

      // Optional: Check if we're receiving messages from our dashboard only
      // We assume that the streamlit app is running on http://localhost:8501
      if (event.origin !== "http://localhost:8501") return;

      if (event.data.type === "ready") {
        // We are ready to send these parameters to streamlit
        const msg = { 
          type: "parameters", 
          foo: "1", 
          bar: 2
        };
        
        console.debug("Sending parameters to iframe:", msg);
        event.source.postMessage(msg, "http://localhost:8501");
      }
    };

    window.addEventListener("message", messageHandler, false);
  });
</script>
```

See [`iframe.html`](./iframe.html) for a full example.
pandas-excel-view 0.0.8
Visualize Pandas DataFrames in Excel
Requires Python: >=3.5.2

## Install
<code>
python -m pip install git+https://github.com/wilianzilv/pandas-excel-view
</code>

## Usage
<code>
import pandas_excel_view as pdv
</code>

<br/>
<code>
pdv.show(df)
</code>


## Multiple Sheets
<code>
pdv.show(df1, "lorem")

pdv.show(df2, "ipsum")
</code>

## Multiple Workbooks
<code>
from pandas_excel_view import PandasExcelView
</code>

<br/>
<code>
pdv0 = PandasExcelView()

pdv1 = PandasExcelView()
</code>
eclipsegen 0.5.0
Generate Eclipse instances in Python
Requires Python: >=3.10

# eclipsegen
Generate Eclipse instances using Python.

This project requires:
- Python 3.10 and newer
- Java 11 and newer

## Build & Test
If you have a local installation of Eclipse, set the `$ECLIPSE_HOME` environment variable to point to the directory
that contains the `eclipse` or `eclipse.exe` executable.

```shell
export ECLIPSE_HOME=~/eclipse/
```

Alternatively, you can provide the URL to a mirror where an appropriate version of Eclipse can be downloaded from.
Usually you would pick the Linux version of the Platform Runtime Binary, say from [this page](https://archive.eclipse.org/eclipse/downloads/drops4/R-4.21-202109060500/). If you specify nothing, Eclipse is downloaded from this URL by default:

```shell
export ECLIPSE_URL=https://artifacts.metaborg.org/content/repositories/releases/org/eclipse/eclipse-platform/4.21/eclipse-platform-4.21-linux-gtk-x86_64.tar.gz
```

Finally, enable the appropriate Java version (e.g., `sdk use java 17.0.8-tem`), then create a virtual environment and run the tests:

```shell
virtualenv venv
source venv/bin/activate
pip install -e .[test]      # Install in editable mode with test dependencies
python -m pytest            # Run the tests
```

## License
Copyright 2016-2023 Gabriel Konat

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an **"as is" basis, without warranties or conditions of any kind**, either express or implied. See the License for the specific language governing permissions and limitations under the License.