streamlit_globe
Streamlit Globe is a wrapper around globe.gl and provides some simple data visualization functionality in Streamlit. In the current release points and labels are implemented.
Usage
- You either have to provide pointsData or labelsData (or both) to render the globe.
- Watch out to create the correct object structure for both arrays.
- daytime parameter accepts 'day' or 'night'
- You have to provide a width and a height, this is not determined automatically by streamlit.
Example usage
from streamlit_globe import streamlit_globe
st.subheader("Globe")
pointsData=[{'lat': 49.19788311472706, 'lng': 8.114625722364316, 'size': 0.3, 'color': 'red'}]
labelsData=[{'lat': 49.19788311472706, 'lng': 8.114625722364316, 'size': 0.3, 'color': 'red', 'text': 'Landau'}]
streamlit_globe(pointsData=pointsData, labelsData=labelsData, daytime='day', width=800, height=600)
Release files for streamlit-globe 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streamlit_globe-0.2.1.tar.gz | 4.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_globe-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 MB
Release files / streamlit_globe-0.2.1.tar.gz
| Download URL | streamlit_globe-0.2.1.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0f925f3a19cc3554ee7f06393d6462a29382597d11c40b0adc3b62e44a8e536
|
|
BLAKE2b-256 checksum How to use checksums |
5b83afd0d3d9afb905fba65e0d1505995009d23d501b27b22bdd5af4e9ed9b33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.13
|
Release files / streamlit_globe-0.2.1-py3-none-any.whl
| Download URL | streamlit_globe-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c67b2057ed01d7177cd25fd7cab2d1b087e73cef27861c6a30aecb6db48d5900
|
|
BLAKE2b-256 checksum How to use checksums |
7b350a2ad84145b75e473f163a7f185412dd94b1b79679ba63a3dcda8c07bc61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.13
|