streamlit-nightly 1.36.1.dev20240709__py2.py3-none-any.whl → 1.36.1.dev20240710__py2.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.
streamlit/file_util.py CHANGED
@@ -136,12 +136,11 @@ def get_streamlit_file_path(*filepath) -> str:
136
136
 
137
137
  This doesn't guarantee that the file (or its directory) exists.
138
138
  """
139
- # os.path.expanduser works on OSX, Linux and Windows
140
- home = os.path.expanduser("~")
139
+ home = Path.home()
141
140
  if home is None:
142
141
  raise RuntimeError("No home directory.")
143
142
 
144
- return os.path.join(home, CONFIG_FOLDER_NAME, *filepath)
143
+ return str(home / CONFIG_FOLDER_NAME / Path(*filepath))
145
144
 
146
145
 
147
146
  def get_project_streamlit_file_path(*filepath):
@@ -149,7 +148,7 @@ def get_project_streamlit_file_path(*filepath):
149
148
 
150
149
  This doesn't guarantee that the file (or its directory) exists.
151
150
  """
152
- return os.path.join(os.getcwd(), CONFIG_FOLDER_NAME, *filepath)
151
+ return str(Path.cwd() / CONFIG_FOLDER_NAME / Path(*filepath))
153
152
 
154
153
 
155
154
  def file_is_in_folder_glob(filepath: str, folderpath_glob: str) -> bool:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: streamlit-nightly
3
- Version: 1.36.1.dev20240709
3
+ Version: 1.36.1.dev20240710
4
4
  Summary: A faster way to build and share data apps
5
5
  Home-page: https://streamlit.io
6
6
  Author: Snowflake Inc
@@ -19,7 +19,7 @@ streamlit/emojis.py,sha256=G1ZHg5TQYCorAZR7ZAlyiapaxYAY6NeY2OdP6F0yVMM,81235
19
19
  streamlit/env_util.py,sha256=fqea8xmj4ifsuqmLv3Pvlq4t5y6WVTBua4qRpVTbs5Y,1791
20
20
  streamlit/error_util.py,sha256=Xx19JaBKF-MKHleuPY6TX3Xo_1fSd3ZqZuhvSz-B3LM,3598
21
21
  streamlit/errors.py,sha256=ks4wM1303LNLvviFL6fk5ziGjEsDWPsEc5tQFwIp-ms,3213
22
- streamlit/file_util.py,sha256=jwAlXtGNEwy335Ct9l14YHqxMuCWGSwgePesj7vNyLg,7216
22
+ streamlit/file_util.py,sha256=WbYWuARKjNi8QWcaRtfSto0j6HWKL1xi1dcFaF_M3M8,7144
23
23
  streamlit/folder_black_list.py,sha256=Ji9UZ4PtrilLxmvb8W57SIEK7AkeLGEqqtqr4y2oscI,2342
24
24
  streamlit/git_util.py,sha256=tVRinRwVqJDtJAJOr9d_PuFNbGJKPpo34xpxJTUnfZ0,5261
25
25
  streamlit/js_number.py,sha256=21VdJozG82xyZauYrdR819tb8mNNBxu-YzTXRBmLFgo,3524
@@ -530,9 +530,9 @@ streamlit/web/server/server_util.py,sha256=C3M971XFoEXTMufQLwHbZdtZOE30nWx-2WiXm
530
530
  streamlit/web/server/stats_request_handler.py,sha256=47nQHe4ETsO9QS9FAEUF8rZigU_k5eACJZw4-jc8U6c,3684
531
531
  streamlit/web/server/upload_file_request_handler.py,sha256=ftyKpARrUjOpRcFETIXuoTyOG_mo-ToOw5NI0y_W4lE,5003
532
532
  streamlit/web/server/websocket_headers.py,sha256=07SkWLcOxbyldl7UcBzrMKY9ZojypCQACiKoh5FcH7Y,1870
533
- streamlit_nightly-1.36.1.dev20240709.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
534
- streamlit_nightly-1.36.1.dev20240709.dist-info/METADATA,sha256=bxCg9po-1MPGZLH8WSYRKhDiW7-jbWqJHYPcmzBnBNI,8531
535
- streamlit_nightly-1.36.1.dev20240709.dist-info/WHEEL,sha256=pWvVuNuBTVmNV7Lp2jMAgt1NplTICeFdl1SW8U3MWN4,109
536
- streamlit_nightly-1.36.1.dev20240709.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
537
- streamlit_nightly-1.36.1.dev20240709.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
538
- streamlit_nightly-1.36.1.dev20240709.dist-info/RECORD,,
533
+ streamlit_nightly-1.36.1.dev20240710.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
534
+ streamlit_nightly-1.36.1.dev20240710.dist-info/METADATA,sha256=x8Rp4bKlCV-RA7iYtv0FkzXfCB7Br-Y5iJYkEN9A-Dc,8531
535
+ streamlit_nightly-1.36.1.dev20240710.dist-info/WHEEL,sha256=pWvVuNuBTVmNV7Lp2jMAgt1NplTICeFdl1SW8U3MWN4,109
536
+ streamlit_nightly-1.36.1.dev20240710.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
537
+ streamlit_nightly-1.36.1.dev20240710.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
538
+ streamlit_nightly-1.36.1.dev20240710.dist-info/RECORD,,