rephorm 1.1.0__tar.gz → 1.1.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 (80) hide show
  1. {rephorm-1.1.0/src/rephorm.egg-info → rephorm-1.1.2}/PKG-INFO +5 -5
  2. {rephorm-1.1.0 → rephorm-1.1.2}/pyproject.toml +6 -6
  3. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/__init__.py +1 -1
  4. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/chart_mapper.py +1 -1
  5. {rephorm-1.1.0 → rephorm-1.1.2/src/rephorm.egg-info}/PKG-INFO +5 -5
  6. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm.egg-info/SOURCES.txt +2 -1
  7. rephorm-1.1.2/src/rephorm.egg-info/requires.txt +7 -0
  8. rephorm-1.1.2/tests/testing1.py +27 -0
  9. rephorm-1.1.0/src/rephorm.egg-info/requires.txt +0 -11
  10. {rephorm-1.1.0 → rephorm-1.1.2}/LICENSE +0 -0
  11. {rephorm-1.1.0 → rephorm-1.1.2}/README.md +0 -0
  12. {rephorm-1.1.0 → rephorm-1.1.2}/setup.cfg +0 -0
  13. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/decorators/__init__.py +0 -0
  14. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/decorators/settings_validation.py +0 -0
  15. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/dict/__init__.py +0 -0
  16. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/dict/colors.py +0 -0
  17. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/dict/legend_positions.py +0 -0
  18. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/dict/styles.py +0 -0
  19. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/dict/update_layout.py +0 -0
  20. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/dict/update_traces.py +0 -0
  21. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/__init__.py +0 -0
  22. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/_globals.py +0 -0
  23. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/_utilities/__init__.py +0 -0
  24. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/_utilities/chart_mapper_utility.py +0 -0
  25. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/_utilities/grid_mapper_utility.py +0 -0
  26. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/_utilities/table_mapper_utility.py +0 -0
  27. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/chapter_mapper.py +0 -0
  28. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/chart_series_mapper.py +0 -0
  29. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/grid_mapper.py +0 -0
  30. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/page_break_mapper.py +0 -0
  31. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/report_mapper.py +0 -0
  32. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/table_mapper.py +0 -0
  33. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/table_section_mapper.py +0 -0
  34. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/table_series_mapper.py +0 -0
  35. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_mappers/text_mapper.py +0 -0
  36. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_params/__init__.py +0 -0
  37. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/object_params/settings.py +0 -0
  38. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/__init__.py +0 -0
  39. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/_utilities/__init__.py +0 -0
  40. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/_utilities/settings_container.py +0 -0
  41. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/chapter.py +0 -0
  42. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/chart.py +0 -0
  43. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/chart_series.py +0 -0
  44. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/footnote.py +0 -0
  45. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/grid.py +0 -0
  46. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/page_break.py +0 -0
  47. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/report.py +0 -0
  48. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/table.py +0 -0
  49. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/table_section.py +0 -0
  50. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/table_series.py +0 -0
  51. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/objects/text.py +0 -0
  52. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/PDF.py +0 -0
  53. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/__init__.py +0 -0
  54. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/add_style_prefix.py +0 -0
  55. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/fonts/OpenSans-Bold.ttf +0 -0
  56. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/fonts/OpenSans-BoldItalic.ttf +0 -0
  57. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/fonts/OpenSans-Italic.ttf +0 -0
  58. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/fonts/OpenSans.ttf +0 -0
  59. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/fonts/__init__.py +0 -0
  60. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/fonts/font_loading.py +0 -0
  61. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/is_set.py +0 -0
  62. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/merge/__init__.py +0 -0
  63. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/merge/chart_properties_manager.py +0 -0
  64. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/merge/merge_settings.py +0 -0
  65. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/merge/merge_styles.py +0 -0
  66. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/merge/pdf_merger.py +0 -0
  67. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/__init__.py +0 -0
  68. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/add_footnotes.py +0 -0
  69. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/cleanup_utility.py +0 -0
  70. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/footnotes_counter.py +0 -0
  71. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/image_utility.py +0 -0
  72. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/layout_utility.py +0 -0
  73. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/range_utility.py +0 -0
  74. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/report_utility.py +0 -0
  75. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/resolve_color.py +0 -0
  76. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/table_utility.py +0 -0
  77. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/report/title_utility.py +0 -0
  78. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm/utility/unit_converter.py +0 -0
  79. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm.egg-info/dependency_links.txt +0 -0
  80. {rephorm-1.1.0 → rephorm-1.1.2}/src/rephorm.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rephorm
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Python package for generating PDF reports through code
5
5
  Author-email: OGResearch <it@ogresearch.com>
