PyStreamPDF 2.2.0__tar.gz → 2.3.1__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.
Files changed (82) hide show
  1. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/Cargo.lock +64 -93
  2. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/Cargo.toml +3 -3
  3. pystreampdf-2.3.1/LICENSE +202 -0
  4. pystreampdf-2.3.1/PKG-INFO +216 -0
  5. pystreampdf-2.3.1/README.md +179 -0
  6. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/Cargo.toml +1 -1
  7. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/index.rs +24 -1
  8. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/pyproject.toml +20 -4
  9. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/Cargo.toml +1 -1
  10. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/__init__.py +33 -32
  11. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/_mcp_connector.py +6 -7
  12. pystreampdf-2.3.1/python/pystreampdf/_mcp_tools.py +539 -0
  13. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/cache.py +30 -15
  14. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/cli.py +2 -1
  15. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/cli_daemon.py +21 -17
  16. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/cli_dashboard.py +22 -26
  17. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/excel_export.py +19 -19
  18. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/extraction.py +27 -29
  19. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/intelligence/code_intelligence.py +5 -6
  20. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/intelligence/json_intelligence.py +4 -4
  21. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/intelligence/log_intelligence.py +4 -4
  22. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/intelligence/sql_intelligence.py +8 -8
  23. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/intelligence/types.py +4 -4
  24. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/intelligence/yaml_intelligence.py +9 -11
  25. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/ocr/manager.py +12 -8
  26. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/ocr/pipeline.py +3 -3
  27. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/ocr/provider.py +5 -9
  28. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/ocr/providers/__init__.py +1 -1
  29. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/ocr/providers/paddle.py +8 -4
  30. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/ocr/providers/tesseract.py +12 -5
  31. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/okf_entity_profiles.py +4 -4
  32. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/optimization/__init__.py +14 -14
  33. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/optimization/chunking.py +10 -10
  34. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/optimization/compressor.py +2 -3
  35. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/optimization/metadata.py +8 -8
  36. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/optimization/selector.py +7 -7
  37. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/pipeline.py +14 -15
  38. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/__init__.py +20 -20
  39. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/assembler.py +27 -17
  40. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/citations.py +3 -3
  41. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/entities.py +14 -14
  42. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/graph.py +19 -19
  43. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/relationships.py +10 -10
  44. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/topics.py +4 -6
  45. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/semantic/verifier.py +15 -16
  46. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/structure/__init__.py +15 -15
  47. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/structure/builder.py +25 -25
  48. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/structure/exporters.py +4 -4
  49. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/structure/recovery.py +35 -44
  50. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/structure/relationships.py +7 -9
  51. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/token_budget.py +7 -7
  52. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/tokenizer.py +11 -4
  53. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/validation/__init__.py +7 -7
  54. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/validation/layout.py +5 -6
  55. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/validation/scorer.py +5 -5
  56. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/validation/table.py +5 -5
  57. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/validation/text.py +22 -33
  58. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/validation/types.py +5 -5
  59. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/src/lib.rs +4 -4
  60. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/streampdf/cli.py +1 -2
  61. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/streampdf/server.py +13 -13
  62. pystreampdf-2.2.0/LICENSE +0 -22
  63. pystreampdf-2.2.0/PKG-INFO +0 -252
  64. pystreampdf-2.2.0/README.md +0 -216
  65. pystreampdf-2.2.0/python/pystreampdf/_mcp_tools.py +0 -271
  66. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/audit.rs +0 -0
  67. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/context.rs +0 -0
  68. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/document.rs +0 -0
  69. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/error.rs +0 -0
  70. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/forms.rs +0 -0
  71. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/heading_extractor.rs +0 -0
  72. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/lib.rs +0 -0
  73. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/markdown.rs +0 -0
  74. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/navigator.rs +0 -0
  75. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/page.rs +0 -0
  76. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/pdf_parser.rs +0 -0
  77. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/security.rs +0 -0
  78. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/core/src/structure.rs +0 -0
  79. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/intelligence/__init__.py +4 -4
  80. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/ocr/__init__.py +4 -4
  81. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/scripts/__init__.py +0 -0
  82. {pystreampdf-2.2.0 → pystreampdf-2.3.1}/python/pystreampdf/scripts/post_install.py +0 -0
