MapleX 3.2.0.dev1__py3-none-any.whl → 3.2.0.dev2__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.
maplex/__init__.py CHANGED
@@ -52,7 +52,7 @@ __all__ = [
52
52
  'winUnHide'
53
53
  ]
54
54
 
55
- __version__ = "3.2.0.dev1"
55
+ __version__ = "3.2.0.dev2"
56
56
  __author__ = "Ryuji Hazama"
57
57
  __license__ = "MIT"
58
58
 
@@ -60,10 +60,7 @@ class LoggerConfig(BaseModel):
60
60
  try:
61
61
 
62
62
  super().__init__(**config)
63
-
64
- print("Initializing logger config...")
65
63
  self.consoleColors = getConsoleColors()
66
-
67
64
  self.logConfInstance = self.checkConfigFile(config.get(CONFIG_FILE, self.configFile))
68
65
  self.checkOutputDirectory(config.get(WORKING_DIRECTORY, None))
69
66
  self.setLogFileName(config.get(FILE_MODE, "append"))
@@ -38,4 +38,6 @@ __all__ = [
38
38
  "CONSOLE_FORMAT",
39
39
  "TIMESTAMP_FORMAT",
40
40
  "MILLISECOND_DIGITS",
41
+ "FILE_MODE_OVERWRITE",
42
+ "FILE_MODE_DAILY",
41
43
  ]
@@ -1,4 +1,6 @@
1
1
  FILE_FORMAT = '({pid}) {timestamp} [{level}]{func} {callerName}{callerFunc}({callerLine})'
2
2
  CONSOLE_FORMAT = '[{level}]{func} {callerFunc}{callerLine}'
3
3
  TIMESTAMP_FORMAT = "%F %X.%f"
4
- MILLISECOND_DIGITS = None
4
+ MILLISECOND_DIGITS = None
5
+ FILE_MODE_OVERWRITE = 'overwrite'
6
+ FILE_MODE_DAILY = 'daily'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MapleX
3
- Version: 3.2.0.dev1
3
+ Version: 3.2.0.dev2
4
4
  Summary: A Python library for simple logging, json file operations, Maple file format operations, and console color utilities.
5
5
  Author: Ryuji Hazama
6
6
  Project-URL: PyPI, https://pypi.org/project/MapleX/
@@ -16,8 +16,8 @@ Classifier: Operating System :: OS Independent
16
16
  Requires-Python: >=3.12
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
- Requires-Dist: cryptography>=46.0.3
20
- Requires-Dist: pydantic>=2.12.5
19
+ Requires-Dist: cryptography>=49.0.0
20
+ Requires-Dist: pydantic>=2.13.4
21
21
  Dynamic: license-file
22
22
 
23
23
  # MapleX
@@ -1,4 +1,4 @@
1
- maplex/__init__.py,sha256=o8kBujHfJpLcdIineAuXkYCbcLp8Bk09aTiaZR3w0v0,1881
1
+ maplex/__init__.py,sha256=3ZCEFj5gXyDW4h06Sa39QLsLJd8dJN3mMGPnmsUoQUI,1881
2
2
  maplex/jsonHandler.py,sha256=HZ4uCUMzs2oaAYWgInc6gzo960q46e7IOk7tTMzqdAE,7445
3
3
  maplex/mapleColors.py,sha256=ASg-GstHkyXsq4mVMuFz8Qaq3nQeFayQWcCy9iHzjTs,1543
4
4
  maplex/mapleExceptions.py,sha256=zN-GLYNGSWalQ8GiFH-BxRzYhSfbv6V-1O3cA46yAUo,4924
@@ -6,17 +6,17 @@ maplex/mapleLogger.py,sha256=M7djSjf2ZxQP8lWeuLCiDlCP4ALt2NQproO7ybgX3gM,10819
6
6
  maplex/mapleTreeEditor.py,sha256=5596bARJWHXyGUeXWRYx9lKSfaZdBmGQLvkF_OiKzZ0,29249
