mmar-mapi 1.0.13__py3-none-any.whl → 1.0.14__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 mmar-mapi might be problematic. Click here for more details.

mmar_mapi/utils.py CHANGED
@@ -3,8 +3,10 @@ from collections.abc import Iterable
3
3
  from datetime import datetime
4
4
 
5
5
 
6
- def make_session_id() -> str:
7
- return f"{datetime.now():%Y-%m-%d--%H-%M-%S}"
6
+ def make_session_id(with_millis=False) -> str:
7
+ dt = datetime.now()
8
+ fmt = "%Y-%m-%d--%H-%M-%S-%f" if with_millis else "%Y-%m-%d--%H-%M-%S"
9
+ return datetime.now().strftime(fmt)
8
10
 
9
11
 
10
12
  def chunked(items: Iterable, n) -> list:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mmar-mapi
3
- Version: 1.0.13
3
+ Version: 1.0.14
4
4
  Summary: Common pure/IO utilities for multi-modal architectures team
5
5
  Keywords:
6
6
  Author: Eugene Tagin
@@ -9,10 +9,10 @@ mmar_mapi/models/enums.py,sha256=J-GNpql9MCnKnWiV9aJRQGI-pAybvV86923RZs99grA,100
9
9
  mmar_mapi/models/tracks.py,sha256=HKDp-BX1p7AlDfSEKfOKCu0TRSK9cD4Dmq1vJt8oRjw,307
10
10
  mmar_mapi/models/widget.py,sha256=ue5o4AkN8SG09aA8eQLOOxbwah-mkZir0ZGL6OA8S9Q,1355
11
11
  mmar_mapi/type_union.py,sha256=diwmzcnbqkpGFckPHNw9o8zyQ955mOGNvhTlcBJ0RMI,1905
12
- mmar_mapi/utils.py,sha256=oVrEAHGcfFBprwdTEzSbFCpdLtkDRVzWtOnYpS439os,394
12
+ mmar_mapi/utils.py,sha256=y4rLTdao9pr4lRLbMAVD4uDDPdxrDrDrhoAFDp1TkWk,500
13
13
  mmar_mapi/utils_import.py,sha256=GRCkiH0pIrl-xWo4rdxngcfuPzjfTIXA1rvDVxEZ3lI,1683
14
14
  mmar_mapi/xml_parser.py,sha256=VvLIX_XCZao9i0qqpTVx8nx0vbFXSe8pEbdJdXnj97g,568
15
- mmar_mapi-1.0.13.dist-info/licenses/LICENSE,sha256=2A90w8WjhOgQXnFuUijKJYazaqZ4_NTokYb9Po4y-9k,1061
16
- mmar_mapi-1.0.13.dist-info/WHEEL,sha256=lh7MMMfiuFQLQaR9J7pNBODdWf-aa5UOeuuDAol3xps,79
17
- mmar_mapi-1.0.13.dist-info/METADATA,sha256=RL69FMZhBNLdXf9VZi7ZM0-TAOYP7AhqQdRh1mHmB9E,944
18
- mmar_mapi-1.0.13.dist-info/RECORD,,
15
+ mmar_mapi-1.0.14.dist-info/licenses/LICENSE,sha256=2A90w8WjhOgQXnFuUijKJYazaqZ4_NTokYb9Po4y-9k,1061
16
+ mmar_mapi-1.0.14.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
17
+ mmar_mapi-1.0.14.dist-info/METADATA,sha256=dieMEsBeG7j9G66hC337sJ3VItDl-P3w5tAPkjREWKM,944
18
+ mmar_mapi-1.0.14.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.8.20
2
+ Generator: uv 0.8.22
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any