rephorm 1.0.1__tar.gz → 1.0.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 (78) hide show
  1. {rephorm-1.0.1/src/rephorm.egg-info → rephorm-1.0.3}/PKG-INFO +8 -1
  2. {rephorm-1.0.1 → rephorm-1.0.3}/pyproject.toml +3 -3
  3. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/__init__.py +1 -1
  4. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/grid.py +3 -5
  5. {rephorm-1.0.1 → rephorm-1.0.3/src/rephorm.egg-info}/PKG-INFO +8 -1
  6. {rephorm-1.0.1 → rephorm-1.0.3}/LICENSE +0 -0
  7. {rephorm-1.0.1 → rephorm-1.0.3}/README.md +0 -0
  8. {rephorm-1.0.1 → rephorm-1.0.3}/setup.cfg +0 -0
  9. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/decorators/__init__.py +0 -0
  10. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/decorators/settings_validation.py +0 -0
  11. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/__init__.py +0 -0
  12. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/colors.py +0 -0
  13. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/legend_positions.py +0 -0
  14. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/styles.py +0 -0
  15. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/update_layout.py +0 -0
  16. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/update_traces.py +0 -0
  17. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/__init__.py +0 -0
  18. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_globals.py +0 -0
  19. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/__init__.py +0 -0
  20. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/chart_mapper_utility.py +0 -0
  21. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/grid_mapper_utility.py +0 -0
  22. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/table_mapper_utility.py +0 -0
  23. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/chapter_mapper.py +0 -0
  24. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/chart_mapper.py +0 -0
  25. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/chart_series_mapper.py +0 -0
  26. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/grid_mapper.py +0 -0
  27. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/page_break_mapper.py +0 -0
  28. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/report_mapper.py +0 -0
  29. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/table_mapper.py +0 -0
  30. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/table_section_mapper.py +0 -0
  31. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/table_series_mapper.py +0 -0
  32. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/text_mapper.py +0 -0
  33. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_params/__init__.py +0 -0
  34. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_params/settings.py +0 -0
  35. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/__init__.py +0 -0
  36. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/_utilities/__init__.py +0 -0
  37. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/_utilities/settings_container.py +0 -0
  38. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/chapter.py +0 -0
  39. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/chart.py +0 -0
  40. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/chart_series.py +0 -0
  41. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/footnote.py +0 -0
  42. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/page_break.py +0 -0
  43. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/report.py +0 -0
  44. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/table.py +0 -0
  45. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/table_section.py +0 -0
  46. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/table_series.py +0 -0
  47. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/text.py +0 -0
  48. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/PDF.py +0 -0
  49. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/__init__.py +0 -0
  50. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/add_style_prefix.py +0 -0
  51. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans-Bold.ttf +0 -0
  52. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans-BoldItalic.ttf +0 -0
  53. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans-Italic.ttf +0 -0
  54. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans.ttf +0 -0
  55. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/__init__.py +0 -0
  56. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/font_loading.py +0 -0
  57. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/is_set.py +0 -0
  58. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/__init__.py +0 -0
  59. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/chart_properties_manager.py +0 -0
  60. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/merge_settings.py +0 -0
  61. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/merge_styles.py +0 -0
  62. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/pdf_merger.py +0 -0
  63. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/__init__.py +0 -0
  64. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/add_footnotes.py +0 -0
  65. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/cleanup_utility.py +0 -0
  66. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/footnotes_counter.py +0 -0
  67. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/image_utility.py +0 -0
  68. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/layout_utility.py +0 -0
  69. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/range_utility.py +0 -0
  70. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/report_utility.py +0 -0
  71. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/resolve_color.py +0 -0
  72. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/table_utility.py +0 -0
  73. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/title_utility.py +0 -0
  74. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/unit_converter.py +0 -0
  75. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm.egg-info/SOURCES.txt +0 -0
  76. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm.egg-info/dependency_links.txt +0 -0
  77. {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm.egg-info/requires.txt +0 -0
  78. {rephorm-1.0.1 → rephorm-1.0.3}/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.0.1
3
+ Version: 1.0.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>, Ngoc Nam Nguyen <nam.nguyen@ogresearch.com>, Martynas Vycas <martynas.vycas@ogresearch.com>
@@ -30,6 +30,7 @@ Classifier: Intended Audience :: Financial and Insurance Industry
30
30
  Classifier: Programming Language :: Python :: 3
31
31
  Classifier: Operating System :: OS Independent
32
32
  Requires-Python: >=3.12
33
+ Description-Content-Type: text/markdown
33
34
  License-File: LICENSE
34
35
  Requires-Dist: irispie>=0.61.0
35
36
  Requires-Dist: fpdf2>=2.7.9
@@ -39,3 +40,9 @@ Requires-Dist: pkginfo>=1.12.1.2
39
40
  Requires-Dist: kaleido==0.1.0post1; platform_system == "Windows"
40
41
  Requires-Dist: kaleido==0.2.1; platform_system != "Windows"
41
42
  Dynamic: license-file
43
+
44
+ Rephorm is a Python package for generating PDF reports through code. It builds on the capabilities of fpdf2 for PDF
45
+ rendering and IRISPIE for seamless integration of economic models and data.
46
+
47
+ Rephorm provides a modular framework of configurable objects that can be instantiated, customized, and composed to
48
+ create structured PDF reports.
@@ -1,5 +1,5 @@
1
1
  [bumpver]
2
- current_version = "1.0.1"
2
+ current_version = "1.0.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.0.1"
20
+ version = "1.0.3"
21
21
  description = "Python package for generating PDF reports through code"
22
22
  authors = [
23
23
  { name = "OGResearch", email = "it@ogresearch.com" }
@@ -28,7 +28,7 @@ maintainers = [
28
28
  { name = "Martynas Vycas", email = "martynas.vycas@ogresearch.com" },
29
29
  ]
30
30
  license = { file = "LICENSE" }
31
- #readme = "README.md" # Optional: if you want to include a README
31
+ readme = "README.md"
32
32
  requires-python = ">=3.12"
33
33
  dependencies = [
34
34
  "irispie >= 0.61.0",
@@ -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.0.1"
14
+ __version__ = "1.0.3"
15
15
  __author__ = 'OGResearch team'
16
16
  __credits__ = 'OGResearch'
17
17
  __license__ = 'Copyright 2025 OGResearch, all rights reserved'
@@ -1,10 +1,9 @@
1
1
  from __future__ import annotations
2
2
  import copy
3
- from typing import Text, Optional, Union, List
3
+ from typing import Optional, Union, List
4
4
 
5
5
  from rephorm.objects.table import Table
6
6
  from rephorm.objects.text import Text
7
- from rephorm.objects.page_break import PageBreak
8
7
  from rephorm.objects.chart import Chart
9
8
  from rephorm.object_mappers.grid_mapper import GridMapper
10
9
  from rephorm.objects._utilities.settings_container import SettingsContainer
@@ -33,13 +32,12 @@ class Grid:
33
32
 
34
33
  def add(
35
34
  self,
36
- grid_child : Union[Grid, Table, Text, PageBreak, Chart] = None,
35
+ grid_child : Union[Grid, Table, Text, Chart] = None,
37
36
  ):
38
-
39
37
  #12/10/2024: We should have checks in the objects and not object mappers
40
38
  # We would also not have problem with imports here, because this module itself is within OBJECTS
41
39
  # Todo: Update latest docs, explaining it is not possible to nest grids within grids, and the reason why.
42
- if grid_child is not None and isinstance(grid_child, (Table, Text, PageBreak, Chart)):
40
+ if grid_child is not None and isinstance(grid_child, (Table, Grid, Text, Chart)):
43
41
  # grid_child._on_add_callback()
44
42
  copy_grid_child = copy.deepcopy(grid_child)
45
43
  self.CHILDREN.append(copy_grid_child)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rephorm
3
- Version: 1.0.1
3
+ Version: 1.0.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>, Ngoc Nam Nguyen <nam.nguyen@ogresearch.com>, Martynas Vycas <martynas.vycas@ogresearch.com>
@@ -30,6 +30,7 @@ Classifier: Intended Audience :: Financial and Insurance Industry
30
30
  Classifier: Programming Language :: Python :: 3
31
31
  Classifier: Operating System :: OS Independent
32
32
  Requires-Python: >=3.12
33
+ Description-Content-Type: text/markdown
33
34
  License-File: LICENSE
34
35
  Requires-Dist: irispie>=0.61.0
35
36
  Requires-Dist: fpdf2>=2.7.9
@@ -39,3 +40,9 @@ Requires-Dist: pkginfo>=1.12.1.2
39
40
  Requires-Dist: kaleido==0.1.0post1; platform_system == "Windows"
40
41
  Requires-Dist: kaleido==0.2.1; platform_system != "Windows"
41
42
  Dynamic: license-file
43
+
44
+ Rephorm is a Python package for generating PDF reports through code. It builds on the capabilities of fpdf2 for PDF
45
+ rendering and IRISPIE for seamless integration of economic models and data.
46
+
47
+ Rephorm provides a modular framework of configurable objects that can be instantiated, customized, and composed to
48
+ create structured PDF reports.
File without changes
File without changes
File without changes