semvec/pypi-packages huggingface dataset:
streamlit-current-location 0.0.1
Streamlit component to get current position
License: MIT
Requires Python: >=3.7

# streamlit-current-location

Streamlit component to tell the current coordinaate

## Installation instructions

```sh
pip install streamlit-current-location
```

## Usage instructions

```python
import streamlit as st

from streamlit_current_location import current_position

# it returns dict of GeolocationCoordinates
# see https://developer.mozilla.org/ja/docs/Web/API/GeolocationCoordinates
position = current_position()

st.write("altitude: " + position["altitude"])
st.write("longitude: " + position["longitude"])
```