rephorm 1.1.2__tar.gz → 1.1.3__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.2/src/rephorm.egg-info → rephorm-1.1.3}/PKG-INFO +7 -4
  2. {rephorm-1.1.2 → rephorm-1.1.3}/pyproject.toml +8 -6
  3. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/__init__.py +1 -1
  4. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/chart_mapper.py +2 -2
  5. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_params/settings.py +4 -5
  6. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/chart_series.py +1 -1
  7. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/table_series.py +1 -1
  8. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/table_utility.py +5 -5
  9. {rephorm-1.1.2 → rephorm-1.1.3/src/rephorm.egg-info}/PKG-INFO +7 -4
  10. rephorm-1.1.3/src/rephorm.egg-info/requires.txt +13 -0
  11. rephorm-1.1.2/src/rephorm.egg-info/requires.txt +0 -7
  12. {rephorm-1.1.2 → rephorm-1.1.3}/LICENSE +0 -0
  13. {rephorm-1.1.2 → rephorm-1.1.3}/README.md +0 -0
  14. {rephorm-1.1.2 → rephorm-1.1.3}/setup.cfg +0 -0
  15. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/decorators/__init__.py +0 -0
  16. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/decorators/settings_validation.py +0 -0
  17. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/dict/__init__.py +0 -0
  18. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/dict/colors.py +0 -0
  19. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/dict/legend_positions.py +0 -0
  20. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/dict/styles.py +0 -0
  21. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/dict/update_layout.py +0 -0
  22. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/dict/update_traces.py +0 -0
  23. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/__init__.py +0 -0
  24. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/_globals.py +0 -0
  25. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/_utilities/__init__.py +0 -0
  26. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/_utilities/chart_mapper_utility.py +0 -0
  27. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/_utilities/grid_mapper_utility.py +0 -0
  28. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/_utilities/table_mapper_utility.py +0 -0
  29. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/chapter_mapper.py +0 -0
  30. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/chart_series_mapper.py +0 -0
  31. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/grid_mapper.py +0 -0
  32. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/page_break_mapper.py +0 -0
  33. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/report_mapper.py +0 -0
  34. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/table_mapper.py +0 -0
  35. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/table_section_mapper.py +0 -0
  36. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/table_series_mapper.py +0 -0
  37. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_mappers/text_mapper.py +0 -0
  38. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/object_params/__init__.py +0 -0
  39. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/__init__.py +0 -0
  40. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/_utilities/__init__.py +0 -0
  41. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/_utilities/settings_container.py +0 -0
  42. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/chapter.py +0 -0
  43. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/chart.py +0 -0
  44. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/footnote.py +0 -0
  45. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/grid.py +0 -0
  46. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/page_break.py +0 -0
  47. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/report.py +0 -0
  48. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/table.py +0 -0
  49. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/table_section.py +0 -0
  50. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/objects/text.py +0 -0
  51. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/PDF.py +0 -0
  52. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/__init__.py +0 -0
  53. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/add_style_prefix.py +0 -0
  54. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/fonts/OpenSans-Bold.ttf +0 -0
  55. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/fonts/OpenSans-BoldItalic.ttf +0 -0
  56. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/fonts/OpenSans-Italic.ttf +0 -0
  57. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/fonts/OpenSans.ttf +0 -0
  58. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/fonts/__init__.py +0 -0
  59. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/fonts/font_loading.py +0 -0
  60. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/is_set.py +0 -0
  61. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/merge/__init__.py +0 -0
  62. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/merge/chart_properties_manager.py +0 -0
  63. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/merge/merge_settings.py +0 -0
  64. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/merge/merge_styles.py +0 -0
  65. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/merge/pdf_merger.py +0 -0
  66. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/__init__.py +0 -0
  67. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/add_footnotes.py +0 -0
  68. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/cleanup_utility.py +0 -0
  69. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/footnotes_counter.py +0 -0
  70. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/image_utility.py +0 -0
  71. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/layout_utility.py +0 -0
  72. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/range_utility.py +0 -0
  73. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/report_utility.py +0 -0
  74. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/resolve_color.py +0 -0
  75. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/report/title_utility.py +0 -0
  76. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm/utility/unit_converter.py +0 -0
  77. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm.egg-info/SOURCES.txt +0 -0
  78. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm.egg-info/dependency_links.txt +0 -0
  79. {rephorm-1.1.2 → rephorm-1.1.3}/src/rephorm.egg-info/top_level.txt +0 -0
  80. {rephorm-1.1.2 → rephorm-1.1.3}/tests/testing1.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rephorm
