transcript 0.4.0__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.
transcript/__init__.py ADDED
@@ -0,0 +1,112 @@
1
+ """Framework do składania szablonów HTML/Jinja2, SCSS i JavaScript klasami Pythona."""
2
+
3
+ from transcript.builders.html import TAGS
4
+ from transcript.builders.html.args import HTMLArg
5
+ from transcript.builders.html.html import Comment, Doctype, HTMLTagBase
6
+ from transcript.builders.jinja import (
7
+ JinjaAutoescape,
8
+ JinjaBlock,
9
+ JinjaCall,
10
+ JinjaComment,
11
+ JinjaElif,
12
+ JinjaElse,
13
+ JinjaExtends,
14
+ JinjaFilter,
15
+ JinjaFor,
16
+ JinjaFrom,
17
+ JinjaIf,
18
+ JinjaImport,
19
+ JinjaInclude,
20
+ JinjaMacro,
21
+ JinjaNode,
22
+ JinjaRaw,
23
+ JinjaSet,
24
+ JinjaTemplate,
25
+ JinjaVar,
26
+ JinjaWith,
27
+ )
28
+ from transcript.builders.js import (
29
+ JS,
30
+ JSBlock,
31
+ JSCall,
32
+ JSClass,
33
+ JSComment,
34
+ JSConst,
35
+ JSElif,
36
+ JSElse,
37
+ JSExport,
38
+ JSFor,
39
+ JSFunction,
40
+ JSIf,
41
+ JSImport,
42
+ JSLet,
43
+ JSLine,
44
+ JSMethod,
45
+ JSModule,
46
+ JSObject,
47
+ JSReturn,
48
+ JSVar,
49
+ JSWhile,
50
+ )
51
+ from transcript.builders.scss import (
52
+ BEM,
53
+ BEMElement,
54
+ BEMModifier,
55
+ CSSClass,
56
+ SCSS,
57
+ SCSSComment,
58
+ SCSSExtend,
59
+ SCSSForward,
60
+ SCSSIf,
61
+ SCSSImport,
62
+ SCSSInclude,
63
+ SCSSLine,
64
+ SCSSMedia,
65
+ SCSSMixin,
66
+ SCSSProp,
67
+ SCSSRoot,
68
+ SCSSSupports,
69
+ SCSSUse,
70
+ SCSSVariable,
71
+ bem_selector,
72
+ )
73
+ from transcript.builders.xml import XMLArg, XMLAttr, XMLTag, XMLTagBase
74
+ from transcript.core.container import ContainerBase, Fragment
75
+ from transcript.core.config import Config, get_config, init
76
+ from transcript.io import File, Hub, HubError, JsonData, Renderer, data_to_container, html_to_data, load
77
+ from transcript.presets.tailwind import Tailwind, tw, utility
78
+ from transcript.project import Project
79
+ from transcript.purge import (
80
+ extract_classes_from_containers,
81
+ extract_classes_from_paths,
82
+ extract_classes_from_text,
83
+ purge_scss,
84
+ )
85
+
86
+ globals().update(TAGS)
87
+
88
+ __version__ = '0.4.0'
89
+
90
+ __all__ = [
91
+ 'ContainerBase', 'Fragment', 'Config', 'init', 'get_config',
92
+ 'Project', 'purge_scss',
93
+ 'extract_classes_from_text', 'extract_classes_from_paths', 'extract_classes_from_containers',
94
+ 'File', 'JsonData', 'Renderer', 'Hub', 'HubError',
95
+ 'load', 'html_to_data', 'data_to_container',
96
+ 'Tailwind', 'tw', 'utility',
97
+ 'XMLArg', 'XMLAttr', 'XMLTag', 'XMLTagBase',
98
+ 'HTMLArg', 'HTMLTagBase', 'Doctype', 'Comment',
99
+ 'JinjaNode', 'JinjaVar', 'JinjaComment', 'JinjaExtends', 'JinjaInclude',
100
+ 'JinjaBlock', 'JinjaFor', 'JinjaIf', 'JinjaElif', 'JinjaElse', 'JinjaMacro',
101
+ 'JinjaCall', 'JinjaFilter', 'JinjaWith', 'JinjaSet', 'JinjaFrom', 'JinjaImport',
102
+ 'JinjaRaw', 'JinjaAutoescape', 'JinjaTemplate',
103
+ 'JS', 'JSModule', 'JSBlock', 'JSLine', 'JSComment',
104
+ 'JSConst', 'JSLet', 'JSVar', 'JSReturn', 'JSCall',
105
+ 'JSFunction', 'JSIf', 'JSElse', 'JSElif', 'JSFor', 'JSWhile',
106
+ 'JSClass', 'JSMethod', 'JSExport', 'JSImport', 'JSObject',
107
+ 'SCSS', 'SCSSProp', 'SCSSRoot', 'SCSSVariable', 'SCSSComment',
108
+ 'SCSSMixin', 'SCSSInclude', 'SCSSExtend', 'SCSSMedia', 'SCSSSupports',
109
+ 'SCSSIf', 'SCSSUse', 'SCSSForward', 'SCSSImport', 'SCSSLine', 'CSSClass',
110
+ 'BEM', 'BEMElement', 'BEMModifier', 'bem_selector',
111
+ *sorted(TAGS),
112
+ ]
@@ -0,0 +1 @@
1
+ """Buildery HTML, Jinja2, SCSS i JavaScript."""
@@ -0,0 +1,6 @@
1
+ from transcript.builders.html.args import HTMLArg
2
+ from transcript.builders.html.html import Comment, Doctype, HTMLTagBase, TAGS
3
+
4
+ globals().update(TAGS)
5
+
6
+ __all__ = ['HTMLTagBase', 'Doctype', 'Comment', 'HTMLArg', 'TAGS', *sorted(TAGS)]