tesorotools-python 0.1.6__py3-none-any.whl → 0.1.7__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.
- tesorotools/palette.py +4 -0
- tesorotools/presentation/__init__.py +82 -0
- tesorotools/presentation/builder.py +1175 -0
- tesorotools/presentation/charts.py +61 -0
- tesorotools/presentation/cli.py +283 -0
- tesorotools/presentation/house.py +651 -0
- tesorotools/presentation/lint.py +183 -0
- tesorotools/presentation/markdown.py +950 -0
- tesorotools/presentation/pdf.py +68 -0
- tesorotools/presentation/skeleton.md +81 -0
- tesorotools/presentation/skill/SKILL.md +423 -0
- tesorotools/presentation/skill/reglas.md +159 -0
- tesorotools/presentation/template.py +78 -0
- {tesorotools_python-0.1.6.dist-info → tesorotools_python-0.1.7.dist-info}/METADATA +2 -1
- {tesorotools_python-0.1.6.dist-info → tesorotools_python-0.1.7.dist-info}/RECORD +17 -5
- {tesorotools_python-0.1.6.dist-info → tesorotools_python-0.1.7.dist-info}/entry_points.txt +1 -0
- {tesorotools_python-0.1.6.dist-info → tesorotools_python-0.1.7.dist-info}/WHEEL +0 -0
tesorotools/palette.py
CHANGED
|
@@ -31,6 +31,10 @@ BLUE_PALE = "AEBAE7"
|
|
|
31
31
|
BLUE_FAINT = "ECF0FD"
|
|
32
32
|
#: Secondary text: captions, metadata, stale rows.
|
|
33
33
|
GREY = "6D6D6D"
|
|
34
|
+
#: Tesoro yellow: highlights of the presentations (bands, frames, the
|
|
35
|
+
#: section subtitles of the index) and its light shade for fills.
|
|
36
|
+
YELLOW = "FFBD4C"
|
|
37
|
+
YELLOW_LIGHT = "FFDDAB"
|
|
34
38
|
#: Ink for good/bad variations (text on white).
|
|
35
39
|
GREEN = "15682C"
|
|
36
40
|
RED = "A4262C"
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""Presentations of the SG Análisis Financiero on the official template.
|
|
2
|
+
|
|
3
|
+
Two entry points, as for the notes:
|
|
4
|
+
|
|
5
|
+
- :class:`Presentation`, a Python builder (charts, tables, schemes) for
|
|
6
|
+
presentations produced by code;
|
|
7
|
+
- :func:`read` + :func:`build`, for presentations written in Markdown,
|
|
8
|
+
also available as the ``tesorotools-presentacion`` command line.
|
|
9
|
+
|
|
10
|
+
:func:`check` reviews a presentation against the style guide; charts are
|
|
11
|
+
drawn with the tesorotools artists at the size of their frame
|
|
12
|
+
(:func:`slide_chart_size`). The format is in the skill
|
|
13
|
+
(``presentation/skill/SKILL.md``).
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
from tesorotools.presentation.builder import (
|
|
17
|
+
Alternative,
|
|
18
|
+
Alternatives,
|
|
19
|
+
Assessment,
|
|
20
|
+
Assessments,
|
|
21
|
+
Band,
|
|
22
|
+
Bands,
|
|
23
|
+
Chart,
|
|
24
|
+
Figure,
|
|
25
|
+
Figures,
|
|
26
|
+
Matrix,
|
|
27
|
+
Presentation,
|
|
28
|
+
Scheme,
|
|
29
|
+
Steps,
|
|
30
|
+
Table,
|
|
31
|
+
month_text,
|
|
32
|
+
)
|
|
33
|
+
from tesorotools.presentation.charts import (
|
|
34
|
+
SLIDE_CHART_CM,
|
|
35
|
+
SLIDE_FONT_PT,
|
|
36
|
+
slide_chart_size,
|
|
37
|
+
)
|
|
38
|
+
from tesorotools.presentation.cli import skill_text
|
|
39
|
+
from tesorotools.presentation.lint import check, style_issues
|
|
40
|
+
from tesorotools.presentation.markdown import (
|
|
41
|
+
DeckSource,
|
|
42
|
+
PresentationError,
|
|
43
|
+
SlideRenderer,
|
|
44
|
+
assemble,
|
|
45
|
+
build,
|
|
46
|
+
parse,
|
|
47
|
+
read,
|
|
48
|
+
)
|
|
49
|
+
from tesorotools.presentation.template import LAYOUTS, open_template
|
|
50
|
+
|
|
51
|
+
__all__ = [
|
|
52
|
+
"LAYOUTS",
|
|
53
|
+
"SLIDE_CHART_CM",
|
|
54
|
+
"SLIDE_FONT_PT",
|
|
55
|
+
"Alternative",
|
|
56
|
+
"Alternatives",
|
|
57
|
+
"Assessment",
|
|
58
|
+
"Assessments",
|
|
59
|
+
"Band",
|
|
60
|
+
"Bands",
|
|
61
|
+
"Chart",
|
|
62
|
+
"DeckSource",
|
|
63
|
+
"Figure",
|
|
64
|
+
"Figures",
|
|
65
|
+
"Matrix",
|
|
66
|
+
"Presentation",
|
|
67
|
+
"PresentationError",
|
|
68
|
+
"Scheme",
|
|
69
|
+
"SlideRenderer",
|
|
70
|
+
"Steps",
|
|
71
|
+
"Table",
|
|
72
|
+
"assemble",
|
|
73
|
+
"build",
|
|
74
|
+
"check",
|
|
75
|
+
"month_text",
|
|
76
|
+
"open_template",
|
|
77
|
+
"parse",
|
|
78
|
+
"read",
|
|
79
|
+
"skill_text",
|
|
80
|
+
"slide_chart_size",
|
|
81
|
+
"style_issues",
|
|
82
|
+
]
|