Python-varname

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 2

0.4.0

- Change default of `raise_exc` to `True` for all related APIs
- Deprecate `var_0`
- Get rid of `VarnameRetrievingWarning`.

0.3.0

- Use sys._getframe instead of inspect.stack for efficiency (9)
- Add alternative way of testing bytecode nameof (10)
- Drop support for pytest, don't try to find node when executing fails
- Remodel `will` for better logic
- Support attributes in varname and nameof (14)

0.2.0

- Fix 5 and fit nameof in more cases

0.1.7

- Add `inject` function

0.1.6

- Fit situations when frames cannot be fetched
- Add shortcut for `namedtuple`

0.1.5

- Fix `will` from a property call

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.