rephorm 1.1.1__py3-none-any.whl → 1.1.3__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.
rephorm/__init__.py CHANGED
@@ -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.1"
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.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.1
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,14 +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.0.1
36
- Requires-Dist: irispie==0.61.0
37
- Requires-Dist: fpdf2==2.7.9
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==0.1.0post1; platform_system == "Windows"
42
- Requires-Dist: kaleido==0.2.1; platform_system != "Windows"
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"
43
45
  Dynamic: license-file
44
46
 
45
47
  Rephorm is a Python package for generating PDF reports through code. It builds on the capabilities of fpdf2 for PDF
@@ -1,4 +1,4 @@
1
- rephorm/__init__.py,sha256=M2YhyA3HrXYoHyEABnskrDfAkJwtK0mHWAi2FXdcKCc,661
1
+ rephorm/__init__.py,sha256=IcYgWG6YSScsNt_Ce5FMktgQAWNivKSV8EFispc1BYw,661
2
2
  rephorm/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  rephorm/decorators/settings_validation.py,sha256=FEikLkxMgiPGzSTeF6dJmu4mBPAU8dvy-EFFWVj9KDY,1973
4
4
  rephorm/dict/__init__.py,sha256=M0NZuQ7-112l8K2h1eayVvSmvQrufrOcD5AYKgIf_Is,1
@@ -10,7 +10,7 @@ rephorm/dict/update_traces.py,sha256=VFbBoIjLV5qba3MrHgiDFeKslFADRploLZytx4lDjrs
10
10
  rephorm/object_mappers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  rephorm/object_mappers/_globals.py,sha256=FnyT7yPXjUpt5A_18l8WFAguaihAdwvay_0Sg0Gm4sA,285
12
12
  rephorm/object_mappers/chapter_mapper.py,sha256=yPaa4GUkVlA1obPQ3jsRpO774Y8j7Vh6cbKQ-x9O3Ig,4007
13
- rephorm/object_mappers/chart_mapper.py,sha256=lUOCLXGyol47OxAALCYQxy6hF4DjvJJkhf0fBGxx7tw,4726
13
+ rephorm/object_mappers/chart_mapper.py,sha256=WD36AUqKN3Rm1A4MZUEj1KZm65923LUjEn6Z5B60i_I,4729
14
14
  rephorm/object_mappers/chart_series_mapper.py,sha256=bAO-rNSoczV0hDo_Vhsv8F9robtu2TQ6WwHiX90jyFA,1915
15
15
  rephorm/object_mappers/grid_mapper.py,sha256=gbuZF-vS9SAZyGLC0hfGV9snGPs8LKS7ZiY0wwtdKNQ,4650
16
16
  rephorm/object_mappers/page_break_mapper.py,sha256=3db07DBaFgwMcizexmHOJIBQWg2zEvNJZb4rcyGL_sw,185
@@ -24,18 +24,18 @@ rephorm/object_mappers/_utilities/chart_mapper_utility.py,sha256=UAywPZ-UTgUX-8L
24
24
  rephorm/object_mappers/_utilities/grid_mapper_utility.py,sha256=1SeQOPQHqkgOvB9Bl-Qm6dkwmpcLLuCRrfb_WLtL4rI,323
25
25
  rephorm/object_mappers/_utilities/table_mapper_utility.py,sha256=rVez9ldfufxEdKAzWuqVd3v8OXaBGM1Vo8kfJQW0ymc,2596
26
26
  rephorm/object_params/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- rephorm/object_params/settings.py,sha256=_NG5CpSpBg6IKCpF_64tBepdRRAcNMOuqXoQY1u_IqQ,4969
27
+ rephorm/object_params/settings.py,sha256=0RGd5fdMmJIN5Gqv2m-otLTFeBHbxSvkroKCaCKHTD0,4968
28
28
  rephorm/objects/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  rephorm/objects/chapter.py,sha256=kNjor9eP5j5vLeWQjWHiz2o0driofhlqP0BdPTIthvo,1772
30
30
  rephorm/objects/chart.py,sha256=kOuZW-_QaIwhlaYq5R9UItDGWM594wSwNhc5TxYgJts,3466
