argenta 1.0.0a1__py3-none-any.whl → 1.0.0a2__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.
- argenta/router/__init__.py +1 -1
- argenta/router/entity.py +8 -8
- {argenta-1.0.0a1.dist-info → argenta-1.0.0a2.dist-info}/METADATA +1 -98
- {argenta-1.0.0a1.dist-info → argenta-1.0.0a2.dist-info}/RECORD +6 -6
- {argenta-1.0.0a1.dist-info → argenta-1.0.0a2.dist-info}/WHEEL +0 -0
- {argenta-1.0.0a1.dist-info → argenta-1.0.0a2.dist-info}/licenses/LICENSE +0 -0
argenta/router/__init__.py
CHANGED
argenta/router/entity.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
from typing import Callable
|
2
2
|
from inspect import getfullargspec
|
3
|
-
from
|
4
|
-
from
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
|
9
|
-
|
10
|
-
|
3
|
+
from argenta.command import Command
|
4
|
+
from argenta.command.models import InputCommand
|
5
|
+
from argenta.router.command_handler.entity import CommandHandlers, CommandHandler
|
6
|
+
from argenta.command.flag.models import Flag, Flags, InputFlags
|
7
|
+
from argenta.router.exceptions import (RepeatedFlagNameException,
|
8
|
+
TooManyTransferredArgsException,
|
9
|
+
RequiredArgumentNotPassedException,
|
10
|
+
TriggerContainSpacesException)
|
11
11
|
|
12
12
|
|
13
13
|
class Router:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: argenta
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.0a2
|
4
4
|
Summary: Python library for creating TUI
|
5
5
|
Author-email: kolo <kolo.is.main@gmail.com>
|
6
6
|
License: MIT
|
@@ -347,22 +347,6 @@ Public. Sets the handler for exit command when entering a command
|
|
347
347
|
|
348
348
|
---
|
349
349
|
|
350
|
-
<a id="argenta.app.models.App.run_polling"></a>
|
351
|
-
|
352
|
-
#### run\_polling
|
353
|
-
|
354
|
-
```python
|
355
|
-
def run_polling() -> None
|
356
|
-
```
|
357
|
-
|
358
|
-
Private. Starts the user input processing cycle
|
359
|
-
|
360
|
-
**Returns**:
|
361
|
-
|
362
|
-
`None`
|
363
|
-
|
364
|
-
---
|
365
|
-
|
366
350
|
<a id="argenta.app.models.App.include_router"></a>
|
367
351
|
|
368
352
|
#### include\_router
|
@@ -507,26 +491,6 @@ Public. The static dividing line
|
|
507
491
|
|
508
492
|
---
|
509
493
|
|
510
|
-
<a id="argenta.app.dividing_line.models.StaticDividingLine.get_full_static_line"></a>
|
511
|
-
|
512
|
-
#### get\_full\_static\_line
|
513
|
-
|
514
|
-
```python
|
515
|
-
def get_full_static_line(is_override: bool) -> str
|
516
|
-
```
|
517
|
-
|
518
|
-
Private. Returns the full line of the dividing line
|
519
|
-
|
520
|
-
**Arguments**:
|
521
|
-
|
522
|
-
- `is_override`: has the default text layout been redefined
|
523
|
-
|
524
|
-
**Returns**:
|
525
|
-
|
526
|
-
full line of dividing line as str
|
527
|
-
|
528
|
-
---
|
529
|
-
|
530
494
|
<a id="argenta.app.dividing_line.models.DynamicDividingLine"></a>
|
531
495
|
|
532
496
|
## DynamicDividingLine Objects
|
@@ -555,27 +519,6 @@ Public. The dynamic dividing line
|
|
555
519
|
|
556
520
|
---
|
557
521
|
|
558
|
-
<a id="argenta.app.dividing_line.models.DynamicDividingLine.get_full_dynamic_line"></a>
|
559
|
-
|
560
|
-
#### get\_full\_dynamic\_line
|
561
|
-
|
562
|
-
```python
|
563
|
-
def get_full_dynamic_line(length: int, is_override: bool) -> str
|
564
|
-
```
|
565
|
-
|
566
|
-
Private. Returns the full line of the dividing line
|
567
|
-
|
568
|
-
**Arguments**:
|
569
|
-
|
570
|
-
- `length`: the length of the dividing line
|
571
|
-
- `is_override`: has the default text layout been redefined
|
572
|
-
|
573
|
-
**Returns**:
|
574
|
-
|
575
|
-
full line of dividing line as str
|
576
|
-
|
577
|
-
---
|
578
|
-
|
579
522
|
<a id="argenta.app.exceptions"></a>
|
580
523
|
|
581
524
|
# `.app.exceptions`
|
@@ -1246,46 +1189,6 @@ Public. Registers handler for invalid input flag
|
|
1246
1189
|
|
1247
1190
|
---
|
1248
1191
|
|
1249
|
-
<a id="argenta.router.entity.Router.input_command_handler"></a>
|
1250
|
-
|
1251
|
-
#### input\_command\_handler
|
1252
|
-
|
1253
|
-
```python
|
1254
|
-
def input_command_handler(input_command: InputCommand) -> None
|
1255
|
-
```
|
1256
|
-
|
1257
|
-
Private. One handler for all input commands
|
1258
|
-
|
1259
|
-
**Arguments**:
|
1260
|
-
|
1261
|
-
- `input_command`: input command as InputCommand
|
1262
|
-
|
1263
|
-
**Returns**:
|
1264
|
-
|
1265
|
-
`None`
|
1266
|
-
|
1267
|
-
---
|
1268
|
-
|
1269
|
-
<a id="argenta.router.entity.Router.set_command_register_ignore"></a>
|
1270
|
-
|
1271
|
-
#### set\_command\_register\_ignore
|
1272
|
-
|
1273
|
-
```python
|
1274
|
-
def set_command_register_ignore(_: bool) -> None
|
1275
|
-
```
|
1276
|
-
|
1277
|
-
Private. Sets the router behavior on the input commands register
|
1278
|
-
|
1279
|
-
**Arguments**:
|
1280
|
-
|
1281
|
-
- `_`: is command register ignore
|
1282
|
-
|
1283
|
-
**Returns**:
|
1284
|
-
|
1285
|
-
`None`
|
1286
|
-
|
1287
|
-
---
|
1288
|
-
|
1289
1192
|
<a id="argenta.router.entity.Router.get_triggers"></a>
|
1290
1193
|
|
1291
1194
|
#### get\_triggers
|
@@ -21,13 +21,13 @@ argenta/orchestrator/argparser/__init__.py,sha256=twfb-FQqW4QUo2XkmMASi654KGiimI
|
|
21
21
|
argenta/orchestrator/argparser/entity.py,sha256=nmwp7dFHTIqLvR9v0n_4j9wvtTowvLK7_SeoyaYL_RM,2145
|
22
22
|
argenta/orchestrator/argparser/arguments/__init__.py,sha256=4T55Tl_4WKOYp9HtVDmzQZylYVKA_cb3XiGoBvAyjNo,318
|
23
23
|
argenta/orchestrator/argparser/arguments/models.py,sha256=hSUXBjTsyzNKvyPgWhiNCa4SSQdmixIQnne2A9iuPMc,1546
|
24
|
-
argenta/router/__init__.py,sha256=
|
24
|
+
argenta/router/__init__.py,sha256=ldrIWTXNLXUAMAGQ8ex4e8nMso_fhi01nZi2DVzHnnk,66
|
25
25
|
argenta/router/defaults.py,sha256=RX3DMbZk7XUbj6uR4uADhZOPqEDoeCz9X-n26YTCCPM,87
|
26
|
-
argenta/router/entity.py,sha256=
|
26
|
+
argenta/router/entity.py,sha256=pTXN1agjbRJDYNpiCvxGVzNRnmSOWniOChW7A-mHr_U,7965
|
27
27
|
argenta/router/exceptions.py,sha256=q6y-4gmbgkX-0U4-qXHDP5HTtUQ_c4svaqVILn-ZzRw,852
|
28
28
|
argenta/router/command_handler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
29
|
argenta/router/command_handler/entity.py,sha256=87H1jGO6O_udWDAmvfGDjpkeFCCHdbsTPnJ94r6_r70,2817
|
30
|
-
argenta-1.0.
|
31
|
-
argenta-1.0.
|
32
|
-
argenta-1.0.
|
33
|
-
argenta-1.0.
|
30
|
+
argenta-1.0.0a2.dist-info/METADATA,sha256=cDVECr_bZaXoYByK3pgEI6EBkK3YGrz-vbmS8vEts5Y,25759
|
31
|
+
argenta-1.0.0a2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
32
|
+
argenta-1.0.0a2.dist-info/licenses/LICENSE,sha256=zmqoGh2n5rReBv4s8wPxF_gZEZDgauJYSPMuPczgOiU,1082
|
33
|
+
argenta-1.0.0a2.dist-info/RECORD,,
|
File without changes
|
File without changes
|