mayutils 1.2.1__tar.gz → 1.2.2__tar.gz

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.
Files changed (68) hide show
  1. {mayutils-1.2.1 → mayutils-1.2.2}/PKG-INFO +2 -1
  2. {mayutils-1.2.1 → mayutils-1.2.2}/pyproject.toml +2 -1
  3. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/__init__.py +1 -0
  4. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/interfaces/microsoft.py +30 -0
  5. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/datetime.py +4 -2
  6. mayutils-1.2.1/src/mayutils/.DS_Store +0 -0
  7. mayutils-1.2.1/src/mayutils/data/.DS_Store +0 -0
  8. mayutils-1.2.1/src/mayutils/data/queries/.DS_Store +0 -0
  9. mayutils-1.2.1/src/mayutils/scripts/.DS_Store +0 -0
  10. mayutils-1.2.1/src/mayutils/visualisation/.DS_Store +0 -0
  11. {mayutils-1.2.1 → mayutils-1.2.2}/LICENSE +0 -0
  12. {mayutils-1.2.1 → mayutils-1.2.2}/README.md +0 -0
  13. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/core/__init__.py +0 -0
  14. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/core/constants.py +0 -0
  15. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/__init__.py +0 -0
  16. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/analysis/__init__.py +0 -0
  17. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/cache/.gitkeep +0 -0
  18. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/live.py +0 -0
  19. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/local.py +0 -0
  20. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/queries/.gitkeep +0 -0
  21. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/queries/__init__.py +0 -0
  22. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/queries/examples/.gitkeep +0 -0
  23. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/data/read.py +0 -0
  24. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/__init__.py +0 -0
  25. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/benchmarking.py +0 -0
  26. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/databases.py +0 -0
  27. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/filesystem.py +0 -0
  28. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/logging.py +0 -0
  29. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/memoisation.py +0 -0
  30. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/oauth.py +0 -0
  31. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/environment/webdrivers.py +0 -0
  32. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/export/__init__.py +0 -0
  33. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/export/images.py +0 -0
  34. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/export/pdf.py +0 -0
  35. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/export/slides.py +0 -0
  36. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/interfaces/__init__.py +0 -0
  37. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/interfaces/google.py +0 -0
  38. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/interfaces/streamlit.py +0 -0
  39. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/mathematics/__init__.py +0 -0
  40. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/mathematics/numba.py +0 -0
  41. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/mathematics/numpy.py +0 -0
  42. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/__init__.py +0 -0
  43. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/classes.py +0 -0
  44. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/colours.py +0 -0
  45. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/dataframes.py +0 -0
  46. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/decorators.py +0 -0
  47. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/dictionaries.py +0 -0
  48. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/functions.py +0 -0
  49. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/hashing.py +0 -0
  50. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/numbers.py +0 -0
  51. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/strings.py +0 -0
  52. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/objects/types.py +0 -0
  53. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/scripts/__init__.py +0 -0
  54. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/scripts/clear_cache.py +0 -0
  55. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/scripts/versioning.py +0 -0
  56. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/testing/__init__.py +0 -0
  57. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/__init__.py +0 -0
  58. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/console.py +0 -0
  59. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/__init__.py +0 -0
  60. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/combine.py +0 -0
  61. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/matplotlib/__init__.py +0 -0
  62. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/matplotlib/template.py +0 -0
  63. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/plotly/__init__.py +0 -0
  64. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/plotly/charts.py +0 -0
  65. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/plotly/templates.py +0 -0
  66. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/plotly/traces.py +0 -0
  67. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/graphs/plotly/utilities.py +0 -0
  68. {mayutils-1.2.1 → mayutils-1.2.2}/src/mayutils/visualisation/notebook.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mayutils
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Utilities for Python from Mayuran Visakan
5
5
  Author: Mayuran Visakan
6
6
  Author-email: Mayuran Visakan <mayuran.k.v@gmail.com>
@@ -48,6 +48,7 @@ Requires-Dist: numba>=0.62.0rc1
48
48
  Requires-Dist: numpy>=2.3.2
49
49
  Requires-Dist: numpy-financial>=1.0.0
50
50
  Requires-Dist: pandas>=2.3.2
51
+ Requires-Dist: pandas-stubs>=2.3.2.250827
51
52
  Requires-Dist: pathlib>=1.0.1
52
53
  Requires-Dist: pendulum[test]>=3.1.0
53
54
  Requires-Dist: pillow>=11.3.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mayutils"
3
- version = "1.2.1"
3
+ version = "1.2.2"
4
4
  description = "Utilities for Python from Mayuran Visakan"
5
5
  authors = [
6
6
  { name = "Mayuran Visakan", email = "mayuran.k.v@gmail.com" }
@@ -32,6 +32,7 @@ dependencies = [
32
32
  "numpy>=2.3.2",
33
33
  "numpy-financial>=1.0.0",
34
34
  "pandas>=2.3.2",
35
+ "pandas-stubs>=2.3.2.250827",
35
36
  "pathlib>=1.0.1",
36
37
  "pendulum[test]>=3.1.0",
37
38
  "pillow>=11.3.0",
@@ -16,6 +16,7 @@ def setup(
16
16
  try:
17
17
  from mayutils.objects.dataframes import setup_dataframes
18
18
  from mayutils.visualisation.notebook import setup_notebooks
19
+ import mayutils.visualisation.graphs.plotly.templates # noqa: F401
19
20
 
20
21
  setup_notebooks()
21
22
  setup_dataframes()
@@ -49,6 +49,12 @@ class Presentation:
49
49
  len(self.internal.slide_layouts) - 1
50
50
  ]
51
51
 
52
+ # TODO: Implement display/__repr__/_repr_mimebundle_
53
+ # def __repr__(
54
+ # self,
55
+ # text: str,
56
+ # ) -> Self:
57
+
52
58
  @property
53
59
  def layouts(
54
60
  self,
@@ -89,6 +95,12 @@ class Presentation:
89
95
  ) -> None:
90
96
  self.internal.slide_width = value
91
97
 
98
+ # TODO: Implement
99
+ # @property
100
+ # def title(
101
+ # self,
102
+ # ) -> str:
103
+
92
104
  @property
93
105
  def slides(
94
106
  self,
@@ -306,6 +318,24 @@ class Presentation:
306
318
 
307
319
  return self
308
320
 
321
+ # TODO: Implement
322
+ # def insert_markdown(
323
+ # self,
324
+ # text: str,
325
+ # ) -> Self:
326
+
327
+ # TODO: Implement
328
+ # def insert_image(
329
+ # self,
330
+ # image_path: Path | str,
331
+ # ) -> Self:
332
+
333
+ # TODO: Implement
334
+ # def insert_table(
335
+ # self,
336
+ # table: DataFrame | Styler,
337
+ # ) -> Self:
338
+
309
339
  def save(
310
340
  self,
311
341
  file_path: Path | str,
@@ -390,13 +390,15 @@ class Interval(BaseInterval):
390
390
  def start(
391
391
  self,
392
392
  ) -> DateTime:
393
- return self._start if not (self._invert and self._absolute) else self._end
393
+ return DateTime.from_base(super().start)
394
+ # return self._start if not (self._invert and self._absolute) else self._end
394
395
 
395
396
  @property
396
397
  def end(
397
398
  self,
398
399
  ) -> DateTime:
399
- return self._end if not (self._invert and self._absolute) else self._start
400
+ return DateTime.from_base(super().end)
401
+ # return self._end if not (self._invert and self._absolute) else self._start
400
402
 
401
403
  @classmethod
402
404
  def from_base(
Binary file
Binary file
File without changes
File without changes