Skip to content

Commit 2a9681d

Browse files
Adjust the order of sections
1 parent 20fae8b commit 2a9681d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,6 @@ It can help you create a routing mechanism for your web servers or frameworks.
1313

1414
It's a thin wrapper of [denoland/rust-urlpattern](https://github.com/denoland/rust-urlpattern) with [PyO3](https://github.com/PyO3/pyo3) + [Maturin](https://github.com/PyO3/maturin).
1515

16-
## Installation
17-
18-
On Linux/UNIX or macOS:
19-
20-
```sh
21-
pip install urlpattern
22-
```
23-
24-
On Windows:
25-
26-
```sh
27-
py -m pip install urlpattern
28-
```
29-
3016
## Example
3117

3218
```py
@@ -40,3 +26,17 @@ result = pattern.exec("/abc/def", "https://test.example")
4026
print(result["pathname"]["groups"]["foo"]) # output: abc
4127
print(result["pathname"]["groups"]["bar"]) # output: def
4228
```
29+
30+
## Installation
31+
32+
On Linux/UNIX or macOS:
33+
34+
```sh
35+
pip install urlpattern
36+
```
37+
38+
On Windows:
39+
40+
```sh
41+
py -m pip install urlpattern
42+
```

0 commit comments

Comments
 (0)