bluer-options 5.185.1__tar.gz → 5.189.1__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.
Potentially problematic release.
This version of bluer-options might be problematic. Click here for more details.
- {bluer_options-5.185.1/bluer_options.egg-info → bluer_options-5.189.1}/PKG-INFO +1 -1
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/__init__.py +1 -1
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/string/__main__.py +11 -2
- {bluer_options-5.185.1 → bluer_options-5.189.1/bluer_options.egg-info}/PKG-INFO +1 -1
- {bluer_options-5.185.1 → bluer_options-5.189.1}/LICENSE +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/MANIFEST.in +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/README.md +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/alias.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/assert.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/bluer_options.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/bool.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/browse.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/code.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env/backup.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env/dot/cat.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env/dot/cp.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env/dot/edit.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env/dot/load.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env/dot/seed.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env/dot.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/env.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/eval.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/generic_task.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/help.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/install.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/list.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/logging.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/open.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/options.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/pause.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/plugins.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/pylint.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/pytest.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/repeat.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/seed.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/sleep.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/source.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/string.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/terminal.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/test.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/wait.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/.bash/watch.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/__main__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/assets/example1.sh +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/config.env +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/env/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/env/functions.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/help/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/help/__main__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/help/functions.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/help/parsing.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/host/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/host/__main__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/host/functions.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/list/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/list/__main__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/logger/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/logger/__main__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/logger/config.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/logger/watch.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/options/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/options/__main__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/options/classes.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/string/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/string/constants.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/string/functions.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/terminal/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/terminal/__main__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/terminal/functions.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/timer.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/timing/__init__.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/timing/classes.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/timing/elapsed_timer.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options/urls.py +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options.egg-info/SOURCES.txt +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options.egg-info/dependency_links.txt +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options.egg-info/requires.txt +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/bluer_options.egg-info/top_level.txt +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/pyproject.toml +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/requirements.txt +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/setup.cfg +0 -0
- {bluer_options-5.185.1 → bluer_options-5.189.1}/setup.py +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import argparse
|
|
2
2
|
import random
|
|
3
|
+
import os
|
|
3
4
|
|
|
4
5
|
from blueness import module
|
|
5
6
|
|
|
@@ -48,6 +49,12 @@ parser.add_argument(
|
|
|
48
49
|
help="0|1",
|
|
49
50
|
default=0,
|
|
50
51
|
)
|
|
52
|
+
parser.add_argument(
|
|
53
|
+
"--int",
|
|
54
|
+
type=int,
|
|
55
|
+
help="0|1",
|
|
56
|
+
default=0,
|
|
57
|
+
)
|
|
51
58
|
parser.add_argument(
|
|
52
59
|
"--min",
|
|
53
60
|
type=float,
|
|
@@ -74,14 +81,16 @@ elif args.task == "pretty_date":
|
|
|
74
81
|
)
|
|
75
82
|
)
|
|
76
83
|
elif args.task == "random":
|
|
84
|
+
random.seed(os.getpid())
|
|
85
|
+
|
|
77
86
|
print(
|
|
78
|
-
"{:
|
|
87
|
+
("{:0.8f}" if args.float == 1 else "{:0.0f}").format(
|
|
79
88
|
random.uniform(
|
|
80
89
|
args.min,
|
|
81
90
|
args.max,
|
|
82
91
|
)
|
|
83
92
|
)
|
|
84
|
-
if args.float == 1
|
|
93
|
+
if args.float == 1 or args.int == 1
|
|
85
94
|
else string.random(args.length)
|
|
86
95
|
)
|
|
87
96
|
else:
|
|
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
|
|
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
|
|
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
|
|
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
|