Skip to content

0.7

Compare
Choose a tag to compare
@simonw simonw released this 23 Jun 03:27
· 23 commits to main since this release
  • --stdlib option for searching for code within the Python standard library. #29
  • -m modulename option for searching for code within one or more specific importable modules. #30
  • -i/--imports option causing symbex to output comments with # from module import function_name comments. #26
  • Imports are calculated relative to the -d option used to run the script, but you can have them calculated against other directories by passing one or more --sys-path options.
  • -n/--no-file option for suppressing the # File: ... lines in the output. #28
  • The -ni shortcut can be used to apply both --imports and --no-file at once.
  • -x/--exclude DIR option for excluding a directory from being included in the search. #27
  • --no-init option for filtering out __init__ methods. This is especially useful when combined with --fully-typed as it lets you see every class method that has full type annotations, excluding those __init__ methods: symbex '*.*' --fully-typed --no-init
  • If a file cannot be read due to a Unicode error a warning will now be shown, unless --silent is passed.
  • --docs is now available as a shortcut for --docstrings.
  • symbex can now be installed using Homebrew: brew install simonw/llm/symbex.