Replies: 1 comment
-
|
What you describe is moving to "normal" python package structure. Let's address it in #44 :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation: Currently, we have one extensive file that can only be executed using Streamlit. This setup is inconvenient for performing tests on functions.
Here's my proposal:
Create 2 to 3 additional files, specifically Python modules. These modules will encapsulate all the functions responsible for retrieving information, organized into logical categories (e.g., geography, physics, law, plotting, etc.).
The main file, climsight.py, will import these modules. Technically, this will not alter the process for running the application: streamlit run climsight.py.
This approach allows for an additional file dedicated to executing all the functions and performing tests to ensure their functionality without the need for Streamlit.
Beta Was this translation helpful? Give feedback.
All reactions