omniopt2 7001__tar.gz → 7006__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.
Files changed (38) hide show
  1. {omniopt2-7001 → omniopt2-7006}/.omniopt.py +10 -1
  2. {omniopt2-7001/omniopt2.egg-info → omniopt2-7006}/PKG-INFO +2 -1
  3. {omniopt2-7001 → omniopt2-7006/omniopt2.egg-info}/PKG-INFO +2 -1
  4. {omniopt2-7001 → omniopt2-7006}/omniopt2.egg-info/requires.txt +1 -0
  5. {omniopt2-7001 → omniopt2-7006}/pyproject.toml +1 -1
  6. {omniopt2-7001 → omniopt2-7006}/requirements.txt +1 -0
  7. {omniopt2-7001 → omniopt2-7006}/.colorfunctions.sh +0 -0
  8. {omniopt2-7001 → omniopt2-7006}/.dockerignore +0 -0
  9. {omniopt2-7001 → omniopt2-7006}/.general.sh +0 -0
  10. {omniopt2-7001 → omniopt2-7006}/.gitignore +0 -0
  11. {omniopt2-7001 → omniopt2-7006}/.helpers.py +0 -0
  12. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_cpu_ram_usage.py +0 -0
  13. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_general.py +0 -0
  14. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_gpu_usage.py +0 -0
  15. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_kde.py +0 -0
  16. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_scatter.py +0 -0
  17. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_scatter_generation_method.py +0 -0
  18. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_scatter_hex.py +0 -0
  19. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_time_and_exit_code.py +0 -0
  20. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_trial_index_result.py +0 -0
  21. {omniopt2-7001 → omniopt2-7006}/.omniopt_plot_worker.py +0 -0
  22. {omniopt2-7001 → omniopt2-7006}/.random_generator.py +0 -0
  23. {omniopt2-7001 → omniopt2-7006}/.shellscript_functions +0 -0
  24. {omniopt2-7001 → omniopt2-7006}/LICENSE +0 -0
  25. {omniopt2-7001 → omniopt2-7006}/MANIFEST.in +0 -0
  26. {omniopt2-7001 → omniopt2-7006}/README.md +0 -0
  27. {omniopt2-7001 → omniopt2-7006}/apt-dependencies.txt +0 -0
  28. {omniopt2-7001 → omniopt2-7006}/omniopt +0 -0
  29. {omniopt2-7001 → omniopt2-7006}/omniopt2.egg-info/SOURCES.txt +0 -0
  30. {omniopt2-7001 → omniopt2-7006}/omniopt2.egg-info/dependency_links.txt +0 -0
  31. {omniopt2-7001 → omniopt2-7006}/omniopt2.egg-info/top_level.txt +0 -0
  32. {omniopt2-7001 → omniopt2-7006}/omniopt_docker +0 -0
  33. {omniopt2-7001 → omniopt2-7006}/omniopt_evaluate +0 -0
  34. {omniopt2-7001 → omniopt2-7006}/omniopt_plot +0 -0
  35. {omniopt2-7001 → omniopt2-7006}/omniopt_share +0 -0
  36. {omniopt2-7001 → omniopt2-7006}/setup.cfg +0 -0
  37. {omniopt2-7001 → omniopt2-7006}/setup.py +0 -0
  38. {omniopt2-7001 → omniopt2-7006}/test_requirements.txt +0 -0
@@ -87,6 +87,15 @@ try:
87
87
  with console.status("[bold green]Importing argparse..."):
88
88
  import argparse
89
89
 
90
+ with console.status("[bold green]Importing rich_argparse...") as status:
91
+ from argparse import HelpFormatter
92
+
93
+ try:
94
+ from rich_argparse import RichHelpFormatter
95
+ Formatter: type[HelpFormatter] = RichHelpFormatter
96
+ except ModuleNotFoundError:
97
+ Formatter = HelpFormatter
98
+
90
99
  with console.status("[bold green]Importing datetime..."):
91
100
  import datetime
92
101
 
@@ -583,7 +592,7 @@ class ConfigLoader:
583
592
  prog="omniopt",
584
593
  description='A hyperparameter optimizer for slurm-based HPC-systems',
585
594
  epilog=f"Example:\n\n{oo_call} --partition=alpha --experiment_name=neural_network ...",
586
- formatter_class=argparse.HelpFormatter
595
+ formatter_class=Formatter
587
596
  )
588
597
 
589
598
  self.parser.add_argument('--config_yaml', help='YAML configuration file', type=str, default=None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7001
3
+ Version: 7006
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -42,6 +42,7 @@ Requires-Dist: setuptools
42
42
  Requires-Dist: pyright
43
43
  Requires-Dist: qrcode
44
44
  Requires-Dist: tabulate
45
+ Requires-Dist: rich-argparse
45
46
  Requires-Dist: shellcheck-py
46
47
  Requires-Dist: vulture
47
48
  Requires-Dist: flake8
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7001
3
+ Version: 7006
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -42,6 +42,7 @@ Requires-Dist: setuptools
42
42
  Requires-Dist: pyright
43
43
  Requires-Dist: qrcode
44
44
  Requires-Dist: tabulate
45
+ Requires-Dist: rich-argparse
45
46
  Requires-Dist: shellcheck-py
46
47
  Requires-Dist: vulture
47
48
  Requires-Dist: flake8
@@ -32,6 +32,7 @@ setuptools
32
32
  pyright
33
33
  qrcode
34
34
  tabulate
35
+ rich-argparse
35
36
  shellcheck-py
36
37
  vulture
37
38
  flake8
@@ -5,7 +5,7 @@ authors = [
5
5
  {email = "norman.koch@tu-dresden.de"},
6
6
  {name = "Norman Koch"}
7
7
  ]
8
- version = "7001"
8
+ version = "7006"
9
9
 
10
10
  readme = "README.md"
11
11
  dynamic = ["dependencies"]
@@ -32,3 +32,4 @@ setuptools
32
32
  pyright
33
33
  qrcode
34
34
  tabulate
35
+ rich-argparse
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes