bluer-options 5.185.1__py3-none-any.whl → 5.187.1__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.

Potentially problematic release.


This version of bluer-options might be problematic. Click here for more details.

bluer_options/__init__.py CHANGED
@@ -6,7 +6,7 @@ ICON = "🌀"
6
6
 
7
7
  DESCRIPTION = f"{ICON} Options for Bash."
8
8
 
9
- VERSION = "5.185.1"
9
+ VERSION = "5.187.1"
10
10
 
11
11
  REPO_NAME = "bluer-options"
12
12
 
@@ -48,6 +48,12 @@ parser.add_argument(
48
48
  help="0|1",
49
49
  default=0,
50
50
  )
51
+ parser.add_argument(
52
+ "--int",
53
+ type=int,
54
+ help="0|1",
55
+ default=0,
56
+ )
51
57
  parser.add_argument(
52
58
  "--min",
53
59
  type=float,
@@ -75,13 +81,13 @@ elif args.task == "pretty_date":
75
81
  )
76
82
  elif args.task == "random":
77
83
  print(
78
- "{:8}".format(
84
+ ("{:0.8f}" if args.float == 1 else "{:0.0f}").format(
79
85
  random.uniform(
80
86
  args.min,
81
87
  args.max,
82
88
  )
83
89
  )
84
- if args.float == 1
90
+ if args.float == 1 or args.int == 1
85
91
  else string.random(args.length)
86
92
  )
87
93
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_options
3
- Version: 5.185.1
3
+ Version: 5.187.1
4
4
  Summary: 🌀 Options for Bash.
5
5
  Home-page: https://github.com/kamangir/bluer-options
6
6
  Author: Arash Abadpour (Kamangir)
@@ -1,4 +1,4 @@
1
- bluer_options/__init__.py,sha256=3eI8TFrAqKhd0V3H_vWjXZOWuIMYtFvlDZXpjzs9rI0,288
1
+ bluer_options/__init__.py,sha256=56tkD_4CoZxBlwzs2SA7-pByFN1PSwBao91XBJDFByg,288
2
2
  bluer_options/__main__.py,sha256=-6ce9W1uXkle4YtEYlSUMWxSmsur3dRDA4_MvNNhEVg,236
3
3
  bluer_options/config.env,sha256=2AG3xuWiMqaNmlCNDWQOJ_AssKk7KXhn0XDIkHWNQ2Q,30
4
4
  bluer_options/timer.py,sha256=UPmsfCjbEWpcjXgMpYemXieheMJH_UpuemhVGsKYVoE,2470
@@ -58,7 +58,7 @@ bluer_options/options/__init__.py,sha256=q0Ymi9oCBwgN0g7NVeYh4XgiICOtH8W8Wuaa52N
58
58
  bluer_options/options/__main__.py,sha256=wnCzX2dxIgrjZ6qoDnE_YBE6xzJO5ME5u-gCPmb02cw,1479
59
59
  bluer_options/options/classes.py,sha256=dcfGd34y6vDYvj-v-Bb5uOyy79mwV0s98czYFJ9hB9U,2211
60
60
  bluer_options/string/__init__.py,sha256=MsbbLbg13Pmq2qkYqwOU1bc27_VvfiZ_alcKYH7zzI8,546
61
- bluer_options/string/__main__.py,sha256=zC9Pipo66aMo5gEiIDbBWFzaukjIp7RttkCoHZFZXOQ,1707
61
+ bluer_options/string/__main__.py,sha256=yv6pNK4cYua6ySYbxpACfIiF4NSNAoBiiaMWQmWt_wU,1844
62
62
  bluer_options/string/constants.py,sha256=hfUx6xihcOsTayceAumyxyV2fbAr45_o4J-4ejKWrgM,216
63
63
  bluer_options/string/functions.py,sha256=Z8_9F-4_KescGQgNBsRVHU7S1UtYrlV_kMJPwcvha3A,8038
64
64
  bluer_options/terminal/__init__.py,sha256=kyNhbC5NVCuqrUhbbTeAOTW1ZO7MRRbi0RtXGBFKtJc,73
@@ -67,8 +67,8 @@ bluer_options/terminal/functions.py,sha256=A23uHLeU4JIctmecOFk_KhIfOeHu-WMjnSzBj
67
67
  bluer_options/timing/__init__.py,sha256=CCIJKvRVdimLdk46WOc_C-t8HHTVFPdGxQTFCFrN5zc,127
68
68
  bluer_options/timing/classes.py,sha256=6savdv6s_2IJaGvTzHK_umeu51Qoj4JCJc_Ey4WEAyY,3795
69
69
  bluer_options/timing/elapsed_timer.py,sha256=ecM11nzXnoDL_k6p41YPH28-OLnYreg_CgPQlbv4mjI,897
70
- bluer_options-5.185.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
71
- bluer_options-5.185.1.dist-info/METADATA,sha256=MXrpPgUGD6v6q4DpoNsbLbFz1Cqxdsgn27ieQrp3AIQ,4951
72
- bluer_options-5.185.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
73
- bluer_options-5.185.1.dist-info/top_level.txt,sha256=yw9slt8n3R7IiYmf83OtHtB8Z-EgP9UwyQTk1EGiAJU,14
74
- bluer_options-5.185.1.dist-info/RECORD,,
70
+ bluer_options-5.187.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
71
+ bluer_options-5.187.1.dist-info/METADATA,sha256=BH41KlDi9gqOZyia3V-9qteKV44OFMZpu8cJjYPmFYA,4951
72
+ bluer_options-5.187.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
73
+ bluer_options-5.187.1.dist-info/top_level.txt,sha256=yw9slt8n3R7IiYmf83OtHtB8Z-EgP9UwyQTk1EGiAJU,14
74
+ bluer_options-5.187.1.dist-info/RECORD,,