Skip to content

Commit cd6a18b

Browse files
committed
Add instructions to verify the version
1 parent 897bd6c commit cd6a18b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ poetry add https://github.com/leakix/l9format-python#main
2424

2525
## Documentation
2626

27-
```
27+
```python
2828
from l9format import l9format
2929
l9format.L9Event.from_dict(res)
3030
```
@@ -37,3 +37,9 @@ For instance, `1.3.1-0` will be the first version for `1.3.1` and follow
3737
https://github.com/LeakIX/l9format/releases/tag/v1.3.1. If a change is required
3838
for the Python package, but is the same specification than the Go
3939
implementation, the next release will be `1.3.1-1`.
40+
The version can be verified using
41+
42+
```python
43+
import l9format
44+
l9format.__version__
45+
```

0 commit comments

Comments
 (0)