6
6
  Maintainer-email: Sergey Plotnikov <sergey.plotnikov@ogresearch.com>, Martynas Vycas <martynas.vycas@ogresearch.com>
@@ -32,13 +32,13 @@ Classifier: Operating System :: OS Independent
32
32
  Requires-Python: >=3.12
33
33
  Description-Content-Type: text/markdown
34
34
  License-File: LICENSE
35
- Requires-Dist: irispie==0.61.0
36
- Requires-Dist: fpdf2==2.7.9
35
+ Requires-Dist: plotly==6.3.1
36
+ Requires-Dist: irispie>=0.68.1
37
+ Requires-Dist: fpdf2==2.8.4
37
38
  Requires-Dist: PyMuPDF==1.25.1
38
39
  Requires-Dist: twine==6.1.0
39
40
  Requires-Dist: pkginfo==1.12.1.2
40
- Requires-Dist: kaleido==0.1.0post1; platform_system == "Windows"
41
- Requires-Dist: kaleido==0.2.1; platform_system != "Windows"
41
+ Requires-Dist: kaleido==1.1.0
42
42
  Dynamic: license-file
43
43
 
44
44
  Rephorm is a Python package for generating PDF reports through code. It builds on the capabilities of fpdf2 for PDF
@@ -1,5 +1,5 @@
1
1
  [bumpver]
2
- current_version = "1.1.0"
2
+ current_version = "1.1.2"
3
3
  version_pattern = "MAJOR.MINOR.PATCH[.TAGNUM]"
4
4
  tag_regex = "^{version}$"
5
5
 
@@ -17,7 +17,7 @@ build-backend = "setuptools.build_meta"
17
17
 
18
18
  [project]
19
19
  name = "rephorm"
20
- version = "1.1.0"
20
+ version = "1.1.2"
21
21
  description = "Python package for generating PDF reports through code"
