labdata 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,39 @@
1
+ import streamlit as st
2
+ from pathlib import Path
3
+ from labdata.schema import *
4
+ from labdata.utils import prefs
5
+
6
+ st.set_page_config(
7
+ page_title="LabData",
8
+ page_icon="🧪",
9
+ )
10
+
11
+ st.write('# Welcome to LabData! 🧪')
12
+ # TODO: if we want to preserve user upload privleges, get user and pw and create new connection
13
+ #st.write(f'## Please enter your database credentials for:')
14
+ # TODO: check connection first?
15
+ db_name = prefs['database']['database.host']
16
+ st.write('## Sucessfully connected to:')
17
+ st.markdown(f'`{db_name}`')
18
+ #animal = st.selectbox('empty', ['a','b','c'], label_visibility='collapsed')
19
+
20
+ st.sidebar.success('Select a page to view.')
21
+
22
+ st.markdown("""
23
+
24
+ ### Usage
25
+
26
+ ### Availible Pages
27
+
28
+ - Page 1
29
+ - Page 1
30
+ - Page 1
31
+
32
+ ### Questions or Bugs?
33
+
34
+ GitHub issue link
35
+
36
+ #### Authors
37
+ Joao Couto and Max Melin
38
+ """
39
+ )
File without changes