7
7
  maplex/utils.py,sha256=TcUdfn9uhk9zwMTxtWgsZ1ZKdc2_i0ysgrksMbzvX1I,603
8
8
  maplex/library/logger/__init__.py,sha256=SXTK3CieuahEa-6-eE-JGb6TwxgS7xyMaOjE5PspDbk,447
9
- maplex/library/logger/config.py,sha256=Pnar_GCKeQu34I1lB5UgFtR7cD8rDryVdclo4vUDqdk,14674
9
+ maplex/library/logger/config.py,sha256=FkwzcYGXvAZIrVtHWGSIjExsLd_GDwxFqKmSmdNbJyA,14621
10
10
  maplex/library/logger/file_handler.py,sha256=nbBTTNl_-iq2i0ooV6tpCP7JbfTiWvqoFkY0QF6vir8,2740
11
11
  maplex/library/logger/formatter.py,sha256=aHPk-56uIcEGsHml2Fb1VwI9l97cll0bn_n1gRhs50k,7400
12
12
  maplex/library/logger/log_levels.py,sha256=q4NpokbM6vEabLC7OS-JHZgnhbDROk0yHa5-uM3t_Uw,186
13
13
  maplex/library/logger/utilities.py,sha256=-IIPsvrebE4K2fP0fIHT-D55463Zkq3M4SlD0dEZINI,2874
14
- maplex/library/logger/consts/__init__.py,sha256=VqgAiXn96ZB8xvL4HVtkanX03BDPw_kIU0Q4bQMtwIA,815
14
+ maplex/library/logger/consts/__init__.py,sha256=_C16zebMU2ac0UdIB96S5j8__qLL4cYh8LQ9TAdFb_I,865
15
15
  maplex/library/logger/consts/config_keys.py,sha256=qMBJTMSVerprRrgP86sAmmfPF5IyHGsoBFZTW9uqbjU,486
16
- maplex/library/logger/consts/defaults.py,sha256=LvD7MjyTcwWxUfITTM4rGPp-Z6RNWzrjgubYJaISfFo,206
16
+ maplex/library/logger/consts/defaults.py,sha256=sI5dwexy4BBWq6fNwFfPrkWeWuT5OcCMnhM_8i7vo0g,266
17
17
  maplex/library/logger/consts/dict_keys.py,sha256=7cDArmYjVn4t9pniT6csV6ByEKmV8Z4SlB-pWFRRgCw,317
18
- maplex-3.2.0.dev1.dist-info/licenses/LICENSE,sha256=M7R85ReZ2srvowIPO_c9sHI3DV7QmxnLH93esXVhwGI,1068
19
- maplex-3.2.0.dev1.dist-info/METADATA,sha256=5-7EqopEVWlc0ku4P4jD6a_01WasrYisNlZd8WMrccE,7389
20
- maplex-3.2.0.dev1.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
21
- maplex-3.2.0.dev1.dist-info/top_level.txt,sha256=ME8uFV82K0y0KYJrHVTMgc0hEBV67iXXUKsvom7BO5g,7
22
- maplex-3.2.0.dev1.dist-info/RECORD,,
18
+ maplex-3.2.0.dev2.dist-info/licenses/LICENSE,sha256=M7R85ReZ2srvowIPO_c9sHI3DV7QmxnLH93esXVhwGI,1068
19
+ maplex-3.2.0.dev2.dist-info/METADATA,sha256=CP3vWjpTPg6h7YkxSdLPsBVLMKayY9kdpfhSkF40IGQ,7389
20
+ maplex-3.2.0.dev2.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
21
+ maplex-3.2.0.dev2.dist-info/top_level.txt,sha256=ME8uFV82K0y0KYJrHVTMgc0hEBV67iXXUKsvom7BO5g,7
22
+ maplex-3.2.0.dev2.dist-info/RECORD,,