22
22
  authors = [
23
23
  { name = "OGResearch", email = "it@ogresearch.com" }
@@ -30,13 +30,13 @@ license = { file = "LICENSE" }
30
30
  readme = "README.md"
31
31
  requires-python = ">=3.12"
32
32
  dependencies = [
33
- "irispie == 0.61.0",
34
- "fpdf2 == 2.7.9",
33
+ "plotly == 6.3.1",
34
+ "irispie >= 0.68.1",
35
+ "fpdf2 == 2.8.4",
35
36
  "PyMuPDF == 1.25.1",
36
37
  "twine == 6.1.0",
37
38
  "pkginfo == 1.12.1.2",
38
- 'kaleido == 0.1.0post1; platform_system == "Windows"',
39
- 'kaleido == 0.2.1; platform_system != "Windows"'
39
+ "kaleido == 1.1.0"
40
40
  ]
41
41
 
42
42
  classifiers = [
@@ -11,7 +11,7 @@ from rephorm.objects.footnote import Footnote
11
11
  from rephorm.objects.chart_series import ChartSeries
12
12
  from rephorm.objects.table_series import TableSeries
13
13
 
14
- __version__ = "1.1.0"
14
+ __version__ = "1.1.2"
15
15
  __author__ = 'OGResearch team'
16
16
  __credits__ = 'OGResearch'
17
17
  __license__ = 'Copyright 2025 OGResearch, all rights reserved'
@@ -109,7 +109,7 @@ class ChartMapper:
109
109
  # span.end.to_python_date(position="end")]
110
110
 
111
111
  if self.chart.settings.highlight is not None:
112
- irispie.plotly.highlight(self.figure, self.chart._get_highlight(),
112
+ irispie.ez_plotly.highlight(self.figure, self.chart._get_highlight(),
113
113
  color=resolve_highlight_color(
114
114
  self.chart.settings.styles["chart"]["highlight_color"], alpha=0.25))
115
115
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rephorm
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Python package for generating PDF reports through code
5
5
  Author-email: OGResearch <it@ogresearch.com>
6
6
  Maintainer-email: Sergey Plotnikov <sergey.plotnikov@ogresearch.com>, Martynas Vycas <martynas.vycas@ogresearch.com>
@@ -32,13 +32,13 @@ Classifier: Operating System :: OS Independent
32
32
  Requires-Python: >=3.12
33
33
  Description-Content-Type: text/markdown
34
34
  License-File: LICENSE
35
- Requires-Dist: irispie==0.61.0
36
- Requires-Dist: fpdf2==2.7.9
35
+ Requires-Dist: plotly==6.3.1
36
+ Requires-Dist: irispie>=0.68.1
37
+ Requires-Dist: fpdf2==2.8.4
37
38
  Requires-Dist: PyMuPDF==1.25.1
38
39
  Requires-Dist: twine==6.1.0
39
40
  Requires-Dist: pkginfo==1.12.1.2
40
- Requires-Dist: kaleido==0.1.0post1; platform_system == "Windows"
41
- Requires-Dist: kaleido==0.2.1; platform_system != "Windows"
41
+ Requires-Dist: kaleido==1.1.0
42
42
  Dynamic: license-file
43
43
 
44
44
  Rephorm is a Python package for generating PDF reports through code. It builds on the capabilities of fpdf2 for PDF
@@ -73,4 +73,5 @@ src/rephorm/utility/report/range_utility.py
73
73
  src/rephorm/utility/report/report_utility.py
74
74
  src/rephorm/utility/report/resolve_color.py
75
75
  src/rephorm/utility/report/table_utility.py
76
- src/rephorm/utility/report/title_utility.py
76
+ src/rephorm/utility/report/title_utility.py
77
+ tests/testing1.py
@@ -0,0 +1,7 @@
1
+ plotly==6.3.1
2
+ irispie>=0.68.1
3
+ fpdf2==2.8.4
4
+ PyMuPDF==1.25.1
5
+ twine==6.1.0
6
+ pkginfo==1.12.1.2
7
+ kaleido==1.1.0
@@ -0,0 +1,27 @@
1
+ import irispie as ir
2
+ import numpy as np
3
+
4
+ def main():
5
+ out = ir.Series(periods=ir.qq(2023, 1) >> ir.qq(2025, 4), values=np.random.normal(0, 10, 12)).plot(return_info=True, show_figure=False,)
6
+ out["figure"].update_layout(
7
+ {"title": {
8
+ "text": "Hello world",
9
+ },
10
+ "xaxis": {
11
+ "ticks": "inside",
12
+ "tickcolor": "black",
13
+ "linewidth": 1,
14
+ "tickwidth": 1,
15
+ "tickmode": "sync",
16
+ "showline": True,
17
+ "ticklabel": "Period",
18
+ "linecolor": "black"
19
+ }
20
+ }
21
+ )
22
+
23
+ out["figure"].show()
24
+
25
+
26
+ if __name__ == "__main__":
27
+ main()
@@ -1,11 +0,0 @@
1
- irispie==0.61.0
2
- fpdf2==2.7.9
3
- PyMuPDF==1.25.1
4
- twine==6.1.0
5
- pkginfo==1.12.1.2
6
-
7
- [:platform_system != "Windows"]
8
- kaleido==0.2.1
9
-
10
- [:platform_system == "Windows"]
11
- kaleido==0.1.0post1
File without changes
File without changes
File without changes