1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00
Commit Graph

2329 Commits

Author SHA1 Message Date
5288eb22aa add info about streaming parser performance characteristics 2021-09-16 21:43:36 -07:00
df8387a1a9 streaming parsers cannot be used with the magic syntax 2021-09-16 21:37:54 -07:00
cc38c27f44 formatting 2021-09-16 21:33:57 -07:00
64f5357d69 add streaming parsers section 2021-09-16 21:31:45 -07:00
51debb5649 add vmstat parser and change from linebuffer to unbuffer 2021-09-16 20:45:01 -07:00
b48d05a431 change from line buffer output to unbuffer output 2021-09-16 20:41:56 -07:00
4e7f6b337d simplify yield statements 2021-09-16 20:26:56 -07:00
a509d99caf add stream_success dictionary 2021-09-16 20:25:28 -07:00
481e45fb64 limit parse error msg lenght 2021-09-14 06:02:55 -07:00
e9038e1720 initial streaming ping docs 2021-09-13 21:15:26 -07:00
8fd9e582bf doc update 2021-09-13 21:15:08 -07:00
c1fd6f48a5 add stream_error docs 2021-09-13 21:14:56 -07:00
af615c7f4b add line buffer output option 2021-09-13 21:14:38 -07:00
bf0bc32d7a flush streamed text for better piping experience 2021-09-13 20:51:24 -07:00
2d6b53e012 add pattern support. move unparsable line detection to standard streaming parser style 2021-09-13 19:50:51 -07:00
51271fea0f somewhat working parser 2021-09-13 19:27:34 -07:00
2deb473e0b initial streaming ping parser 2021-09-13 18:36:36 -07:00
23eeb33b3d modify stream_error message 2021-09-13 18:36:19 -07:00
f50dfaef45 use stream_error function for exceptions. raise on non -l ls output 2021-09-13 18:31:52 -07:00
55bb71e9d4 add streaming ping parser. update streaming exception message 2021-09-13 18:30:20 -07:00
dab9357d28 use stream_error function for exceptions 2021-09-13 18:29:49 -07:00
27eb427245 add stream_error function 2021-09-13 18:29:10 -07:00
260f3685d9 add streaming parser template 2021-09-13 15:06:02 -07:00
76e78fc0c3 doc updates 2021-09-13 15:05:49 -07:00
1ac944fa02 add -q option info to docstring 2021-09-13 12:13:14 -07:00
986bc9b042 cleanup unused code 2021-09-13 12:10:02 -07:00
5a7942069b add support for parent field 2021-09-13 10:56:05 -07:00
f6c6fc13ac enhance error msg when streaming parser is used 2021-09-13 08:55:19 -07:00
1d8cfae89f only print _meta object if -q or quiet flag is used. Also, add message to the end of exceptions informing of the -q option to ignore errors 2021-09-12 17:30:56 -07:00
787df51239 remove \n from end of line in exception message 2021-09-12 16:42:47 -07:00
5e7f302a9c Raise exceptions unless the -q or quiet flag are used 2021-09-12 16:35:46 -07:00
3d10fd40b5 remove print flush for better performance. Roll json.JSONDecodeError into the parse try/except block 2021-09-12 16:27:00 -07:00
57e3bf239c formatting for docs 2021-09-10 15:02:15 -07:00
ccb09861e8 formatting for docs 2021-09-10 15:01:02 -07:00
94551d75dd doc update 2021-09-10 14:27:50 -07:00
6e21218425 working prototype of streaming ls parser 2021-09-10 14:14:10 -07:00
ff0fda48fc Merge pull request #168 from kellyjonbrazil/master
Sync master to dev
2021-09-10 08:08:45 -07:00
528aac7ad8 use subprocess in python example 2021-09-08 07:00:50 -07:00
ab482e521d Merge pull request #163 from kellyjonbrazil/dev
Dev v1.16.2
v1.16.2
2021-08-31 09:50:38 -07:00
e08b61fa81 add schema note to sfdisk 2021-08-31 08:54:23 -07:00
ce61bd1d2b add tests for -F fixes 2021-08-31 08:50:42 -07:00
7b708f7518 Don't convert 'size' to int, except for legacy -d support. Change partition table detection logic to fix -F output 2021-08-31 08:39:54 -07:00
89ca50c7fc add -l to sfdisk raw example 2021-08-30 21:56:36 -07:00
fb54899dcc doc update 2021-08-30 21:53:40 -07:00
0a625ad7dd remove unneeded lines 2021-08-30 21:52:55 -07:00
d32e45efbe add sfdisk tests 2021-08-30 21:49:07 -07:00
c77696bc78 version bump 2021-08-30 20:55:26 -07:00
736fde9e78 add support for newer versions of sfdisk 2021-08-30 20:51:19 -07:00
9c1ad92fed fix examples 2021-08-26 10:31:51 -07:00
1a9fd2139d add "For new parsers:" 2021-08-26 10:29:13 -07:00