urlpattern 0.1.9__tar.gz → 0.1.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {urlpattern-0.1.9 → urlpattern-0.1.10}/.github/workflows/CI.yml +1 -1
- {urlpattern-0.1.9 → urlpattern-0.1.10}/Cargo.lock +17 -17
- {urlpattern-0.1.9 → urlpattern-0.1.10}/Cargo.toml +2 -2
- {urlpattern-0.1.9 → urlpattern-0.1.10}/PKG-INFO +7 -4
- {urlpattern-0.1.9 → urlpattern-0.1.10}/README.md +6 -3
- {urlpattern-0.1.9 → urlpattern-0.1.10}/.devcontainer/devcontainer.json +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/.github/dependabot.yml +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/.gitignore +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/.vscode/extensions.json +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/.vscode/settings.json +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/LICENSE +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/pyproject.toml +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/src/lib.rs +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/tests/__init__.py +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/tests/test_lib.py +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/tests/urlpatterntestdata.json +0 -0
- {urlpattern-0.1.9 → urlpattern-0.1.10}/urlpattern.pyi +0 -0
|
@@ -195,9 +195,9 @@ dependencies = [
|
|
|
195
195
|
|
|
196
196
|
[[package]]
|
|
197
197
|
name = "pyo3"
|
|
198
|
-
version = "0.28.
|
|
198
|
+
version = "0.28.2"
|
|
199
199
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
-
checksum = "
|
|
200
|
+
checksum = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1"
|
|
201
201
|
dependencies = [
|
|
202
202
|
"libc",
|
|
203
203
|
"once_cell",
|
|
@@ -209,18 +209,18 @@ dependencies = [
|
|
|
209
209
|
|
|
210
210
|
[[package]]
|
|
211
211
|
name = "pyo3-build-config"
|
|
212
|
-
version = "0.28.
|
|
212
|
+
version = "0.28.2"
|
|
213
213
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
-
checksum = "
|
|
214
|
+
checksum = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7"
|
|
215
215
|
dependencies = [
|
|
216
216
|
"target-lexicon",
|
|
217
217
|
]
|
|
218
218
|
|
|
219
219
|
[[package]]
|
|
220
220
|
name = "pyo3-ffi"
|
|
221
|
-
version = "0.28.
|
|
221
|
+
version = "0.28.2"
|
|
222
222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
-
checksum = "
|
|
223
|
+
checksum = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc"
|
|
224
224
|
dependencies = [
|
|
225
225
|
"libc",
|
|
226
226
|
"pyo3-build-config",
|
|
@@ -228,9 +228,9 @@ dependencies = [
|
|
|
228
228
|
|
|
229
229
|
[[package]]
|
|
230
230
|
name = "pyo3-macros"
|
|
231
|
-
version = "0.28.
|
|
231
|
+
version = "0.28.2"
|
|
232
232
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
-
checksum = "
|
|
233
|
+
checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
|
|
234
234
|
dependencies = [
|
|
235
235
|
"proc-macro2",
|
|
236
236
|
"pyo3-macros-backend",
|
|
@@ -240,9 +240,9 @@ dependencies = [
|
|
|
240
240
|
|
|
241
241
|
[[package]]
|
|
242
242
|
name = "pyo3-macros-backend"
|
|
243
|
-
version = "0.28.
|
|
243
|
+
version = "0.28.2"
|
|
244
244
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
-
checksum = "
|
|
245
|
+
checksum = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a"
|
|
246
246
|
dependencies = [
|
|
247
247
|
"heck",
|
|
248
248
|
"proc-macro2",
|
|
@@ -253,7 +253,7 @@ dependencies = [
|
|
|
253
253
|
|
|
254
254
|
[[package]]
|
|
255
255
|
name = "python-urlpattern"
|
|
256
|
-
version = "0.1.
|
|
256
|
+
version = "0.1.10"
|
|
257
257
|
dependencies = [
|
|
258
258
|
"pyo3",
|
|
259
259
|
"urlpattern",
|
|
@@ -341,9 +341,9 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
|
|
|
341
341
|
|
|
342
342
|
[[package]]
|
|
343
343
|
name = "syn"
|
|
344
|
-
version = "2.0.
|
|
344
|
+
version = "2.0.117"
|
|
345
345
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
|
-
checksum = "
|
|
346
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
347
347
|
dependencies = [
|
|
348
348
|
"proc-macro2",
|
|
349
349
|
"quote",
|
|
@@ -363,9 +363,9 @@ dependencies = [
|
|
|
363
363
|
|
|
364
364
|
[[package]]
|
|
365
365
|
name = "target-lexicon"
|
|
366
|
-
version = "0.13.
|
|
366
|
+
version = "0.13.5"
|
|
367
367
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
368
|
-
checksum = "
|
|
368
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
369
369
|
|
|
370
370
|
[[package]]
|
|
371
371
|
name = "tinystr"
|
|
@@ -379,9 +379,9 @@ dependencies = [
|
|
|
379
379
|
|
|
380
380
|
[[package]]
|
|
381
381
|
name = "unicode-ident"
|
|
382
|
-
version = "1.0.
|
|
382
|
+
version = "1.0.24"
|
|
383
383
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
384
|
-
checksum = "
|
|
384
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
385
385
|
|
|
386
386
|
[[package]]
|
|
387
387
|
name = "url"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "python-urlpattern"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.10"
|
|
4
4
|
authors = ["방성범 (Bang Seongbeom) <bangseongbeom@gmail.com>"]
|
|
5
5
|
edition = "2024"
|
|
6
6
|
description = "An implementation of the URL Pattern Standard for Python written in Rust."
|
|
@@ -15,5 +15,5 @@ readme = "README.md"
|
|
|
15
15
|
crate-type = ["cdylib"]
|
|
16
16
|
|
|
17
17
|
[dependencies]
|
|
18
|
-
pyo3 = "0.28.
|
|
18
|
+
pyo3 = "0.28.2"
|
|
19
19
|
deno_urlpattern = { package = "urlpattern", version = "0.6.0" }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: urlpattern
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.10
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -94,9 +94,12 @@ print(result["pathname"]["groups"]["id"]) # output: 4163
|
|
|
94
94
|
```py
|
|
95
95
|
from urlpattern import URLPattern
|
|
96
96
|
|
|
97
|
-
pattern = URLPattern(
|
|
98
|
-
print(pattern.test(
|
|
99
|
-
print(pattern.test("
|
|
97
|
+
pattern = URLPattern("b", "https://example.com/a/")
|
|
98
|
+
print(pattern.test("a/b", "https://example.com/")) # output: True
|
|
99
|
+
print(pattern.test("b", "https://example.com/a/")) # output: True
|
|
100
|
+
print(
|
|
101
|
+
pattern.test({"pathname": "b", "baseURL": "https://example.com/a/"})
|
|
102
|
+
) # output: True
|
|
100
103
|
```
|
|
101
104
|
|
|
102
105
|
### `ignoreCase`
|
|
@@ -62,9 +62,12 @@ print(result["pathname"]["groups"]["id"]) # output: 4163
|
|
|
62
62
|
```py
|
|
63
63
|
from urlpattern import URLPattern
|
|
64
64
|
|
|
65
|
-
pattern = URLPattern(
|
|
66
|
-
print(pattern.test(
|
|
67
|
-
print(pattern.test("
|
|
65
|
+
pattern = URLPattern("b", "https://example.com/a/")
|
|
66
|
+
print(pattern.test("a/b", "https://example.com/")) # output: True
|
|
67
|
+
print(pattern.test("b", "https://example.com/a/")) # output: True
|
|
68
|
+
print(
|
|
69
|
+
pattern.test({"pathname": "b", "baseURL": "https://example.com/a/"})
|
|
70
|
+
) # output: True
|
|
68
71
|
```
|
|
69
72
|
|
|
70
73
|
### `ignoreCase`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|