adtoolbox 0.1.0__tar.gz

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,41 @@
1
+ Metadata-Version: 2.1
2
+ Name: adtoolbox
3
+ Version: 0.1.0
4
+ Summary: A tool for modeling and optimization of anaerobic digestion process.
5
+ Author: ParsaGhadermazi
6
+ Author-email: 54489047+ParsaGhadermazi@users.noreply.github.com
7
+ Requires-Python: >=3.9,<3.12
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.9
11
+ Requires-Dist: bs4 (>=0.0.1,<0.0.2)
12
+ Requires-Dist: dash (>=2.4.1,<3.0.0)
13
+ Requires-Dist: dash-bootstrap-components (>=1.3.1,<2.0.0)
14
+ Requires-Dist: dash-escher (>=0.0.4,<0.0.5)
15
+ Requires-Dist: matplotlib (>=3.5.2,<4.0.0)
16
+ Requires-Dist: numpy (>=1.22.4,<2.0.0)
17
+ Requires-Dist: openbox (>=0.7.17,<0.8.0)
18
+ Requires-Dist: pandas (>=1.4.2,<2.0.0)
19
+ Requires-Dist: plotly (>=5.8.0,<6.0.0)
20
+ Requires-Dist: requests (>=2.27.1,<3.0.0)
21
+ Requires-Dist: rich (>=12.4.4,<13.0.0)
22
+ Requires-Dist: scipy (>=1.8.1,<2.0.0)
23
+ Requires-Dist: sympy (>=1.10.1,<2.0.0)
24
+ Description-Content-Type: text/markdown
25
+
26
+ # Toolbox Overview
27
+ Parsa Ghadermazi
28
+ parsa96@colostate.edu
29
+
30
+ AD Toolbox is developed in Chan Lab at Colorado State University. The main goal of this toolbox is to provide the tools that are useful for modeling and optimization of anaerobic digestion process.
31
+
32
+ Interested in trying ADToolbox? Run the notebooks on Binder:
33
+
34
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/chan-csu/ADToolbox/HEAD)
35
+
36
+ ADToolbox comes with a detailed documentation website. You can access this website using the link below:
37
+
38
+ ** [Full Documentation Here](https://chan-csu.github.io/ADToolbox/) **
39
+
40
+
41
+
@@ -0,0 +1,15 @@
1
+ # Toolbox Overview
2
+ Parsa Ghadermazi
3
+ parsa96@colostate.edu
4
+
5
+ AD Toolbox is developed in Chan Lab at Colorado State University. The main goal of this toolbox is to provide the tools that are useful for modeling and optimization of anaerobic digestion process.
6
+
7
+ Interested in trying ADToolbox? Run the notebooks on Binder:
8
+
9
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/chan-csu/ADToolbox/HEAD)
10
+
11
+ ADToolbox comes with a detailed documentation website. You can access this website using the link below:
12
+
13
+ ** [Full Documentation Here](https://chan-csu.github.io/ADToolbox/) **
14
+
15
+
Binary file
@@ -0,0 +1,35 @@
1
+ import json
2
+ import os
3
+ import rich
4
+ from rich.prompt import Prompt
5
+
6
+ import sys
7
+
8
+ """Project Setup for ADToolBox."""
9
+
10
+ __version__ = "1.0.0"
11
+
12
+ sys.path.append(os.path.join(os.path.dirname(__file__)))
13
+
14
+ PKG_DATA=os.path.join(os.path.dirname(os.path.realpath(__file__)),"pkg_data")
15
+
16
+ with open(os.path.join(PKG_DATA,"ADToolbox_Configs.json"),"r") as f:
17
+ conf = json.load(f)
18
+ Main_Dir=conf["Base_Dir"]
19
+ if Main_Dir and os.path.exists(Main_Dir):
20
+ pass
21
+ elif Main_Dir and not os.path.exists(Main_Dir):
22
+ Main_Dir=input(f"Base directory is not configured properly.\nPlease input the correct path for the base directory:")
23
+ if not os.path.exists(Main_Dir):
24
+ os.makedirs(Main_Dir)
25
+ rich.print(f"[green]Base directory is set to {Main_Dir}")
26
+ else:
27
+ Main_Dir=Prompt.ask("No Base Directory Found: \nWhere do you want to store your ADToolBox Data?")
28
+
29
+ if not os.path.exists(Main_Dir):
30
+ os.mkdir(Main_Dir)
31
+ rich.print(f"\nDirectory did not exist. Created directory: {Main_Dir}")
32
+
33
+ with open(os.path.join(os.path.dirname(os.path.realpath(__file__)),"pkg_data","ADToolbox_Configs.json"),"w") as f:
34
+ conf["Base_Dir"]=Main_Dir
35
+ json.dump(conf,f)
@@ -0,0 +1,7 @@
1
+ import sys
2
+ import os
3
+ from cli import main as main
4
+ import __init__
5
+
6
+ if __name__ == '__main__':
7
+ main()