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

75 Commits

Author SHA1 Message Date
f5befad3e4 move docstring under __init__ 2022-01-26 14:21:06 -08:00
b3c531193b formatting 2022-01-19 11:08:59 -08:00
1168259bc2 add doc strings 2021-11-30 11:57:04 -08:00
12d2de2282 use jc.utils.input_type_check() and simplify compatibility check 2021-11-30 11:43:06 -08:00
c7bcb0947a indent subsequent error and warning lines 2021-09-26 13:20:42 -07:00
9904e0be61 formatting 2021-09-25 08:28:57 -07:00
31b69b3242 formatting 2021-09-25 08:23:46 -07:00
e6a80fea32 formatting 2021-09-25 08:19:34 -07:00
22e151b01c linting 2021-09-24 08:43:09 -07:00
b7433ed085 auto wrap warning and error messages 2021-09-23 20:53:31 -07:00
e7ddcfb83f change _meta to _jc_meta 2021-09-23 13:07:10 -07:00
98a7686db4 use -qq to ignore streaming exceptions 2021-09-23 11:48:39 -07:00
978760ec57 add exception class name to error string 2021-09-22 19:32:20 -07:00
4e3b471f18 add format for vmstat 2021-09-22 14:06:28 -07:00
9182c54513 formatting 2021-09-17 08:24:56 -07:00
28f0ab0b02 update streaming error messages 2021-09-17 08:21:13 -07:00
130b3738cc shorten successful yield to a single line 2021-09-16 22:32:46 -07:00
a509d99caf add stream_success dictionary 2021-09-16 20:25:28 -07:00
23eeb33b3d modify stream_error message 2021-09-13 18:36:19 -07:00
27eb427245 add stream_error function 2021-09-13 18:29:10 -07:00
db47f35783 add working sfdisk parser 2021-06-30 12:38:36 -07:00
fc57bcfce2 fix for when UTC is referenced as "Coordinated Universal Time" 2021-05-16 20:51:39 -07:00
f46b33eacf add windows time format 2021-05-16 19:20:13 -07:00
f475fe44df add new time format for systeminfo 2021-05-16 19:09:53 -07:00
9747ca414d minor optimization to convert_to_int(). No longer runs through convert_to_float(), but uses standard float() function. 2021-04-20 10:50:20 -07:00
7eddf41c5f dont round up int conversions and fix tests 2021-04-18 17:21:08 -07:00
d36b332bd7 use jc.utils for conversions 2021-04-18 16:33:47 -07:00
246c707c98 use jc.utils conversions 2021-04-18 11:46:42 -07:00
b5d8968144 add convert_to_int function 2021-04-17 17:22:59 -07:00
89f52b95f7 update systeminfo parser with updated timestamps, normalized blank fields, and new doc style 2021-04-14 20:20:46 -07:00
14838f7f5d update schema with nic, hyperv, and process changes 2021-04-14 11:38:50 -05:00
b7dbf2c49b doc formatting 2021-04-06 18:53:50 -07:00
ac932c6e59 update timestamp docs 2021-04-03 14:48:30 -07:00
9559c85057 add windows dir format 2021-04-02 12:01:05 -07:00
fc4082a03f remove old parse_datetime_to_timestamp function 2021-04-01 11:26:02 -07:00
be004b7b3f make parse_datetime_to_timestamp function a class called timestamp for easier use 2021-04-01 11:07:37 -07:00
9767a50ced update who parser to add epoch naive timestamp 2021-03-30 11:59:44 -07:00
daec4ab0a7 add epoch_utc field to timedatectl parser 2021-03-29 21:16:40 -07:00
4c42a086d2 clean up debug code 2021-03-29 20:25:54 -07:00
5d2541a5c4 remove auto c locale and use a manual format rule for windows and linux compatibility 2021-03-29 20:22:35 -07:00
d91d170b49 try manual c locale format for windows 2021-03-29 20:16:05 -07:00
6d1f4584a9 try manually setting time format for windows compatibility 2021-03-29 20:05:42 -07:00
1d76d96bcf debug windows issue 2021-03-29 16:58:57 -07:00
65c3a12e54 simplify None data scenario 2021-03-29 15:32:04 -07:00
507999b117 add stat command timestamp detection 2021-03-29 14:45:13 -07:00
7515218ddd use jc.utils for all warning and error messages. simply error and warning formatting. 2021-03-29 11:42:01 -07:00
398bbac48c simplify return value for parse_datetime_to_timestamp() 2021-03-29 10:23:52 -07:00
26ef298437 change return to always include the entire object but all keys may be None if conversion fails 2021-03-26 14:55:16 -07:00
badaf8ce73 comment formatting 2021-03-26 14:00:33 -07:00
b123a62203 move locale change formats to the end of the list 2021-03-26 13:11:34 -07:00