Symbex

Latest version: v1.4

Safety actively analyzes 688215 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.3

- New `-s/--signatures` option to see just the signatures (first line) of each matching class and function. [4](https://github.com/simonw/symbex/issues/4)
- Class methods can now be searched using `ClassName.method_name`. Wildcards are supported on both sides of this, so you can find all `get_*` methods on all classes using `symbex '*.get_*'`, or all methods on a specific class using `MyClass.*`, or all methods on every class using `*.*`. [9](https://github.com/simonw/symbex/issues/9)

0.2.1

- Fixed bug where `-f file.py` option failed to work. [7](https://github.com/simonw/symbex/issues/7)
- Fixed a bug where `symbex` crashed if it encountered any Python parsing errors. It now shows a warning message about them and continues instead. [6](https://github.com/simonw/symbex/issues/6)
- New `--silent` option to suppress those Python parsing errors.

0.2

- Renamed to `symbex`. [3](https://github.com/simonw/symbex/issues/3)

0.1.2

- Fixed a bug where displayed source code for classes and functions with decorators omitted those decorators. [2](https://github.com/simonw/py-grep/issues/2)

0.1.1

- `py-grep 'test_*'` wildcard support is now documented.
- Fixed formatting of the `py-grep --help` output.

0.1

- Initial release. `py-grep ClassName function_name` will search the current directory recursively for those symbols and output their source code. `-f file.py` will search in one or more specific files, `-d directory` will search within one or more specific directories. [1](https://github.com/simonw/py-grep/issues/1)

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.