Habiticalib 0.3.1__py3-none-any.whl → 0.3.2__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.
habiticalib/const.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """Constants for Habiticalib."""
2
2
 
3
- __version__ = "0.3.1"
3
+ __version__ = "0.3.2"
4
4
 
5
5
  DEFAULT_URL = "https://habitica.com/"
6
6
  ASSETS_URL = "https://habitica-assets.s3.amazonaws.com/mobileApp/images/"
habiticalib/types.py CHANGED
@@ -842,6 +842,15 @@ class Reminders:
842
842
  startDate: datetime | None = None
843
843
 
844
844
 
845
+ @dataclass(kw_only=True)
846
+ class Checklist:
847
+ """Task checklist data."""
848
+
849
+ id: UUID
850
+ text: str
851
+ completed: bool
852
+
853
+
845
854
  class TaskType(StrEnum):
846
855
  """Task types enum."""
847
856
 
@@ -881,7 +890,7 @@ class Task(TypedDict("Task", {"type": NotRequired[TaskType]}), total=True):
881
890
  date: NotRequired[datetime | dt.date | None]
882
891
  priority: NotRequired[TaskPriority]
883
892
  reminders: NotRequired[list[Reminders]]
884
- checklist: NotRequired[list[str]]
893
+ checklist: NotRequired[list[Checklist]]
885
894
  up: NotRequired[bool]
886
895
  down: NotRequired[bool]
887
896
  counterUp: NotRequired[int]
@@ -935,7 +944,7 @@ class TaskData:
935
944
  yesterDaily: bool | None = None
936
945
  completed: bool | None = None
937
946
  collapseChecklist: bool = False
938
- checklist: list[str] = field(default_factory=list)
947
+ checklist: list[Checklist] = field(default_factory=list)
939
948
  isDue: bool | None = None
940
949
  repeat: Repeat = field(default_factory=Repeat)
941
950
 
@@ -1,11 +1,12 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: Habiticalib
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Asynchronous Python client library for the Habitica API
5
5
  Project-URL: Documentation, https://tr4nt0r.github.io/habiticalib/
6
6
  Project-URL: Source, https://github.com/tr4nt0r/habiticalib
7
7
  Author-email: Manfred Dennerlein Rodelo <manfred@dennerlein.name>
8
8
  License: MIT License
9
+ License-File: LICENSE
9
10
  Classifier: License :: OSI Approved :: MIT License
10
11
  Classifier: Operating System :: OS Independent
11
12
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -0,0 +1,11 @@
1
+ habiticalib/__init__.py,sha256=4R9cHRWgKBakoUfouQ8x-5Q1psHnFayj88-exKCLYnE,2327
2
+ habiticalib/const.py,sha256=oVV6SvHxkvrLWD609IAcplC1Jjq9qho9DsXkv6VUJag,624
3
+ habiticalib/exceptions.py,sha256=oVFCGbHkVn0UpIKIPZPzXfvzs9US4R05ebdEn6cOpqM,1350
4
+ habiticalib/helpers.py,sha256=IRZLYWkDVLI0iVBgBMmvZ6L83KCUl-CnzGhUR_tP6Fg,4576
5
+ habiticalib/lib.py,sha256=sH0L33VspxC6gVcpsYcryCXlViwwIVTc3zuTZ3V9wnU,73527
6
+ habiticalib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ habiticalib/types.py,sha256=YcMdZsB0jXL2_t7eYuD3-84qEl18arK1gRWBCA5quLQ,42818
8
+ habiticalib-0.3.2.dist-info/METADATA,sha256=_tuam7yUeLxcpy5QhmXvRfAz1X2bknmKLTAU83S3Hj8,4207
9
+ habiticalib-0.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ habiticalib-0.3.2.dist-info/licenses/LICENSE,sha256=oIinIOSJ49l1iVIRI3XGXFWt6SF7a83kEFBAY8ORwNI,1084
11
+ habiticalib-0.3.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.26.3
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,11 +0,0 @@
1
- habiticalib/__init__.py,sha256=4R9cHRWgKBakoUfouQ8x-5Q1psHnFayj88-exKCLYnE,2327
2
- habiticalib/const.py,sha256=G9soiSAN2cSqr4kyCPYIT0_rL2-rywCHZxVbMyfxoo4,624
3
- habiticalib/exceptions.py,sha256=oVFCGbHkVn0UpIKIPZPzXfvzs9US4R05ebdEn6cOpqM,1350
4
- habiticalib/helpers.py,sha256=IRZLYWkDVLI0iVBgBMmvZ6L83KCUl-CnzGhUR_tP6Fg,4576
5
- habiticalib/lib.py,sha256=sH0L33VspxC6gVcpsYcryCXlViwwIVTc3zuTZ3V9wnU,73527
6
- habiticalib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- habiticalib/types.py,sha256=u9InULoGZUqd3lbmAD10DO7d7EjlLAoHFUAdcc8W38c,42683
8
- habiticalib-0.3.1.dist-info/METADATA,sha256=NECOcfoSyRlMnT2e1XGtvwfV7wZuUuGoHSr-ofesBYU,4185
9
- habiticalib-0.3.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
10
- habiticalib-0.3.1.dist-info/licenses/LICENSE,sha256=oIinIOSJ49l1iVIRI3XGXFWt6SF7a83kEFBAY8ORwNI,1084
11
- habiticalib-0.3.1.dist-info/RECORD,,