tesorotools-python 0.0.22__tar.gz → 0.0.24__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 (61) hide show
  1. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24}/PKG-INFO +4 -4
  2. tesorotools_python-0.0.24/pyproject.toml +63 -0
  3. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/artists/barh_plot.py +513 -472
  4. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/artists/line_plot.py +284 -245
  5. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/artists/table.py +225 -200
  6. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/artists/type_curve.py +238 -218
  7. tesorotools_python-0.0.24/src/tesorotools/convert.py +109 -0
  8. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/data_sources/debug.py +27 -26
  9. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/data_sources/lseg.py +111 -117
  10. tesorotools_python-0.0.24/src/tesorotools/database/__init__.py +11 -0
  11. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/database/local.py +54 -46
  12. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/database/push.py +21 -22
  13. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/dependencies/node.py +5 -4
  14. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/dependencies/resolution.py +127 -118
  15. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/main.py +37 -37
  16. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/offsets/offsets.py +459 -439
  17. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/images.py +152 -147
  18. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/section.py +53 -53
  19. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/subtitle.py +56 -53
  20. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/table.py +355 -325
  21. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/text.py +21 -23
  22. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/title.py +41 -40
  23. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/report.py +31 -31
  24. tesorotools_python-0.0.24/src/tesorotools/utils/__init__.py +3 -0
  25. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/utils/config.py +38 -35
  26. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/utils/format.py +8 -8
  27. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/utils/matplotlib.py +38 -38
  28. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/utils/series.py +44 -40
  29. tesorotools_python-0.0.24/src/tesorotools/utils/shortcuts.py +35 -0
  30. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/utils/template.py +16 -10
  31. tesorotools_python-0.0.22/pyproject.toml +0 -30
  32. tesorotools_python-0.0.22/tesorotools/convert.py +0 -99
  33. tesorotools_python-0.0.22/tesorotools/database/__init__.py +0 -1
  34. tesorotools_python-0.0.22/tesorotools/utils/__init__.py +0 -3
  35. tesorotools_python-0.0.22/tesorotools/utils/shortcuts.py +0 -31
  36. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24}/.gitignore +0 -0
  37. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/__init__.py +0 -0
  38. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/artists/__init__.py +0 -0
  39. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/artists/barh.md +0 -0
  40. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/README.md +0 -0
  41. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Black.otf +0 -0
  42. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Bold.otf +0 -0
  43. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Extrabold.otf +0 -0
  44. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Extralight.otf +0 -0
  45. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Light.otf +0 -0
  46. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Medium.otf +0 -0
  47. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Regular.otf +0 -0
  48. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/CabinetGrotesk-Thin.otf +0 -0
  49. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/fonts/README.md +0 -0
  50. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/plots.yaml +0 -0
  51. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/assets/tesoro.mplstyle +0 -0
  52. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/data_sources/README.md +0 -0
  53. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/data_sources/__init__.py +0 -0
  54. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/dependencies/__init__.py +0 -0
  55. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/dependencies/functions.py +0 -0
  56. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/offsets/__init__.py +0 -0
  57. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/offsets/outliers.py +0 -0
  58. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/__init__.py +0 -0
  59. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/__init__.py +0 -0
  60. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/render/content/content.py +0 -0
  61. {tesorotools_python-0.0.22 → tesorotools_python-0.0.24/src}/tesorotools/utils/globals.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tesorotools-python
3
- Version: 0.0.22
3
+ Version: 0.0.24
4
4
  Requires-Python: >=3.13
5
5
  Requires-Dist: babel
6
6
  Requires-Dist: eikon
@@ -8,9 +8,9 @@ Requires-Dist: lseg-data
8
8
  Requires-Dist: matplotlib
9
9
  Requires-Dist: openpyxl
10
10
  Requires-Dist: pandas
11
- Requires-Dist: psycopg2
11
+ Requires-Dist: psycopg[binary]
12
12
  Requires-Dist: pyarrow
13
13
  Requires-Dist: python-docx
14
- Requires-Dist: pywin32>=311; sys_platform != 'linux'
14
+ Requires-Dist: pywin32>=311; sys_platform == 'win32'
15
15
  Requires-Dist: pyyaml
16
- Requires-Dist: sqlalchemy
16
+ Requires-Dist: sqlalchemy>=2.0
@@ -0,0 +1,63 @@
1
+ [project]
2
+ name = "tesorotools-python"
3
+ requires-python = ">=3.13"
4
+ version = "0.0.24"
5
+ dependencies = [
6
+ # database and ORM
7
+ "psycopg[binary]",
8
+ "SQLAlchemy>=2.0",
9
+
10
+ # data analysis
11
+ "pandas",
12
+ "pyarrow",
13
+ "openpyxl",
14
+
15
+ # utils
16
+ "PyYAML",
17
+ "babel",
18
+ "eikon",
19
+ "lseg-data",
20
+
21
+ # data visualization
22
+ "matplotlib",
23
+ "python-docx",
24
+
25
+ # os dependencies
26
+ "pywin32>=311; sys_platform == 'win32'"
27
+ ]
28
+
29
+ [dependency-groups]
30
+ dev = [
31
+ "ruff>=0.8",
32
+ "pyright>=1.1",
33
+ "pre-commit>=4.0",
34
+ "pandas-stubs>=2.2",
35
+ "coverage>=7.0",
36
+ ]
37
+
38
+ [build-system]
39
+ requires = ["hatchling"]
40
+ build-backend = "hatchling.build"
41
+
42
+ [tool.hatch.build.targets.wheel]
43
+ packages = ["src/tesorotools"]
44
+ artifacts = ["src/tesorotools/assets/fonts/*.otf"]
45
+
46
+ [tool.hatch.build.targets.sdist]
47
+ include = ["src/tesorotools"]
48
+ artifacts = ["src/tesorotools/assets/fonts/*.otf"]
49
+
50
+ [tool.coverage.report]
51
+ exclude_lines = [
52
+ 'if __name__ == "__main__"',
53
+ '^\s*\.\.\.$',
54
+ 'if TYPE_CHECKING',
55
+ ]
56
+
57
+ [tool.ruff]
58
+ line-length = 80
59
+
60
+ [tool.pyright]
61
+ pythonVersion = "3.13"
62
+ extraPaths = ["src"]
63
+ typeCheckingMode = "strict"