3
- Version: 1.1.2
3
+ Version: 1.1.3
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,16 @@ 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: plotly==6.3.1
36
- Requires-Dist: irispie>=0.68.1
37
35
  Requires-Dist: fpdf2==2.8.4
38
36
  Requires-Dist: PyMuPDF==1.25.1
39
37
  Requires-Dist: twine==6.1.0
40
38
  Requires-Dist: pkginfo==1.12.1.2
41
- Requires-Dist: kaleido==1.1.0
39
+ Provides-Extra: irispie-pe
40
+ Requires-Dist: irispie-pe>=0.77.1; extra == "irispie-pe"
41
+ Provides-Extra: irispie-ce
42
+ Requires-Dist: irispie-ce>=0.77.1; extra == "irispie-ce"
43
+ Provides-Extra: irpie-re
44
+ Requires-Dist: irispie-re>=0.77.1; extra == "irpie-re"
42
45
  Dynamic: license-file
43
46
 
44
47
  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.2"
2
+ current_version = "1.1.3"
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.2"
20
+ version = "1.1.3"
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,10 @@ license = { file = "LICENSE" }
30
30
  readme = "README.md"
31
31
  requires-python = ">=3.12"
32
32
  dependencies = [
33
- "plotly == 6.3.1",
34
- "irispie >= 0.68.1",
35
33
  "fpdf2 == 2.8.4",
36
34
  "PyMuPDF == 1.25.1",
37
35
  "twine == 6.1.0",
38
36
  "pkginfo == 1.12.1.2",
39
- "kaleido == 1.1.0"
40
37
  ]
41
38
 
