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.
@@ -1,4 +1,4 @@
1
- # This file is autogenerated by maturin v1.12.0
1
+ # This file is autogenerated by maturin v1.12.3
2
2
  # To update, run
3
3
  #
4
4
  # maturin generate-ci github
@@ -195,9 +195,9 @@ dependencies = [
195
195
 
196
196
  [[package]]
197
197
  name = "pyo3"
198
- version = "0.28.1"
198
+ version = "0.28.2"
199
199
  source = "registry+https://github.com/rust-lang/crates.io-index"
200
- checksum = "14c738662e2181be11cb82487628404254902bb3225d8e9e99c31f3ef82a405c"
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.1"
212
+ version = "0.28.2"
213
213
  source = "registry+https://github.com/rust-lang/crates.io-index"
214
- checksum = "f9ca0864a7dd3c133a7f3f020cbff2e12e88420da854c35540fd20ce2d60e435"
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.1"
221
+ version = "0.28.2"
222
222
  source = "registry+https://github.com/rust-lang/crates.io-index"
223
- checksum = "9dfc1956b709823164763a34cc42bbfd26b8730afa77809a3df8b94a3ae3b059"
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.1"
231
+ version = "0.28.2"
232
232
  source = "registry+https://github.com/rust-lang/crates.io-index"
233
- checksum = "29dc660ad948bae134d579661d08033fbb1918f4529c3bbe3257a68f2009ddf2"
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.1"
243
+ version = "0.28.2"
244
244
  source = "registry+https://github.com/rust-lang/crates.io-index"
245
- checksum = "e78cd6c6d718acfcedf26c3d21fe0f053624368b0d44298c55d7138fde9331f7"
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.9"
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.115"
344
+ version = "2.0.117"
345
345
  source = "registry+https://github.com/rust-lang/crates.io-index"
346
- checksum = "6e614ed320ac28113fa64972c4262d5dbc89deacdfd00c34a3e4cea073243c12"
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.4"
366
+ version = "0.13.5"
367
367
  source = "registry+https://github.com/rust-lang/crates.io-index"
368
- checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba"
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.23"
382
+ version = "1.0.24"
383
383
  source = "registry+https://github.com/rust-lang/crates.io-index"
384
- checksum = "537dd038a89878be9b64dd4bd1b260315c1bb94f4d784956b81e27a088d9a09e"
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.9"
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.0"
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.9
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({"pathname": "/admin/*"}, "https://example.com")
98
- print(pattern.test({"pathname": "/admin/main/"}, "https://example.com")) # output: True
99
- print(pattern.test("/admin/main/", "https://example.com")) # output: True
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({"pathname": "/admin/*"}, "https://example.com")
66
- print(pattern.test({"pathname": "/admin/main/"}, "https://example.com")) # output: True
67
- print(pattern.test("/admin/main/", "https://example.com")) # output: True
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