osbot-utils 2.82.0__py3-none-any.whl → 2.83.0__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.
- osbot_utils/utils/Files.py +3 -2
- osbot_utils/version +1 -1
- {osbot_utils-2.82.0.dist-info → osbot_utils-2.83.0.dist-info}/METADATA +2 -2
- {osbot_utils-2.82.0.dist-info → osbot_utils-2.83.0.dist-info}/RECORD +6 -6
- {osbot_utils-2.82.0.dist-info → osbot_utils-2.83.0.dist-info}/LICENSE +0 -0
- {osbot_utils-2.82.0.dist-info → osbot_utils-2.83.0.dist-info}/WHEEL +0 -0
osbot_utils/utils/Files.py
CHANGED
@@ -466,8 +466,9 @@ class Files:
|
|
466
466
|
|
467
467
|
@staticmethod
|
468
468
|
def write(path = None,contents=None, extension=None, mode='w'):
|
469
|
-
path
|
470
|
-
|
469
|
+
path = path or temp_file(extension)
|
470
|
+
if contents is None:
|
471
|
+
contents = b'' if 'b' in mode else ''
|
471
472
|
with open(file=path, mode=mode) as file:
|
472
473
|
file.write(contents)
|
473
474
|
return path
|
osbot_utils/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
v2.
|
1
|
+
v2.83.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: osbot_utils
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.83.0
|
4
4
|
Summary: OWASP Security Bot - Utils
|
5
5
|
License: MIT
|
6
6
|
Author: Dinis Cruz
|
@@ -21,7 +21,7 @@ Description-Content-Type: text/markdown
|
|
21
21
|
|
22
22
|
# OSBot-Utils
|
23
23
|
|
24
|
-

|
25
25
|

|
26
26
|

|
27
27
|

|
@@ -449,7 +449,7 @@ osbot_utils/utils/Csv.py,sha256=oHLVpjRJqrLMz9lubMCNEoThXWju5rNTprcwHc1zq2c,1012
|
|
449
449
|
osbot_utils/utils/Dev.py,sha256=eaQ87ZcMRRcxgzA-f7OO8HjjWhbE6L_edwvXiwFZvIQ,1291
|
450
450
|
osbot_utils/utils/Env.py,sha256=rBksAy6k-J5oAJp-S_JedVlcj1b2VK8V3zsQbacopMc,6076
|
451
451
|
osbot_utils/utils/Exceptions.py,sha256=KyOUHkXQ_6jDTq04Xm261dbEZuRidtsM4dgzNwSG8-8,389
|
452
|
-
osbot_utils/utils/Files.py,sha256=
|
452
|
+
osbot_utils/utils/Files.py,sha256=ODo5QtmhQW0l1Le9qSK231MSIHqzN8TqqN1SgNvQimM,23580
|
453
453
|
osbot_utils/utils/Functions.py,sha256=VoTrAbCHt6hulz6hVz3co8w2xoOS8wE04wyHc5_cC1c,3671
|
454
454
|
osbot_utils/utils/Http.py,sha256=cbymd0YJjflI0K0gfq_ie4Speq-Ugko753VCSlYZuf4,8101
|
455
455
|
osbot_utils/utils/Int.py,sha256=PmlUdU4lSwf4gJdmTVdqclulkEp7KPCVUDO6AcISMF4,116
|
@@ -469,8 +469,8 @@ osbot_utils/utils/Toml.py,sha256=grjWkVPIMVkawJ499FVIJKxQp8FJ2wcsd0Z3YIR4drM,114
|
|
469
469
|
osbot_utils/utils/Version.py,sha256=Ww6ChwTxqp1QAcxOnztkTicShlcx6fbNsWX5xausHrg,422
|
470
470
|
osbot_utils/utils/Zip.py,sha256=mG42lgTY0tnm14T3P1-DSAIZKkTiYoO3odZ1aOUdc1I,14394
|
471
471
|
osbot_utils/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
472
|
-
osbot_utils/version,sha256=
|
473
|
-
osbot_utils-2.
|
474
|
-
osbot_utils-2.
|
475
|
-
osbot_utils-2.
|
476
|
-
osbot_utils-2.
|
472
|
+
osbot_utils/version,sha256=qwiNjSxD3OqsUSFY0ezoeNZIUfvD-vn0S4zNzFmoc50,8
|
473
|
+
osbot_utils-2.83.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
474
|
+
osbot_utils-2.83.0.dist-info/METADATA,sha256=sKYHVqnqbtD8rlM8ZOCZTXN5ddMjIOM1TtneLGfAlcg,7918
|
475
|
+
osbot_utils-2.83.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
476
|
+
osbot_utils-2.83.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|