semvec/pypi-packages huggingface dataset:
streamlit-float 0.4.0
Fix Streamlit containers relative to viewport instead of page
Requires Python: >=3.6

streamlit-float [![PyPi - Downloads](https://img.shields.io/pypi/dm/streamlit-float)](https://pypi.org/project/streamlit-float/#files)
============

Fix the vertical position of Streamlit containers relative to viewport instead of page

## Installation
Install streamlit-float with pip:
```bash
pip install streamlit-float
```

## Usage
This package provides two ways to float a container. The first is to call the `float` method of a container:

```python
import streamlit as st
from streamlit_float import *

# initialize float feature/capability
float_init()

col1, col2 = st.columns(2)

# Fix/float the whole column
col1.write("This entire column is fixed/floating")
col1.float()

with col2:
    container = st.container()
    # Fix/float a single container inside
    container.write("This text is in a container that is fixed")
    container.float()

```

Alternatively, you can use the `float_parent` method:

```python
import streamlit as st
from streamlit_float import *

# initialize float feature/capability
float_init()

col1, col2 = st.columns(2)

# Fix/float the whole column
with col1:
    st.write("This entire column is fixed/floating")
    float_parent()

with col2:
    container = st.container()
    # Fix/float a single container inside
    with container:
        st.write("This text is in a container that is fixed")
        float_parent()

```

Note that the float feature does not work well with `expander` and `tabs` containers. Also, it is recommended to call the float methods on a container after all the content has been added to it.

If instead you would like to float/fix a container that is constructed in html markup and added using Streamlits `markdown` method (with `unsafe_allow_html=True`), make sure to add 'floating' to the containers classlist.

```python
st.markdown('''<div class="floating">..content..</div>''', unsafe_allow_html=True)
```

## License
This project is licensed under the [MIT License](LICENSE.txt)
earth-rover-mini-sdk 1.0.1
API for EarthRover Mini. Allows interfacing and control over device through a simple interface.
Requires Python: >=3.9

# earth_rover_mini_sdk

API for the Earth Rover Mini. Uploaded to PyPi, installable using pip.

## Installation

Windows:
```bash
py -m pip install earth_rover_mini_sdk
```

Unix/MacOS:
```bash
python3 -m pip install earth_rover_mini_sdk
```

## Example Usage

Below is an example of how to use the code.

```python
from earth_rover_mini_sdk import EarthRoverMini_API

def main():
    rover = EarthRoverMini_API("192.168.11.1", 8888)

    rover.connect()

    print("\n[TEST] Ping test:")

    rover.safe_ping()

    print("\n[TEST] Move test (3s at speed=60, angular=360):")

    rover.move(1, 60, 0)

    rover.disconnect()
```