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 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
+ ]