Skip to content

Commit 68fdb2a

Browse files
authored
Update README.rst
1 parent 5d86efb commit 68fdb2a

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

README.rst

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,23 @@ Installation
2222
------------
2323
Currently the package is not available via PyPi in order to use it
2424
download or clone the repository. cd into the directory and install with:
25-
```
26-
pip install -e .
27-
```
25+
26+
.. code-block:: bash
27+
28+
pip install -e .
29+
2830
2931
Usage
3032
-----
31-
```python
32-
from synop.synop import synop
3333

34-
report = "201809051400 AAXX 05141 10224 42680 50704 10230 20139 30174 40180 58010 81101 333 55309 22094 30345 81845 85080 91007 90710"
34+
.. code-block:: python
35+
36+
from synop.synop import synop
37+
38+
report = "201809051400 AAXX 05141 10224 42680 50704 10230 20139 30174 40180 58010 81101 333 55309 22094 30345 81845 85080 91007 90710"
39+
40+
syn = synop(report)
3541
36-
syn = synop(report)
42+
#get all synop variables as a dict
43+
syn.to_dict()
3744
38-
#get all synop variables as a dict
39-
syn.to_dict()
40-
```

0 commit comments

Comments
 (0)