31
- rephorm/objects/chart_series.py,sha256=1HqbuXng8bKgcucEKNdU1ADgyaa8JQpt8i5dPdxkYzE,2139
31
+ rephorm/objects/chart_series.py,sha256=XQhOLyC_JlTtWNEywXiuRhARDEkrMVSt0Z-6HcbFZ_M,2139
32
32
  rephorm/objects/footnote.py,sha256=YmCsdlkwnAXV1lvrt2k7ADhYenRvZEcecUxsya0s2JY,274
33
33
  rephorm/objects/grid.py,sha256=rJFAGJ6z23HcosTRb7MzyBsLPfXvayzLwO4tkWQ6KWE,2234
34
34
  rephorm/objects/page_break.py,sha256=vnt33zhvtZMnbjNNw3rB4cQ6YaaFF64XNdYM3wGTn5Y,257
35
35
  rephorm/objects/report.py,sha256=yOlLfEatJer830S9MSkxMNXix3X39kY4TcK4etMWxrQ,9505
36
36
  rephorm/objects/table.py,sha256=uIv7BQOwt0KgsWuBPH0Ch_z521_Ory8SvAT8o6EJ4fE,3235
37
37
  rephorm/objects/table_section.py,sha256=U5wIhTbxZOpubv2BqtO_Z_G9HSfQQLlwIAQVMe_00KI,2095
38
- rephorm/objects/table_series.py,sha256=CvUr89_w0Am-swqrU0HwyrhiF3q1LzKv-0BtNwAAUXU,1773
38
+ rephorm/objects/table_series.py,sha256=YO5ucHPXGTAv4uIg_PKbrg56Qb0VId0a-0Az3ZzGKDI,1773
39
39
  rephorm/objects/text.py,sha256=9jczgU9-iXdNeE32V5e83axt8jk-QXdpm8b0FEOZR0g,847
40
40
  rephorm/objects/_utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
41
  rephorm/objects/_utilities/settings_container.py,sha256=ymsZCDX_hSDvn_tXENpjcEjb0DjsWwyf6qb9NH_U8L0,223
@@ -64,10 +64,10 @@ rephorm/utility/report/layout_utility.py,sha256=qRf8Rq9MdnVot1lRTiUMkVBBVdC1_kzE
64
64
  rephorm/utility/report/range_utility.py,sha256=hKtfusxqR3JzQMBnUSCFvHKzBYQETgYRbOCVG7EpfXg,3090
65
65
  rephorm/utility/report/report_utility.py,sha256=oG5HmpnUY1uU64fWSV6Tbr5v1xRCKLTq0VVAL7sz7do,2956
66
66
  rephorm/utility/report/resolve_color.py,sha256=VMs3MHR8g1emzZZrB3nVetKHatNWq7_2PsZGHcAQOYQ,1220
67
- rephorm/utility/report/table_utility.py,sha256=mMEnR8doZ1I0xR3Jq_55ols7zDXdJ0GRf_u5NnkH9qE,1659
67
+ rephorm/utility/report/table_utility.py,sha256=kOm2fRaJ66j6R9a_HKjlJZE2jw14WnPNTg-a76_Vvms,1659
68
68
  rephorm/utility/report/title_utility.py,sha256=da2p6ad9nCm2RhUN09S9QxuE7H4sL3l5cA3llcDdVIo,1742
69
- rephorm-1.1.1.dist-info/licenses/LICENSE,sha256=J7qNT6dA5AkN4QCfd9uPlNftEs8jRiulHfO1ESxE3GU,1067
70
- rephorm-1.1.1.dist-info/METADATA,sha256=IXjabPt3YVnbb1jSvSzkjPvl2h7brrXSm_02_FOGOSs,2438
71
- rephorm-1.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
- rephorm-1.1.1.dist-info/top_level.txt,sha256=akVppyH53yfIlJ5BbtNzKZF4306s-1XJycsOZOhDbQ0,8
73
- rephorm-1.1.1.dist-info/RECORD,,
69
+ rephorm-1.1.3.dist-info/licenses/LICENSE,sha256=J7qNT6dA5AkN4QCfd9uPlNftEs8jRiulHfO1ESxE3GU,1067
70
+ rephorm-1.1.3.dist-info/METADATA,sha256=XB57XUuMQYN3ObWcNQi5Jc6AxE2q-YdyHi76anF0q9c,2501
71
+ rephorm-1.1.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
72
+ rephorm-1.1.3.dist-info/top_level.txt,sha256=akVppyH53yfIlJ5BbtNzKZF4306s-1XJycsOZOhDbQ0,8
73
+ rephorm-1.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5