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
Copy file name to clipboardExpand all lines: README.md
+20-11Lines changed: 20 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,26 +8,35 @@ This is a proof of concept draft, to test scripting utilities using stack-graphs
8
8
9
9
It uses pyo3 and maturin to generate the bindings.
10
10
11
-
## Ressources
11
+
## Installation & Usage
12
12
13
-
https://pyo3.rs/v0.21.2/getting-started
14
-
15
-
## Setup
13
+
```bash
14
+
pip install stack-graphs-python-bindings # or poetry, ...
15
+
```
16
16
17
-
TODO
17
+
```python
18
+
from stack_graphs_python import index, query_definition, Position
18
19
19
-
```bash
20
-
pipx install maturin
20
+
# ...
21
21
```
22
22
23
+
You can refer to the example in [test/test.py](https://github.com/nohehf/stack-graphs-python-bindings/blob/main/tests/test.py) for a concrete usage example.
0 commit comments