1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-23 00:29:59 +02:00

Commit Graph

  • 14a237749c type annotation cleanup Kelly Brazil 2022-10-19 13:32:16 -07:00
  • 1559c4751e type annotate decorator function Kelly Brazil 2022-10-19 12:02:12 -07:00
  • af7c4ce8ec doc update Kelly Brazil 2022-10-19 08:33:09 -07:00
  • 5763ce6160 Don't get too fancy with dict type annotations Kelly Brazil 2022-10-19 08:30:09 -07:00
  • d7ca6caae8 use jc_types Kelly Brazil 2022-10-18 15:46:29 -07:00
  • 2c4f232aaa use jc_types Kelly Brazil 2022-10-18 15:45:29 -07:00
  • bddfa71fa6 use object for typing since these functions accept other types Kelly Brazil 2022-10-18 15:44:53 -07:00
  • f537ab058b use Tuple for <3.9 compatibility Kelly Brazil 2022-10-18 11:27:12 -07:00
  • 1b44b5b05a use typing Tuple for <3.9 compatibility Kelly Brazil 2022-10-18 11:24:55 -07:00
  • f6e971c652 fix metadata return type Kelly Brazil 2022-10-18 11:04:08 -07:00
  • dfa7a71f53 move custom types to jc_types Kelly Brazil 2022-10-18 11:01:59 -07:00
  • 3639e02843 doc update Kelly Brazil 2022-10-18 09:37:10 -07:00
  • 27b6e79c8a ignore mocking typing errors Kelly Brazil 2022-10-18 09:36:17 -07:00
  • f370151b54 make iso_datetime deprecated only. no need to make hidden. Kelly Brazil 2022-10-18 09:35:59 -07:00
  • 597a8f468e normalize show_hidden and show_deprecated to be False by default Kelly Brazil 2022-10-18 09:35:24 -07:00
  • 8bd7a00410 add py.typed to package Kelly Brazil 2022-10-18 09:14:43 -07:00
  • 4867052972 fix AboutJCType Kelly Brazil 2022-10-15 18:27:55 -07:00
  • 688c3a34f6 define CustomColorType Kelly Brazil 2022-10-15 18:21:53 -07:00
  • e357b27433 more granular type annotations Kelly Brazil 2022-10-15 17:53:02 -07:00
  • dd70bf92f3 doc update Kelly Brazil 2022-10-15 14:43:45 -07:00
  • 0a97523928 doc update Kelly Brazil 2022-10-15 14:36:35 -07:00
  • f67bd02283 More granular type annotations Kelly Brazil 2022-10-15 14:34:09 -07:00
  • ef1055a9b6 more granular type annotations Kelly Brazil 2022-10-15 14:06:38 -07:00
  • cd970b5871 TypedDict fixup for older python versions Kelly Brazil 2022-10-15 13:53:56 -07:00
  • 11b0863a65 Use TypedDict for more granular typing Kelly Brazil 2022-10-15 13:44:44 -07:00
  • 5b8cb497de add more type annotations Kelly Brazil 2022-10-14 17:28:34 -07:00
  • 38e2addbb6 simplify type annotation for MetadataType Kelly Brazil 2022-10-14 17:23:38 -07:00
  • 58158ce8b1 add type annotations Kelly Brazil 2022-10-14 17:12:58 -07:00
  • 5ca281f02e add type annotations Kelly Brazil 2022-10-14 15:54:26 -07:00
  • ac39ce6b98 formatting Kelly Brazil 2022-10-14 14:07:05 -07:00
  • 38fb0a6828 allow parser module as parse() argument Kelly Brazil 2022-10-14 14:05:16 -07:00
  • 38c41cfaf4 formatting Kelly Brazil 2022-10-14 13:49:10 -07:00
  • 95ba628ac3 add more type annotations Kelly Brazil 2022-10-14 13:38:05 -07:00
  • a53f2ecbaf split slot info Kelly Brazil 2022-10-12 09:07:17 -07:00
  • aa1ff55bbe lower-case key names Kelly Brazil 2022-10-12 08:48:42 -07:00
  • 097d013447 remove bail if a, h, or v in magic_options to keep from confusing behavior Kelly Brazil 2022-10-11 17:18:55 -07:00
  • 3916623c46 remove multiple ands in conditional Kelly Brazil 2022-10-11 16:22:10 -07:00
  • 42c50c5fa1 remove unneeded fields Kelly Brazil 2022-10-11 13:44:28 -07:00
  • ea515bbecc add show_hidden and show_deprecated tests Kelly Brazil 2022-10-11 12:19:11 -07:00
  • 9f8006060b deprecated parser support in lib Kelly Brazil 2022-10-10 16:34:32 -07:00
  • 6cd51c4426 add ip_split field Kelly Brazil 2022-10-10 12:21:02 -07:00
  • b1e96bb50c add ip_split field Kelly Brazil 2022-10-10 12:19:39 -07:00
  • 50d3bda3b7 prefix ids with underscores for easier querying with jq, etc. Kelly Brazil 2022-10-10 11:37:33 -07:00
  • 3dfa4a1bbc rename iso-datetime to datetime-iso Kelly Brazil 2022-10-09 11:05:32 -07:00
  • d1922acfc8 add datetime_iso tests Kelly Brazil 2022-10-09 11:03:31 -07:00
  • 3947e424e7 rename iso-datetime parser to datetime-iso Kelly Brazil 2022-10-09 11:00:02 -07:00
  • 25e202a09e doc update Kelly Brazil 2022-10-08 09:04:21 -07:00
  • 8eab3c1590 fixes for cli refactor Kelly Brazil 2022-10-08 09:04:04 -07:00
  • 4f294aa0ef add pci_ids parser Kelly Brazil 2022-10-07 16:36:46 -07:00
  • 81aa09a2e2 initial lspci parser Kelly Brazil 2022-10-07 13:06:20 -07:00
  • 10fc8cb48d add udevadm parser Kelly Brazil 2022-10-07 11:28:56 -07:00
  • 186f0708cc doc update Kelly Brazil 2022-10-07 09:34:42 -07:00
  • 622b3ff9ed add __slots__ to timestamp class Kelly Brazil 2022-10-06 09:05:36 -07:00
  • c06963c3d6 doc update Kelly Brazil 2022-10-04 15:16:35 -07:00
  • 9009313748 move error codes from attribute to global constant Kelly Brazil 2022-10-04 15:04:00 -07:00
  • d55a8c3079 clean up exit methods Kelly Brazil 2022-10-04 14:52:51 -07:00
  • fee6a61f19 Merge pull request #299 from kellyjonbrazil/cli-refactor Kelly Brazil 2022-10-04 21:18:58 +00:00
  • 6f1ef09d2a formatting Kelly Brazil 2022-10-04 14:13:48 -07:00
  • cf6c13e605 remove old cli module Kelly Brazil 2022-10-04 14:07:02 -07:00
  • 028f55910a fix for rare instances when the output is a list of lists (yaml | yaml -> json) Kelly Brazil 2022-10-04 12:14:32 -07:00
  • d7684d39a8 set magic_run_command_str in magic_parser Kelly Brazil 2022-10-04 11:48:36 -07:00
  • f652ccd4b1 fix tests for env_colors Kelly Brazil 2022-10-04 11:39:50 -07:00
  • 6be92498bc remove self.env_colors attribute Kelly Brazil 2022-10-04 11:32:18 -07:00
  • 677e04ab7d cleanup Kelly Brazil 2022-10-04 11:15:37 -07:00
  • 46fdc457fc fix exit codes Kelly Brazil 2022-10-04 10:10:59 -07:00
  • 0306b6b73b simplify file open method Kelly Brazil 2022-10-04 09:38:46 -07:00
  • c881653d55 simplify the run() method Kelly Brazil 2022-10-04 09:26:40 -07:00
  • 7650d831e3 add slots Kelly Brazil 2022-10-03 18:03:06 -07:00
  • e7a8cc3b8b fix unbuffer Kelly Brazil 2022-10-03 17:38:55 -07:00
  • d173b2f237 fix magic parser for cases where standard parser is found Kelly Brazil 2022-10-03 15:04:18 -07:00
  • 49ba6ed0f2 formatting Kelly Brazil 2022-10-03 13:13:10 -07:00
  • 2792d05c7f fix magic parser and tests Kelly Brazil 2022-10-03 13:03:42 -07:00
  • cacda0f3cc fix cli tests Kelly Brazil 2022-10-03 12:49:13 -07:00
  • c420547ff8 simplify monochrome settings Kelly Brazil 2022-10-03 11:30:29 -07:00
  • 83d388613f cleanup Kelly Brazil 2022-10-03 08:58:09 -07:00
  • 094b059aea fix magic options Kelly Brazil 2022-10-02 19:30:50 -07:00
  • e36a8c627b fix meta timestamp Kelly Brazil 2022-10-02 18:55:54 -07:00
  • d341e91290 cleanup Kelly Brazil 2022-10-02 18:29:02 -07:00
  • 557afc95bd initial working Kelly Brazil 2022-10-02 18:20:14 -07:00
  • cb9979ac94 refactor cli Kelly Brazil 2022-10-02 16:58:20 -07:00
  • 5486957141 version bump Kelly Brazil 2022-09-29 09:14:53 -07:00
  • d49155df95 make regex patterns raw strings to reduce pytest warnings Kelly Brazil 2022-09-28 15:09:06 -07:00
  • 0dd4b5f620 parser version bump Kelly Brazil 2022-09-28 14:56:37 -07:00
  • 690603bfda fix proc-pid-stat parser for command names with spaces and newlines Kelly Brazil 2022-09-28 14:55:25 -07:00
  • b877cc9509 Merge pull request #292 from kellyjonbrazil/dev v1.22.0 Kelly Brazil 2022-09-27 19:40:54 +00:00
  • 32fddce8fb Add autocompletions Kelly Brazil 2022-09-27 11:49:41 -07:00
  • 03a2b35846 Add metadata object to empty results list Kelly Brazil 2022-09-27 11:11:16 -07:00
  • 086cdc559c version bump Kelly Brazil 2022-09-26 19:50:39 -07:00
  • 97eefe28f1 doc fixes Kelly Brazil 2022-09-26 19:41:35 -07:00
  • 32019c99f4 check git diff 5 commits back before generating parser doc Kelly Brazil 2022-09-26 19:21:25 -07:00
  • f30e15159f finalize shell completions Kelly Brazil 2022-09-26 16:59:55 -07:00
  • efd0bae0d6 add /proc shel completions Kelly Brazil 2022-09-26 15:46:59 -07:00
  • 253aa03e07 fix parser order Kelly Brazil 2022-09-26 13:32:33 -07:00
  • 32183118de update parser order Kelly Brazil 2022-09-26 13:30:52 -07:00
  • 6c8ad1139c add proc-net-unix parser and tests Kelly Brazil 2022-09-26 13:28:21 -07:00
  • 980c2907ad add proc-net-route parser and tests Kelly Brazil 2022-09-26 13:16:18 -07:00
  • 00129f4b40 doc update Kelly Brazil 2022-09-26 11:41:23 -07:00
  • f178bea0d0 add signature detection tests for the proc parser Kelly Brazil 2022-09-26 11:33:48 -07:00
  • c583598257 add proc-net-protocols parser and tests Kelly Brazil 2022-09-26 08:28:48 -07:00
  • 1e14425555 add proc-net-packet parser and tests Kelly Brazil 2022-09-25 20:14:53 -07:00