42
39
  classifiers = [
@@ -56,4 +53,9 @@ where = ["src"]
56
53
  "rephorm.utility.fonts" = ["*.ttf"]
57
54
 
58
55
  [tool.setuptools.dynamic]
59
- version = { attr = "rephorm.__version__" }
56
+ version = { attr = "rephorm.__version__" }
57
+
58
+ [project.optional-dependencies]
59
+ irispie-pe = ["irispie-pe >= 0.77.1"]
60
+ irispie-ce = ["irispie-ce >= 0.77.1"]
61
+ irpie-re = ["irispie-re >= 0.77.1"]
@@ -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.2"
14
+ __version__ = "1.1.3"
15
15
  __author__ = 'OGResearch team'
16
16
  __credits__ = 'OGResearch'
17
17
  __license__ = 'Copyright 2025 OGResearch, all rights reserved'
@@ -1,6 +1,6 @@
1
1
  import os
2
2
 
3
- import irispie
3
+ import datapie
4
4
  import numpy as np
5
5
  from plotly.graph_objects import Figure
6
6
 
@@ -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.ez_plotly.highlight(self.figure, self.chart._get_highlight(),
112
+ datapie.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,5 @@
1
1
  from typing import Dict
2
- import irispie as ir
3
-
2
+ import datapie as dp
4
3
  from rephorm.dict.styles import default_styles
5
4
 
6
5
  """
@@ -13,13 +12,13 @@ from rephorm.dict.styles import default_styles
13
12
 
14
13
  object_params = {
15
14
  "span": {
16
- "default_value": ir.start >> ir.end,
17
- "type": ir.Span,
15
+ "default_value": dp.start >> dp.end,
16
+ "type": dp.Span,
18
17
  "ultimates": ["Chart", "Table", "ChartSeries", "TableSeries"],
19
18
  },
20
19
  "highlight" : {
21
20
  "default_value": None,
22
- "type": ir.Span,
21
+ "type": dp.Span,
23
22
  "ultimates": ["Chart", "Table", "TableSection", "TableSeries"],
24
23
  },
25
24
  "show_legend" : {
@@ -1,4 +1,4 @@
1
- from irispie import Series as IrisSeries
1
+ from datapie import Series as IrisSeries
2
2
 
3
3
  from rephorm.object_mappers.chart_series_mapper import ChartSeriesMapper
4
4
  from rephorm.objects._utilities.settings_container import SettingsContainer
@@ -1,4 +1,4 @@
1
- from irispie import Series as IrisSeries
1
+ from datapie import Series as IrisSeries
2
2
 
3
3
  from rephorm.object_mappers.table_series_mapper import TableSeriesMapper
4
4
  from rephorm.objects._utilities.settings_container import SettingsContainer
@@ -1,5 +1,5 @@
1
- import irispie as ir
2
1
  import re
2
+ import datapie as dp
3
3
 
4
4
  from rephorm.utility.report.range_utility import get_highlight, get_span
5
5
 
@@ -20,8 +20,8 @@ def get_table_highlight(table):
20
20
  return cols
21
21
 
22
22
  def prepare_row(
23
- series: ir.Series = None,
24
- span: ir.Span = None,
23
+ series: dp.Series = None,
24
+ span: dp.Span = None,
25
25
  title: str = "",
26
26
  unit: str = "",
27
27
  show_units: bool = None,
@@ -30,13 +30,13 @@ def prepare_row(
30
30
  footnote_references = None,
31
31
  ):
32
32
  if series is None:
33
- series_data = ir.Series()
33
+ series_data = dp.Series()
34
34
  decimal_precision = 0
35
35
 
36
36
  else:
37
37
  series_data = series
38
38
 
39
- if isinstance(series_data, ir.Series):
39
+ if isinstance(series_data, dp.Series):
40
40
  series_data = series_data[span].flatten().tolist()
41
41
  #if isinstance(series_data, TableSeries):
42
42
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rephorm
3
- Version: 1.1.2
3
+ Version: 1.1.3
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,16 @@ 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: plotly==6.3.1
36
- Requires-Dist: irispie>=0.68.1
37
35
  Requires-Dist: fpdf2==2.8.4
38
36
  Requires-Dist: PyMuPDF==1.25.1
39
37
  Requires-Dist: twine==6.1.0
40
38
  Requires-Dist: pkginfo==1.12.1.2
41
- Requires-Dist: kaleido==1.1.0
39
+ Provides-Extra: irispie-pe
40
+ Requires-Dist: irispie-pe>=0.77.1; extra == "irispie-pe"
41
+ Provides-Extra: irispie-ce
42
+ Requires-Dist: irispie-ce>=0.77.1; extra == "irispie-ce"
43
+ Provides-Extra: irpie-re
44
+ Requires-Dist: irispie-re>=0.77.1; extra == "irpie-re"
42
45
  Dynamic: license-file
43
46
 
44
47
  Rephorm is a Python package for generating PDF reports through code. It builds on the capabilities of fpdf2 for PDF
@@ -0,0 +1,13 @@
1
+ fpdf2==2.8.4
2
+ PyMuPDF==1.25.1
3
+ twine==6.1.0
4
+ pkginfo==1.12.1.2
5
+
6
+ [irispie-ce]
7
+ irispie-ce>=0.77.1
8
+
9
+ [irispie-pe]
10
+ irispie-pe>=0.77.1
11
+
12
+ [irpie-re]
13
+ irispie-re>=0.77.1
@@ -1,7 +0,0 @@
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
File without changes
File without changes
File without changes
File without changes