aengus 0.2.2__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.
aengus-0.2.2/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 mynti
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
aengus-0.2.2/PKG-INFO ADDED
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: aengus
3
+ Version: 0.2.2
4
+ Summary: A tui writing app
5
+ Author-email: Tim Betz <tim.betz@protonmail.com>
6
+ Requires-Python: >=3.12
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: python-frontmatter>=1.1.0
10
+ Requires-Dist: rich>=14.3.2
11
+ Requires-Dist: textual>=8.0.0
12
+ Dynamic: license-file
13
+
14
+ # Aengus
15
+
16
+ A tui writing app.
17
+
18
+ ### Setup
19
+
20
+ Install environment with `uv sync`.
21
+
22
+
23
+ ## Installation
24
+
25
+ Install with `pip install .`
26
+
27
+ On windows add the `Scripts` folder to `PATH` if you have not already.
28
+
29
+ Then create a project with `aengus new <PROJECT_NAME>` and open with `aengus open <PROJECT_NAME>`.
30
+
31
+ Or get help with `aengus -h`.
aengus-0.2.2/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # Aengus
2
+
3
+ A tui writing app.
4
+
5
+ ### Setup
6
+
7
+ Install environment with `uv sync`.
8
+
9
+
10
+ ## Installation
11
+
12
+ Install with `pip install .`
13
+
14
+ On windows add the `Scripts` folder to `PATH` if you have not already.
15
+
16
+ Then create a project with `aengus new <PROJECT_NAME>` and open with `aengus open <PROJECT_NAME>`.
17
+
18
+ Or get help with `aengus -h`.
File without changes
@@ -0,0 +1,262 @@
1
+ /* ---------------- VARIABLES ---------------- */
2
+
3
+ $main_color: #2ec4b6;
4
+ $accent_color: #e9cb25;
5
+ $background_color: #00101d;
6
+ $dim_color: #555555;
7
+
8
+ $standard_border: round $main_color;
9
+
10
+ /* ---------------- SCREEN ---------------- */
11
+
12
+ Screen {
13
+ layout: vertical;
14
+ }
15
+
16
+ /* ---------------- HEADER ---------------- */
17
+
18
+ #header-bar {
19
+ height: 3;
20
+ width: 100%;
21
+ border: $standard_border;
22
+ padding: 0 1;
23
+ background: $background_color;
24
+ }
25
+
26
+ #header-wordcount {
27
+ width: 1fr;
28
+ text-align: left;
29
+ }
30
+
31
+ #header-center {
32
+ width: 2fr;
33
+ text-align: center;
34
+ color: $accent_color;
35
+ }
36
+
37
+ #header-timer {
38
+ width: 1fr;
39
+ text-align: right;
40
+ }
41
+
42
+ /* ---------------- RIGHT SIDEBAR ---------------- */
43
+
44
+ #swatch {
45
+ width: 15%;
46
+ height: 100%;
47
+ border: $standard_border;
48
+ background: $background_color;
49
+ }
50
+
51
+ #swatch Button {
52
+ border: solid $main_color;
53
+ width: 100%;
54
+ text-align: center;
55
+ background: $background_color;
56
+ }
57
+
58
+ #swatch Button:hover {
59
+ border: dashed $accent_color;
60
+ }
61
+
62
+ /* ---------------- EDITOR PANES ---------------- */
63
+
64
+ #main-area {
65
+ height: 1fr;
66
+ layout: horizontal;
67
+ background: $background_color;
68
+ }
69
+
70
+ .editor-pane-main {
71
+ width: 55%;
72
+ layers: base overlay;
73
+ background: $background_color;
74
+ }
75
+
76
+ .editor-pane-secondary {
77
+ width: 30%;
78
+ layers: base overlay;
79
+ background: $background_color;
80
+ }
81
+
82
+ AengusEditor {
83
+ width: 100%;
84
+ height: 100%;
85
+ padding: 0 2;
86
+ border: $standard_border;
87
+ background: $background_color;
88
+ scrollbar-color: $main_color;
89
+ scrollbar-background: $background_color;
90
+ scrollbar-size-horizontal: 0;
91
+ }
92
+
93
+ AengusEditor.active-editor {
94
+ border: round $accent_color;
95
+ }
96
+
97
+ .welcome-screen {
98
+ border: $standard_border;
99
+ layer: overlay;
100
+ width: 100%;
101
+ height: 100%;
102
+ align: center middle;
103
+ content-align: center middle;
104
+ }
105
+
106
+ .active-pane .welcome-screen {
107
+ border: round $accent_color;
108
+ }
109
+
110
+ /* ---------------- FOOTER ---------------- */
111
+
112
+ #footer {
113
+ height: 3;
114
+ color: $text;
115
+ width: 100%;
116
+ border: $standard_border;
117
+ padding: 0 1;
118
+ background: $background_color;
119
+ }
120
+
121
+ /* ---------------- FILE PICKER ---------------- */
122
+
123
+ FilePicker {
124
+ layer: overlay;
125
+ dock: top;
126
+ width: 45%;
127
+ height: auto;
128
+ max-height: 20;
129
+ background: $background_color;
130
+ border: double $accent_color;
131
+ padding: 0 1;
132
+ margin: 3 0;
133
+ display: none;
134
+ offset: 27% 0;
135
+ }
136
+
137
+ FilePicker.visible {
138
+ display: block;
139
+ }
140
+
141
+ FilePicker Input {
142
+ width: 100%;
143
+ margin-bottom: 1;
144
+ border: double $accent_color;
145
+ background: $background_color;
146
+ }
147
+
148
+ FilePicker ListView {
149
+ width: 100%;
150
+ height: auto;
151
+ max-height: 15;
152
+ border: none;
153
+ background: $background_color;
154
+ }
155
+
156
+ FilePicker ListView > ListItem {
157
+ padding: 0 1;
158
+ }
159
+
160
+ FilePicker ListView > ListItem.folder-header {
161
+ color: $accent_color;
162
+ }
163
+
164
+ FilePicker ListView > ListItem.folder-header:hover {
165
+ background: $background_color;
166
+ }
167
+
168
+ FilePicker #no-results {
169
+ color: $text-muted;
170
+ padding: 0 1;
171
+ display: none;
172
+ }
173
+
174
+ FilePicker #no-results.visible {
175
+ display: block;
176
+ }
177
+
178
+ /* ---------------- CONFIRM DELETE SCREEN ---------------- */
179
+
180
+ ConfirmDeleteScreen {
181
+ align: center middle;
182
+ }
183
+
184
+ #confirm-dialog {
185
+ width: 50;
186
+ height: auto;
187
+ padding: 1 2;
188
+ background: $background_color;
189
+ border: double $accent_color;
190
+ }
191
+
192
+ #confirm-dialog Label {
193
+ width: 100%;
194
+ text-align: center;
195
+ margin-bottom: 1;
196
+ }
197
+
198
+ #confirm-dialog .dialog-buttons {
199
+ width: 100%;
200
+ align: center middle;
201
+ height: auto;
202
+ }
203
+
204
+ #confirm-dialog Button {
205
+ margin: 0 1;
206
+ min-width: 12;
207
+ border: solid $main_color;
208
+ background: $background_color;
209
+ }
210
+
211
+ #confirm-dialog Button:hover {
212
+ border: dashed $accent_color;
213
+ }
214
+
215
+ /* ---------------- STATISTICS ---------------- */
216
+
217
+ Statistics {
218
+ width: 1fr;
219
+ height: 1fr;
220
+ background: $background_color;
221
+ scrollbar-color: $main_color;
222
+ scrollbar-background: $background_color;
223
+ scrollbar-size-horizontal: 0;
224
+ padding: 0;
225
+ }
226
+
227
+ #kpi-row {
228
+ width: 1fr;
229
+ grid-size: 8;
230
+ height: auto;
231
+ }
232
+
233
+ .kpi-card {
234
+ width: 1fr;
235
+ height: 4;
236
+ border: $standard_border;
237
+ background: $background_color;
238
+ margin: 0 1;
239
+ text-align: center;
240
+ }
241
+
242
+ #heat-container {
243
+ width: 1fr;
244
+ height: auto;
245
+ align: center middle;
246
+ }
247
+
248
+ #bars-container {
249
+ width: 1fr;
250
+ height: auto;
251
+ align: center middle;
252
+ }
253
+
254
+ .stats-plot {
255
+ width: 100%;
256
+ height: auto;
257
+ border: $standard_border;
258
+ background: $background_color;
259
+ padding: 0;
260
+ margin: 0;
261
+ content-align: center middle;
262
+ }