jpcli 0.2.0__py3-none-any.whl → 0.3.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.
- jpcli/main.py +2 -2
- {jpcli-0.2.0.dist-info → jpcli-0.3.0.dist-info}/METADATA +1 -5
- {jpcli-0.2.0.dist-info → jpcli-0.3.0.dist-info}/RECORD +7 -7
- {jpcli-0.2.0.dist-info → jpcli-0.3.0.dist-info}/WHEEL +1 -1
- {jpcli-0.2.0.dist-info → jpcli-0.3.0.dist-info}/entry_points.txt +0 -1
- {jpcli-0.2.0.dist-info → jpcli-0.3.0.dist-info}/LICENCE +0 -0
- {jpcli-0.2.0.dist-info → jpcli-0.3.0.dist-info}/top_level.txt +0 -0
jpcli/main.py
CHANGED
@@ -27,8 +27,8 @@ def parse_command_output(command_output, parser_name):
|
|
27
27
|
'cmdline': cmdline_parser.parse,
|
28
28
|
'os-release': os_release_parser.parse,
|
29
29
|
'dmesg': dmesg_parser.parse,
|
30
|
-
'journalctl'
|
31
|
-
'mcelog'
|
30
|
+
'journalctl': journalctl_parser.parse,
|
31
|
+
'mcelog': mcelog_parser.parse,
|
32
32
|
}
|
33
33
|
if parser_name in parsers:
|
34
34
|
return parsers[parser_name](command_output)
|
@@ -1,12 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: jpcli
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.0
|
4
4
|
Summary: A library to convert Linux command output to JSON
|
5
5
|
Home-page: https://github.com/JaimeAdanCuevas/jpcli
|
6
6
|
Author: Jaime Cuevas
|
7
7
|
Author-email: adancuevas@outlook.com
|
8
|
-
License: UNKNOWN
|
9
|
-
Platform: UNKNOWN
|
10
8
|
Classifier: Programming Language :: Python :: 3
|
11
9
|
Classifier: License :: OSI Approved :: MIT License
|
12
10
|
Classifier: Operating System :: OS Independent
|
@@ -23,5 +21,3 @@ jpcli is a library that converts the output of various Linux commands to JSON fo
|
|
23
21
|
```sh
|
24
22
|
pip install jpcli
|
25
23
|
|
26
|
-
|
27
|
-
|
@@ -1,5 +1,5 @@
|
|
1
1
|
jpcli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
jpcli/main.py,sha256=
|
2
|
+
jpcli/main.py,sha256=yBIyZLm16x3sEI3iBw3uUHjFnJLzUd7evS1qN85M1HU,2610
|
3
3
|
jpcli/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
jpcli/parsers/cmdline_parser.py,sha256=HKiI_iGS1Iy6JKJFLUFPsfxyqYo57rPonKfvFfmQTqg,336
|
5
5
|
jpcli/parsers/cpuinfo_parser.py,sha256=weYBoGBL8e82kkRAtAJvmWOMx-R3L72gRNKmgAg3DWQ,1177
|
@@ -17,9 +17,9 @@ jpcli/parsers/uname_parser.py,sha256=dSPRtiSVxeBt7fdQCjU_zVvf63eU-lwxoOPMlahWkfQ
|
|
17
17
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
18
|
tests/test_lsmem_parser.py,sha256=mRlHTmU2ZmcxPGgcqAv_LNGs56yrwDBiw2-aHKrpuEo,793
|
19
19
|
tests/test_other_command_parser.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
20
|
-
jpcli-0.
|
21
|
-
jpcli-0.
|
22
|
-
jpcli-0.
|
23
|
-
jpcli-0.
|
24
|
-
jpcli-0.
|
25
|
-
jpcli-0.
|
20
|
+
jpcli-0.3.0.dist-info/LICENCE,sha256=-unHZSaIlcrVEVD56Ss5dlOvdgK682a2xitz35UlKt4,1069
|
21
|
+
jpcli-0.3.0.dist-info/METADATA,sha256=1n8NhyvwN28olreU2U7kSTdN0CEaQdmJsRxOktO1m_Y,588
|
22
|
+
jpcli-0.3.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
23
|
+
jpcli-0.3.0.dist-info/entry_points.txt,sha256=HhCHDzZ91U7qT2KJDi76ewNFC1rehEQyD1sP0nIvDw0,42
|
24
|
+
jpcli-0.3.0.dist-info/top_level.txt,sha256=djdbp8mEzCmAEbrMOVEHNW4LIabBwnpLURp2dX_ZQbA,12
|
25
|
+
jpcli-0.3.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|