@@ -31,9 +31,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
31
31
 
32
32
  [[package]]
33
33
  name = "bitflags"
34
- version = "2.13.1"
34
+ version = "2.13.2"
35
35
  source = "registry+https://github.com/rust-lang/crates.io-index"
36
- checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
36
+ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
37
37
 
38
38
  [[package]]
39
39
  name = "block-buffer"
@@ -76,9 +76,9 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
76
76
 
77
77
  [[package]]
78
78
  name = "cc"
79
- version = "1.4.2"
79
+ version = "1.8.0"
80
80
  source = "registry+https://github.com/rust-lang/crates.io-index"
81
- checksum = "5d262e149917187838d5b42777c8253bcb64500067342904e7d429499a6f277e"
81
+ checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838"
82
82
  dependencies = [
83
83
  "find-msvc-tools",
84
84
  "shlex",
@@ -86,9 +86,9 @@ dependencies = [
86
86
 
87
87
  [[package]]
88
88
  name = "cfg-if"
89
- version = "1.0.4"
89
+ version = "1.0.5"
90
90
  source = "registry+https://github.com/rust-lang/crates.io-index"
91
- checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
91
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
92
92
 
93
93
  [[package]]
94
94
  name = "chrono"
@@ -160,9 +160,9 @@ dependencies = [
160
160
 
161
161
  [[package]]
162
162
  name = "either"
163
- version = "1.17.0"
163
+ version = "1.19.0"
164
164
  source = "registry+https://github.com/rust-lang/crates.io-index"
165
- checksum = "9e5e8f6c15a24b9a3ee5efec809ccd006d3b30e8b3bb63c39af737c7f87daa1d"
165
+ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
166
166
 
167
167
  [[package]]
168
168
  name = "errno"
@@ -188,9 +188,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
188
188
 
189
189
  [[package]]
190
190
  name = "find-msvc-tools"
191
- version = "0.1.10"
191
+ version = "0.1.14"
192
192
  source = "registry+https://github.com/rust-lang/crates.io-index"
193
- checksum = "26b73573e6edcd2af0cdf47bd6cb58f0b3839491263c314eaad1ccf24430e1de"
193
+ checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
194
194
 
195
195
  [[package]]
196
196
  name = "futures-core"
@@ -288,15 +288,6 @@ dependencies = [
288
288
  "zune-jpeg",
289
289
  ]
290
290
 
291
- [[package]]
292
- name = "indoc"
293
- version = "2.0.7"
294
- source = "registry+https://github.com/rust-lang/crates.io-index"
295
- checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
296
- dependencies = [
297
- "rustversion",
298
- ]
299
-
300
291
  [[package]]
301
292
  name = "itertools"
302
293
  version = "0.15.0"
@@ -314,9 +305,9 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
314
305
 
315
306
  [[package]]
316
307
  name = "js-sys"
317
- version = "0.3.104"
308
+ version = "0.3.106"
318
309
  source = "registry+https://github.com/rust-lang/crates.io-index"
319
- checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a"
310
+ checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
320
311
  dependencies = [
321
312
  "cfg-if",
322
313
  "futures-util",
@@ -325,9 +316,9 @@ dependencies = [
325
316
 
326
317
  [[package]]
327
318
  name = "libc"
328
- version = "0.2.189"
319
+ version = "0.2.190"
329
320
  source = "registry+https://github.com/rust-lang/crates.io-index"
330
- checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
321
+ checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
331
322
 
332
323
  [[package]]
333
324
  name = "libloading"
@@ -361,9 +352,9 @@ dependencies = [
361
352
 
362
353
  [[package]]
363
354
  name = "log"
364
- version = "0.4.33"
355
+ version = "0.4.34"
365
356
  source = "registry+https://github.com/rust-lang/crates.io-index"
366
- checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
357
+ checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
367
358
 
368
359
  [[package]]
369
360
  name = "maybe-owned"
@@ -377,20 +368,11 @@ version = "2.8.3"
377
368
  source = "registry+https://github.com/rust-lang/crates.io-index"
378
369
  checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
379
370
 
380
- [[package]]
381
- name = "memoffset"
382
- version = "0.9.1"
383
- source = "registry+https://github.com/rust-lang/crates.io-index"
384
- checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
385
- dependencies = [
386
- "autocfg",
387
- ]
388
-
389
371
  [[package]]
390
372
  name = "mio"
391
- version = "1.2.2"
373
+ version = "1.2.4"
392
374
  source = "registry+https://github.com/rust-lang/crates.io-index"
393
- checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427"
375
+ checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
394
376
  dependencies = [
395
377
  "libc",
396
378
  "wasi",
@@ -485,9 +467,9 @@ checksum = "ad78bf43dcf80e8f950c92b84f938a0fc7590b7f6866fbcbeca781609c115590"
485
467
 
486
468
  [[package]]
487
469
  name = "pkg-config"
488
- version = "0.3.33"
470
+ version = "0.3.34"
489
471
  source = "registry+https://github.com/rust-lang/crates.io-index"
490
- checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
472
+ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
491
473
 
492
474
  [[package]]
493
475
  name = "portable-atomic"
@@ -512,37 +494,32 @@ checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
512
494
 
513
495
  [[package]]
514
496
  name = "pyo3"
515
- version = "0.23.5"
497
+ version = "0.29.3"
516
498
  source = "registry+https://github.com/rust-lang/crates.io-index"
517
- checksum = "7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872"
499
+ checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
518
500
  dependencies = [
519
- "cfg-if",
520
- "indoc",
521
501
  "libc",
522
- "memoffset",
523
502
  "once_cell",
524
503
  "portable-atomic",
525
504
  "pyo3-build-config",
526
505
  "pyo3-ffi",
527
506
  "pyo3-macros",
528
- "unindent",
529
507
  ]
530
508
 
531
509
  [[package]]
532
510
  name = "pyo3-build-config"
533
- version = "0.23.5"
511
+ version = "0.29.3"
534
512
  source = "registry+https://github.com/rust-lang/crates.io-index"
535
- checksum = "94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb"
513
+ checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
536
514
  dependencies = [
537
- "once_cell",
538
515
  "target-lexicon",
539
516
  ]
540
517
 
541
518
  [[package]]
542
519
  name = "pyo3-ffi"
543
- version = "0.23.5"
520
+ version = "0.29.3"
544
521
  source = "registry+https://github.com/rust-lang/crates.io-index"
545
- checksum = "e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d"
522
+ checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
546
523
  dependencies = [
547
524
  "libc",
548
525
  "pyo3-build-config",
@@ -550,9 +527,9 @@ dependencies = [
550
527
 
551
528
  [[package]]
552
529
  name = "pyo3-macros"
553
- version = "0.23.5"
530
+ version = "0.29.3"
554
531
  source = "registry+https://github.com/rust-lang/crates.io-index"
555
- checksum = "fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da"
532
+ checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
556
533
  dependencies = [
557
534
  "proc-macro2",
558
535
  "pyo3-macros-backend",
@@ -562,20 +539,19 @@ dependencies = [
562
539
 
563
540
  [[package]]
564
541
  name = "pyo3-macros-backend"
565
- version = "0.23.5"
542
+ version = "0.29.3"
566
543
  source = "registry+https://github.com/rust-lang/crates.io-index"
567
- checksum = "fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028"
544
+ checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
568
545
  dependencies = [
569
546
  "heck",
570
547
  "proc-macro2",
571
- "pyo3-build-config",
572
548
  "quote",
573
549
  "syn 2.0.119",
574
550
  ]
575
551
 
576
552
  [[package]]
577
553
  name = "pystreampdf"
578
- version = "2.2.0"
554
+ version = "2.3.1"
579
555
  dependencies = [
580
556
  "chrono",
581
557
  "pyo3",
@@ -654,14 +630,14 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
654
630
  dependencies = [
655
631
  "proc-macro2",
656
632
  "quote",
657
- "syn 3.0.3",
633
+ "syn 3.0.9",
658
634
  ]
659
635
 
660
636
  [[package]]
661
637
  name = "serde_json"
662
- version = "1.0.151"
638
+ version = "1.0.154"
663
639
  source = "registry+https://github.com/rust-lang/crates.io-index"
664
- checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
640
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
665
641
  dependencies = [
666
642
  "itoa",
667
643
  "memchr",
@@ -705,9 +681,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
705
681
 
706
682
  [[package]]
707
683
  name = "smallvec"
708
- version = "1.15.2"
684
+ version = "1.16.3"
709
685
  source = "registry+https://github.com/rust-lang/crates.io-index"
710
- checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
686
+ checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
711
687
 
712
688
  [[package]]
713
689
  name = "socket2"
@@ -721,7 +697,7 @@ dependencies = [
721
697
 
722
698
  [[package]]
723
699
  name = "streampdf-core"
724
- version = "2.2.0"
700
+ version = "2.3.1"
725
701
  dependencies = [
726
702
  "chrono",
727
703
  "pdfium-render",
@@ -748,9 +724,9 @@ dependencies = [
748
724
 
749
725
  [[package]]
750
726
  name = "syn"
751
- version = "3.0.3"
727
+ version = "3.0.9"
752
728
  source = "registry+https://github.com/rust-lang/crates.io-index"
753
- checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
729
+ checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
754
730
  dependencies = [
755
731
  "proc-macro2",
756
732
  "quote",
@@ -759,9 +735,9 @@ dependencies = [
759
735
 
760
736
  [[package]]
761
737
  name = "target-lexicon"
762
- version = "0.12.16"
738
+ version = "0.13.5"
763
739
  source = "registry+https://github.com/rust-lang/crates.io-index"
764
- checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
740
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
765
741
 
766
742
  [[package]]
767
743
  name = "thiserror"
@@ -785,9 +761,9 @@ dependencies = [
785
761
 
786
762
  [[package]]
787
763
  name = "tokio"
788
- version = "1.53.1"
764
+ version = "1.53.2"
789
765
  source = "registry+https://github.com/rust-lang/crates.io-index"
790
- checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed"
766
+ checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044"
791
767
  dependencies = [
792
768
  "bytes",
793
769
  "libc",
@@ -808,7 +784,7 @@ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
808
784
  dependencies = [
809
785
  "proc-macro2",
810
786
  "quote",
811
- "syn 3.0.3",
787
+ "syn 3.0.9",
812
788
  ]
813
789
 
814
790
  [[package]]
@@ -850,15 +826,9 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
850
826
 
851
827
  [[package]]
852
828
  name = "unicode-ident"
853
- version = "1.0.24"
829
+ version = "1.0.27"
854
830
  source = "registry+https://github.com/rust-lang/crates.io-index"
855
- checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
856
-
857
- [[package]]
858
- name = "unindent"
859
- version = "0.2.4"
860
- source = "registry+https://github.com/rust-lang/crates.io-index"
861
- checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
831
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
862
832
 
863
833
  [[package]]
864
834
  name = "utf16string"
@@ -898,9 +868,9 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
898
868
 
899
869
  [[package]]
900
870
  name = "wasm-bindgen"
901
- version = "0.2.127"
871
+ version = "0.2.129"
902
872
  source = "registry+https://github.com/rust-lang/crates.io-index"
903
- checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70"
873
+ checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
904
874
  dependencies = [
905
875
  "cfg-if",
906
876
  "once_cell",
@@ -911,19 +881,20 @@ dependencies = [
911
881
 
912
882
  [[package]]
913
883
  name = "wasm-bindgen-futures"
914
- version = "0.4.77"
884
+ version = "0.4.79"
915
885
  source = "registry+https://github.com/rust-lang/crates.io-index"
916
- checksum = "6b7777d5cc23d0e91404e53ce2d5e8ec7acae3026b16233dba62cd3246457950"
886
+ checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
917
887
  dependencies = [
918
888
  "js-sys",
889
+ "tokio",
919
890
  "wasm-bindgen",
920
891
  ]
921
892
 
922
893
  [[package]]
923
894
  name = "wasm-bindgen-macro"
924
- version = "0.2.127"
895
+ version = "0.2.129"
925
896
  source = "registry+https://github.com/rust-lang/crates.io-index"
926
- checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1"
897
+ checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
927
898
  dependencies = [
928
899
  "quote",
929
900
  "wasm-bindgen-macro-support",
@@ -931,31 +902,31 @@ dependencies = [
931
902
 
932
903
  [[package]]
933
904
  name = "wasm-bindgen-macro-support"
934
- version = "0.2.127"
905
+ version = "0.2.129"
935
906
  source = "registry+https://github.com/rust-lang/crates.io-index"
936
- checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284"
907
+ checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
937
908
  dependencies = [
938
909
  "bumpalo",
939
910
  "proc-macro2",
940
911
  "quote",
941
- "syn 2.0.119",
912
+ "syn 3.0.9",
942
913
  "wasm-bindgen-shared",
943
914
  ]
944
915
 
945
916
  [[package]]
946
917
  name = "wasm-bindgen-shared"
947
- version = "0.2.127"
918
+ version = "0.2.129"
948
919
  source = "registry+https://github.com/rust-lang/crates.io-index"
949
- checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf"
920
+ checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
950
921
  dependencies = [
951
922
  "unicode-ident",
952
923
  ]
953
924
 
954
925
  [[package]]
955
926
  name = "web-sys"
956
- version = "0.3.104"
927
+ version = "0.3.106"
957
928
  source = "registry+https://github.com/rust-lang/crates.io-index"
958
- checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30"
929
+ checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4"
959
930
  dependencies = [
960
931
  "js-sys",
961
932
  "wasm-bindgen",
@@ -1031,18 +1002,18 @@ dependencies = [
1031
1002
 
1032
1003
  [[package]]
1033
1004
  name = "zerocopy"
1034
- version = "0.8.56"
1005
+ version = "0.8.62"
1035
1006
  source = "registry+https://github.com/rust-lang/crates.io-index"
1036
- checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb"
1007
+ checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d"
1037
1008
  dependencies = [
1038
1009
  "zerocopy-derive",
1039
1010
  ]
1040
1011
 
1041
1012
  [[package]]
1042
1013
  name = "zerocopy-derive"
1043
- version = "0.8.56"
1014
+ version = "0.8.62"
1044
1015
  source = "registry+https://github.com/rust-lang/crates.io-index"
1045
- checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1"
1016
+ checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a"
1046
1017
  dependencies = [
1047
1018
  "proc-macro2",
1048
1019
  "quote",
@@ -3,11 +3,11 @@ members = ["core", "python"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "2.2.0"
6
+ version = "2.3.1"
7
7
  edition = "2021"
8
8
  authors = ["Georgi Mammen Mullassery <mullassery@gmail.com>"]
9
- license = "Proprietary"
10
- repository = "https://github.com/Mullassery/StreamPDF"
9
+ license = "Apache-2.0"
10
+ repository = "https://github.com/Mullassery/PyStreamPDF"
11
11
  keywords = ["pdf", "retrieval", "rag", "ai", "intelligence"]
12
12
  categories = ["algorithms", "database", "science"]
13
13
 
@@ -0,0 +1,202 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Georgi Mullassery
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+