mapres 2.4.dev3__py3-none-any.whl → 2.4.dev4__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.
mapres/datamap.py CHANGED
@@ -39,7 +39,7 @@ def datamap(
39
39
  _cls = None,
40
40
  *,
41
41
  syntax: str = syntax.braces,
42
- mode: bool | None = None,
42
+ mode: bool | str | None = None,
43
43
  ):
44
44
  '''@datamap decorator with optional values'''
45
45
  def wrap(cls):
mapres/maps/time.py CHANGED
@@ -14,20 +14,20 @@ def safe_zoneinfo(tz: str):
14
14
  class TimeMap:
15
15
  _default_tz = safe_zoneinfo("America/Chicago")
16
16
 
17
- hh: str = None
18
- h: str = None
19
- h12: str = None
20
- hh12: str = None
21
- ampm: str = None
22
- mm: str = None
23
- m: str = None
24
- ss: str = None
25
- s: str = None
26
- ms: str = None
27
- YYYY: str = None
28
- MM: str = None
29
- DD: str = None
30
- weekday: str = None
17
+ hh: str | None = None
18
+ h: str | None = None
19
+ h12: str | None = None
20
+ hh12: str | None = None
21
+ ampm: str | None = None
22
+ mm: str | None = None
23
+ m: str | None = None
24
+ ss: str | None = None
25
+ s: str | None = None
26
+ ms: str | None = None
27
+ YYYY: str | None = None
28
+ MM: str | None = None
29
+ DD: str | None = None
30
+ weekday: str | None = None
31
31
 
32
32
  def __init__(self, tz: str | None = None):
33
33
  self.TZ = safe_zoneinfo(tz) if tz else self._default_tz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 2.4.dev3
3
+ Version: 2.4.dev4
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
@@ -1,14 +1,14 @@
1
1
  mapres/__init__.py,sha256=iqd3OU-FM-khP0CgAOA1-L9soq-lNLUAXT7WNU_Dh8I,974
2
2
  mapres/cache.py,sha256=hbvsoc6Qw3RhWAEfOOpKHtC7i9EomoUgWzyd4dnH71w,333
3
- mapres/datamap.py,sha256=JK86ku6mFSreLz3W8lAMOR76AixMa4Ykn8XBXLmVMJE,2037
3
+ mapres/datamap.py,sha256=Y1Xlib5-b6KPeH7QynOItE1bk89ITiy14L9NuqpUf5A,2043
4
4
  mapres/exceptions.py,sha256=jirHKK5yCffSCWWkgZY_gTSIOaFCmXOe5NJJf60HeeQ,130
5
5
  mapres/layers.py,sha256=BPHbc8Bh4VxyphtP60acGoXDCYQcrW4bZRFsOk-5gug,1070
6
6
  mapres/resolver.py,sha256=uXE1e4EjZclIzehAhwugwT2S8RmoxvKH4a5-zfelFIc,6021
7
7
  mapres/maps/__init__.py,sha256=lIRRfem1Fw4iynuwUQ7BY5qrC4fbJKxqLivao2_Dtm4,239
8
8
  mapres/maps/color.py,sha256=sHLHgVmO2BFmx1EK5E78-tMHvB8oxbjJplAaVb1JNFQ,1545
9
- mapres/maps/time.py,sha256=_K3sS2z-cqTAe5dlpXJ_bILFgbO0m2eFR_0GGZq-rSo,1983
10
- mapres-2.4.dev3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
11
- mapres-2.4.dev3.dist-info/METADATA,sha256=6i9C3RZgMOM6kHkDqg774AqvF6o7-6ieuI_SwJVtc50,1477
12
- mapres-2.4.dev3.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
13
- mapres-2.4.dev3.dist-info/top_level.txt,sha256=5LMVQqJdtyjxfzv7wJBOZ-360m0Yc79w_-Y7s3n6cTw,7
14
- mapres-2.4.dev3.dist-info/RECORD,,
9
+ mapres/maps/time.py,sha256=aC290F-B4stnFdKGHpWLqTsT6gPPOyxR18ZZuJZT_Nk,2081
10
+ mapres-2.4.dev4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
11
+ mapres-2.4.dev4.dist-info/METADATA,sha256=bvLBJceLb2WXlzExPWKxs6wNm5dF8M8RZPrAN5XmB20,1477
12
+ mapres-2.4.dev4.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
13
+ mapres-2.4.dev4.dist-info/top_level.txt,sha256=5LMVQqJdtyjxfzv7wJBOZ-360m0Yc79w_-Y7s3n6cTw,7
14
+ mapres-2.4.dev4.dist-info/RECORD,,