You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[![Pypi][3]][4][![Github][5]][6][![PythonVers][8]][4][![Travis building][10]][11][![Codacy][12]][13][![Codacy coverage][14]][13][![Chat on gitter][17]][18]
4
4
5
5
Dark magics about variable names in python
6
6
7
+
[Change Log][16] | [API][15]
8
+
7
9
## Installation
8
10
```shell
9
11
pip install python-varname
10
12
```
11
13
12
14
## Features
13
15
14
-
- Fetching variable names from inside the function/class call
15
-
- Fetching variable names directly (added in `v0.1.2`)
16
-
- A value wrapper to store the variable name that a value is assigned to (added in `v0.1.1`)
17
-
- Detecting next immediate attribute name (added in `v0.1.4`)
18
-
- Shortcut for `collections.namedtuple` (added in `v0.1.6`)
19
-
- Injecting `__varname__` to objects (added in `v0.1.7`)
16
+
- Fetching variable names from inside the function/class call using `varname`
17
+
- Fetching variable names directly using `nameof`
18
+
- A value wrapper to store the variable name that a value is assigned to using `Wrapper`
19
+
- Detecting next immediate attribute name using `will`
0 commit comments