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.
- {rephorm-1.0.1/src/rephorm.egg-info → rephorm-1.0.3}/PKG-INFO +8 -1
- {rephorm-1.0.1 → rephorm-1.0.3}/pyproject.toml +3 -3
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/__init__.py +1 -1
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/grid.py +3 -5
- {rephorm-1.0.1 → rephorm-1.0.3/src/rephorm.egg-info}/PKG-INFO +8 -1
- {rephorm-1.0.1 → rephorm-1.0.3}/LICENSE +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/README.md +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/setup.cfg +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/decorators/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/decorators/settings_validation.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/colors.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/legend_positions.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/styles.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/update_layout.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/dict/update_traces.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_globals.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/chart_mapper_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/grid_mapper_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/table_mapper_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/chapter_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/chart_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/chart_series_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/grid_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/page_break_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/report_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/table_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/table_section_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/table_series_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/text_mapper.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_params/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_params/settings.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/_utilities/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/_utilities/settings_container.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/chapter.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/chart.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/chart_series.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/footnote.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/page_break.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/report.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/table.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/table_section.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/table_series.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/objects/text.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/PDF.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/add_style_prefix.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans-Bold.ttf +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans-BoldItalic.ttf +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans-Italic.ttf +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/OpenSans.ttf +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/fonts/font_loading.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/is_set.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/chart_properties_manager.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/merge_settings.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/merge_styles.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/merge/pdf_merger.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/__init__.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/add_footnotes.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/cleanup_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/footnotes_counter.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/image_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/layout_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/range_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/report_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/resolve_color.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/table_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/report/title_utility.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/utility/unit_converter.py +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm.egg-info/SOURCES.txt +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm.egg-info/dependency_links.txt +0 -0
- {rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm.egg-info/requires.txt +0 -0
- {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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
|
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,
|
|
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,
|
|
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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/chart_mapper_utility.py
RENAMED
|
File without changes
|
{rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/grid_mapper_utility.py
RENAMED
|
File without changes
|
{rephorm-1.0.1 → rephorm-1.0.3}/src/rephorm/object_mappers/_utilities/table_mapper_utility.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|