linkedparticles-core 1.132.1__py3-none-any.whl

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 (99) hide show
  1. linkedparticles_core-1.132.1.dist-info/METADATA +94 -0
  2. linkedparticles_core-1.132.1.dist-info/RECORD +99 -0
  3. linkedparticles_core-1.132.1.dist-info/WHEEL +4 -0
  4. linkedparticles_core-1.132.1.dist-info/licenses/LICENSE +201 -0
  5. linkedparticles_core-1.132.1.dist-info/licenses/NOTICE +18 -0
  6. particles/__init__.py +32 -0
  7. particles/_artifacts/conformance/profile.yaml +468 -0
  8. particles/_artifacts/conformance/similarity_vectors.json +272 -0
  9. particles/_artifacts/schemas/context.jsonld +160 -0
  10. particles/_artifacts/schemas/interchange.schema.json +258 -0
  11. particles/_artifacts/schemas/particle.schema.json +394 -0
  12. particles/_artifacts/schemas/shacl/CorpusSnapshotShape.ttl +46 -0
  13. particles/_artifacts/schemas/shacl/ParticleShape.ttl +374 -0
  14. particles/_artifacts/schemas/shacl/ProvenanceChainShape.ttl +30 -0
  15. particles/_artifacts/schemas/shacl/SubjectShape.ttl +79 -0
  16. particles/_artifacts/schemas/shacl/TrustStatementShape.ttl +71 -0
  17. particles/_artifacts/schemas/trust_lens.schema.json +276 -0
  18. particles/config.py +2899 -0
  19. particles/conformance/__init__.py +1 -0
  20. particles/conformance/_resources.py +14 -0
  21. particles/conformance/contract.py +252 -0
  22. particles/conformance/fixtures.py +202 -0
  23. particles/conformance/jsonschema.py +68 -0
  24. particles/conformance/profile.py +245 -0
  25. particles/conformance/runner.py +269 -0
  26. particles/conformance/shacl.py +260 -0
  27. particles/conformance/types.py +190 -0
  28. particles/conformance/validator.py +438 -0
  29. particles/core/__init__.py +1 -0
  30. particles/core/_resources.py +36 -0
  31. particles/core/cascade_gate.py +62 -0
  32. particles/core/claims.py +220 -0
  33. particles/core/conflict_resolution.py +353 -0
  34. particles/core/duplicate_key.py +90 -0
  35. particles/core/equivalence.py +34 -0
  36. particles/core/fingerprint.py +37 -0
  37. particles/core/granularity.py +52 -0
  38. particles/core/jsonld_context.py +73 -0
  39. particles/core/schema.py +1977 -0
  40. particles/core/scoring/__init__.py +41 -0
  41. particles/core/scoring/confidence.py +154 -0
  42. particles/core/scoring/decay.py +86 -0
  43. particles/core/scoring/relevance.py +358 -0
  44. particles/core/scoring/utility.py +421 -0
  45. particles/core/stance.py +79 -0
  46. particles/core/status.py +83 -0
  47. particles/embeddings.py +266 -0
  48. particles/extraction/__init__.py +1 -0
  49. particles/extraction/calibration.py +451 -0
  50. particles/extraction/docstrings.py +355 -0
  51. particles/extraction/general.py +2232 -0
  52. particles/extraction/github/__init__.py +80 -0
  53. particles/extraction/github/_shared.py +238 -0
  54. particles/extraction/github/gist.py +524 -0
  55. particles/extraction/github/pages.py +104 -0
  56. particles/extraction/github/repo.py +72 -0
  57. particles/extraction/hackernews.py +590 -0
  58. particles/extraction/incremental.py +363 -0
  59. particles/extraction/journal.py +535 -0
  60. particles/extraction/mastodon.py +880 -0
  61. particles/extraction/nomisma.py +316 -0
  62. particles/extraction/numista/__init__.py +53 -0
  63. particles/extraction/numista/_shared.py +178 -0
  64. particles/extraction/numista/coin.py +420 -0
  65. particles/extraction/numista/issuer.py +200 -0
  66. particles/extraction/numista/listing.py +204 -0
  67. particles/extraction/polarity.py +76 -0
  68. particles/extraction/property_keys.py +45 -0
  69. particles/extraction/rdf.py +856 -0
  70. particles/extraction/reddit.py +700 -0
  71. particles/extraction/registry.py +206 -0
  72. particles/extraction/scope.py +118 -0
  73. particles/extraction/structure.py +288 -0
  74. particles/extraction/subject_gate.py +142 -0
  75. particles/extraction/subject_scope.py +82 -0
  76. particles/extraction/taxonomy.py +109 -0
  77. particles/extraction/trust_lens.py +113 -0
  78. particles/extraction/wikidata.py +490 -0
  79. particles/http.py +225 -0
  80. particles/interchange/__init__.py +55 -0
  81. particles/interchange/codec.py +478 -0
  82. particles/interchange/jsonl.py +55 -0
  83. particles/interchange/yaml_ld.py +88 -0
  84. particles/llm/__init__.py +73 -0
  85. particles/llm/adapters/__init__.py +12 -0
  86. particles/llm/adapters/anthropic.py +474 -0
  87. particles/llm/adapters/local.py +29 -0
  88. particles/llm/adapters/openai_compat.py +495 -0
  89. particles/llm/client.py +45 -0
  90. particles/llm/errors.py +53 -0
  91. particles/llm/fencing.py +91 -0
  92. particles/llm/pool.py +242 -0
  93. particles/llm/registry.py +477 -0
  94. particles/py.typed +0 -0
  95. particles/render/__init__.py +19 -0
  96. particles/render/markdown.py +996 -0
  97. particles/secrets.py +189 -0
  98. particles/url_canonical.py +217 -0
  99. particles/url_safety.py +242 -0
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.5
2
+ Name: linkedparticles-core
3
+ Version: 1.132.1
4
+ Summary: Client layer of the Particles reference implementation — store-free schema, extraction, and interchange
5
+ Project-URL: Homepage, https://github.com/LinkedParticles/particles-core-py
6
+ Project-URL: Repository, https://github.com/LinkedParticles/particles-core-py
7
+ Project-URL: Issues, https://github.com/LinkedParticles/particles-core-py/issues
8
+ Author: The Particles authors
9
+ License: Apache-2.0
10
+ License-File: LICENSE
11
+ License-File: NOTICE
12
+ Keywords: agents,beliefs,citations,epistemic,knowledge-graph,knowledge-management,llm,provenance,psum,rag,uncertainty
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: License :: OSI Approved :: Apache Software License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.11
26
+ Requires-Dist: anthropic>=0.28
27
+ Requires-Dist: html2text>=2024.2
28
+ Requires-Dist: httpx>=0.27
29
+ Requires-Dist: jsonschema>=4.22
30
+ Requires-Dist: lxml-stubs>=0.5.1
31
+ Requires-Dist: numpy>=1.26
32
+ Requires-Dist: opentelemetry-api>=1.27
33
+ Requires-Dist: pydantic>=2.7
34
+ Requires-Dist: pyld<4,>=2.0
35
+ Requires-Dist: pypdf>=6.15.0
36
+ Requires-Dist: pyshacl<0.32,>=0.26
37
+ Requires-Dist: pyyaml>=6.0
38
+ Requires-Dist: rdflib<8,>=7.0
39
+ Requires-Dist: scipy>=1.13
40
+ Requires-Dist: sentence-transformers>=2.7
41
+ Requires-Dist: sqlalchemy>=2.0
42
+ Requires-Dist: torch
43
+ Provides-Extra: vision
44
+ Requires-Dist: pypdfium2>=4.30; extra == 'vision'
45
+ Description-Content-Type: text/markdown
46
+
47
+ # linkedparticles-core
48
+
49
+ > **Particles is shared memory for humans and AI agents.** Each particle is one
50
+ > claim, plus what you need to judge it: who said it, where, when, and how
51
+ > confident they were. Facts, opinions, and memories are all claims, recorded
52
+ > the same way as particles. Particles are not edited or deleted. Particles are
53
+ > superseded, retracted, or disputed in the open. How much to trust it is a
54
+ > perspective applied at query time, never baked into the record.
55
+
56
+ The store-free **Client layer** of the Particles reference implementation — the
57
+ substrate for defining, validating, serializing, and producing candidate
58
+ particles without a graph or a store. This package holds the pieces that never
59
+ touch persistent state:
60
+
61
+ - the schema models and their invariants (immutable confidence, the status
62
+ machine, the Core/Extension split);
63
+ - the extraction layer that turns source bytes into candidate particles with
64
+ unresolved subject names;
65
+ - confidence math, the completion-provider port, embeddings, conformance
66
+ validation, and the pure interchange codec.
67
+
68
+ Holding or reasoning over accumulated state — reconciliation, subject
69
+ resolution, querying, linting — lives in the **engine** package
70
+ (`linkedparticles`), which depends on this one.
71
+
72
+ ## Install
73
+
74
+ ```bash
75
+ pip install linkedparticles-core
76
+ ```
77
+
78
+ ## The three repositories
79
+
80
+ | Repo | What it is |
81
+ |---|---|
82
+ | [`particles-standard`](https://github.com/LinkedParticles/particles-standard) | The standard: whitepaper, technical specification, normative schema + SHACL artifacts, conformance fixtures |
83
+ | [`particles-core-py`](https://github.com/LinkedParticles/particles-core-py) | **This repo** — the Python Client layer (`linkedparticles-core`) |
84
+ | [`particles-engine-py`](https://github.com/LinkedParticles/particles-engine-py) | The Python Engine layer + surfaces (`linkedparticles`) |
85
+
86
+ ## License
87
+
88
+ Apache-2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
89
+
90
+ ## Contributing
91
+
92
+ See [CONTRIBUTING.md](CONTRIBUTING.md) and [ARCHITECTURE.md](ARCHITECTURE.md).
93
+ Contributions are accepted under a Developer Certificate of Origin sign-off —
94
+ there is no CLA.
@@ -0,0 +1,99 @@
1
+ particles/__init__.py,sha256=S2TPpq8fspP5LXF2y9XWGGAAYsNiJwKKJdwk7VOCt0g,1831
2
+ particles/config.py,sha256=P1Uy5fMeoTJTpns39CeCXDDxUd0OJAPOb6LhQYk2S6k,148671
3
+ particles/embeddings.py,sha256=BviBcOFb9IugWRgJC3n0N7OC6qjzDzyW_xPxC-88qFw,11290
4
+ particles/http.py,sha256=IHQ0pr0LnuxcZda6xeUTcKg4uv6Vkc15jpHOyME2Ekw,8877
5
+ particles/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ particles/secrets.py,sha256=hSgQBqeUIUEFp7qd_ABIYZUQzalw1T6m02Y3JdXhCKE,8296
7
+ particles/url_canonical.py,sha256=d71TOQqX3KxXEI-WJjMkvgndcV0ZCxPOwtlZlBg1crc,7798
8
+ particles/url_safety.py,sha256=glIKt41jWLeHUwA5bNCAwgKvuKdnaIpSlgZvsFiCD3U,10601
9
+ particles/conformance/__init__.py,sha256=S_rYisKmc4KI6yLotbiUA3ZP-ajEIh3Pwz3X2NDhbdA,52
10
+ particles/conformance/_resources.py,sha256=h2uuJ4aGvb0VR_HwXDYd_cYFhluVDmXVW2YXYOd470k,570
11
+ particles/conformance/contract.py,sha256=8mpyuY2FaNm54s852qA2S7OwGlEF9Wo1Us0oGBVMXOU,9856
12
+ particles/conformance/fixtures.py,sha256=Xq3lBln6MB6uOS4qPvKoIrtWf9fJcbc3L94xctB_OXE,7644
13
+ particles/conformance/jsonschema.py,sha256=ZPdqNzNj0smuUYt1Bkz7a3fAxwZ5ADXXhaLnCLiy7KE,2586
14
+ particles/conformance/profile.py,sha256=YhDfthp-k98Bo_fPQfWMNw_5eJxrN1A8oSvR8v2-vP4,7353
15
+ particles/conformance/runner.py,sha256=nz4nTgNg5O1jLnxPJV-FXE241trpWec2sQmcUW-lwKA,10716
16
+ particles/conformance/shacl.py,sha256=8rCavO1D6InU60BGRQSETMBDztF9kX7hYgudI6VEoZs,10992
17
+ particles/conformance/types.py,sha256=SWedkS8B5g1qpvaD5F2xtkGvDjH2j2k_0csKcYBpChk,7308
18
+ particles/conformance/validator.py,sha256=btYgNeFy6y9X1-xv-WocVAPaFklEr66xW5_wvtuLhq0,18695
19
+ particles/core/__init__.py,sha256=7gwHha2TZkTLP0riqntb4avFH8YFYobD0mJ0GXEJ6rw,54
20
+ particles/core/_resources.py,sha256=yKpolYjKqVfTTRWgDTfEw6WOOrPrDB0lVD_G08JFW68,1773
21
+ particles/core/cascade_gate.py,sha256=1cDzWyQuRyz02atwBeherFyjL-14kN-ZRDhEDsla0fc,2616
22
+ particles/core/claims.py,sha256=iAWhuxSETOEDf2WLyi7JeuxuVrR9H9VH4KQ_aICc7s0,8923
23
+ particles/core/conflict_resolution.py,sha256=HTz4CoTwN7UzyuFws7T6m1dVAa3q6k5_lraYxoMSHl0,18360
24
+ particles/core/duplicate_key.py,sha256=DRRDgKgusd0cxeWv09_KzjcA25HiENgq--FovAEji28,4207
25
+ particles/core/equivalence.py,sha256=clz1Ox7YztaFdRh73dm0GoPrOOtiH1XBHGt4FHf_c28,1584
26
+ particles/core/fingerprint.py,sha256=KV4UF5cdxwVUUkKUfg7FIEjCkI4TRn4eL3QkJLh7dpM,1493
27
+ particles/core/granularity.py,sha256=DVo2Ul89FS75Z6To-LT_RWiRTJH5tHxIR3MxClysqvE,2202
28
+ particles/core/jsonld_context.py,sha256=3eP8gcmxdNtXi14n-e3kUjnYCKCJyEL_E3G3yPQjwig,3294
29
+ particles/core/schema.py,sha256=q-jV0oy2GvRk7epSheClyMNX8gSrF0w4c5SPXmHt2SM,87568
30
+ particles/core/stance.py,sha256=QFkyBvMV4CW4zB0eXonYklybJEtityv5emGLALKhW-w,3286
31
+ particles/core/status.py,sha256=2ooycQZpzT3wdDxiLmfdiL-aTQvBWAksfTtIhjkdtN8,4133
32
+ particles/core/scoring/__init__.py,sha256=9QP8nSnlB7Ulu_dS_KvPls9VQhVbQWivhiE-zk6Opx4,1599
33
+ particles/core/scoring/confidence.py,sha256=8bULW7LXCLA8rmfSu4kdJkDCO1YARsxTErx39XGv4a0,6725
34
+ particles/core/scoring/decay.py,sha256=Hf_RXhkyszr3JA1FSoOhdXESrOtNLhkFepTlavOI2f8,3304
35
+ particles/core/scoring/relevance.py,sha256=7HxrjHZCN7ZEF2femtgJqlF4aVLHuh09eC-h568PgFY,16059
36
+ particles/core/scoring/utility.py,sha256=2c4bfG2LicW653r8guKhY-LJAIDU6858-0FKSF0pVMU,18852
37
+ particles/extraction/__init__.py,sha256=ykNBhs0hkpLcZrGnb1v7-A1lgYaIpIh4o0KANXkIa5M,80
38
+ particles/extraction/calibration.py,sha256=fMPurP9OfntSGztnqMGWSyqxAQjOPrpwwHU2wrh_RrY,20633
39
+ particles/extraction/docstrings.py,sha256=RaAMB820zSaR2HI6EJmdZC3ilsnW1kuxRR4iUr0Jdv4,14397
40
+ particles/extraction/general.py,sha256=902JaNsYudWorNqYLP-6L8sO8Vd35vkQisuWAqYG9hg,101413
41
+ particles/extraction/hackernews.py,sha256=-TnMzhwwag1-Q4n7INsifVSGcOEEuVU8ibLcQmqbM24,22607
42
+ particles/extraction/incremental.py,sha256=HmtdCDJhY2ryBikwTuSOq1ZUWqcrq-qQS9Ph1-bEJA8,15384
43
+ particles/extraction/journal.py,sha256=ZJACmF1uGO0ABifh3VM1cVYT9ENaHFjZwlwpeTDczJg,24245
44
+ particles/extraction/mastodon.py,sha256=TPXBVtiPgJSU37gd2ke1U6ewy2tLLRUOzMtVPFF-AhQ,35451
45
+ particles/extraction/nomisma.py,sha256=KgChaPJev3R8Dfdrv5ljdhfypK8OEtq-TBQb4JDdGsQ,12085
46
+ particles/extraction/polarity.py,sha256=-KbUwM6_Fk151SUtq-7aAkt_j549KdBAWU1Fdfcit4k,4095
47
+ particles/extraction/property_keys.py,sha256=p0P4cnk6aGFPYB9oIgfO_FDyZMSeOtfW0jksGTZfEWQ,2052
48
+ particles/extraction/rdf.py,sha256=o5SnKD39sy6-DZ318ajDbf59sJLGoFxzO5Xn59kgvsY,34384
49
+ particles/extraction/reddit.py,sha256=A7r0678zuarMZoZR-1PL-vH4qOUBlLNM0WjjQxt1JQc,27033
50
+ particles/extraction/registry.py,sha256=5hSBWY_Qd3ABJ_RiNVzx3FA347IwYGwfD0SbzB7tk8E,8718
51
+ particles/extraction/scope.py,sha256=zeswZitG39958WGG3J5OSXFdWLPmmZRUR2tP__FTw-w,5795
52
+ particles/extraction/structure.py,sha256=3l71orC0OyMauxcGgaG8NYmuz8TuRDm6uc-RiV_RwWk,12348
53
+ particles/extraction/subject_gate.py,sha256=7gc5XvXWSfQQgAHIuBEULiyi0R767lm7AQ0M12dFyUE,6056
54
+ particles/extraction/subject_scope.py,sha256=bP9N3uLl1ntVREoOhUs3A9YowRH2cUKjF2Lz-R3CbbI,3907
55
+ particles/extraction/taxonomy.py,sha256=arANlzWCCZxTd6Qu8Q_72SyTXxSEfLlAkIQza4A7DeQ,4316
56
+ particles/extraction/trust_lens.py,sha256=Rw3OgHqFOKh-OJVE-kXzaAcRb7BPQbRrWoMBN0ZM0ug,4406
57
+ particles/extraction/wikidata.py,sha256=CdudBWy1LGWFJ3rpjj3-T0u0CXOT_oZGnylZEB9A3D4,19288
58
+ particles/extraction/github/__init__.py,sha256=HaxKdyry0xoKCovjkLCnwuPqGeNhhsBO7PwbOH2_jvY,2564
59
+ particles/extraction/github/_shared.py,sha256=Z5ozW2osbLKp1hKhue1u_Jl5twXcU0vyJoPiUlxOplQ,8805
60
+ particles/extraction/github/gist.py,sha256=K4JEg4LN0HE05OM0tKUcb_O0KuAKZXFjCqGaxk4Qwk8,18776
61
+ particles/extraction/github/pages.py,sha256=_7QhohBlWSpiX0LiClMvVBj2Vay985Sb04NXqpYGrp4,3707
62
+ particles/extraction/github/repo.py,sha256=fCs58KiDgKn0s3-kxg_dLuHOIkANILHMz0_ItNlobTk,2569
63
+ particles/extraction/numista/__init__.py,sha256=yFLiJYarIHo9K0Aid8P6zaRTncMq0p3Eo4rYFJeEUKQ,1840
64
+ particles/extraction/numista/_shared.py,sha256=mNnO0yE0uTg-jyWvjpYxvus7sAYUAyJjRU2udE978ok,7100
65
+ particles/extraction/numista/coin.py,sha256=VxA6inakvF7qhqlJTfYE87ATJ24j5XfRtQyZm5bOIzc,16257
66
+ particles/extraction/numista/issuer.py,sha256=zTRB2Fc6YIfQb1hrqI3CUqqzjS2aIezGdMAlcXg3IiI,7804
67
+ particles/extraction/numista/listing.py,sha256=SLbC4bPNrMs8ViGKsxz2CvxJGgp4vAyv6R2Pgdtt9DQ,7868
68
+ particles/interchange/__init__.py,sha256=TRD4aIId1mqAOxKN6yrOTesmSwRaPXUJ-7JT_M-YgbM,1887
69
+ particles/interchange/codec.py,sha256=92E9L6z3qH3cw6aJtRgzwNRQ1oR9PYaAsWcmfJlpfDE,20104
70
+ particles/interchange/jsonl.py,sha256=-1fTbf9N__mNP4AD2xpkeRRMzTSjEYY-vxYT3hLKwFE,2304
71
+ particles/interchange/yaml_ld.py,sha256=kTpiB_8aRXba40vBWQLRH8ec21GvwM4w2OEuw2NXcBU,3821
72
+ particles/llm/__init__.py,sha256=-Kbf5RFO47a9OCbf-BYOTs7NPiRyrOngq1JNZ5c0TSk,2352
73
+ particles/llm/client.py,sha256=8TRPraathBaLcGzimozQWkgnFKAUJhCf2BZ8ZxVOh-k,1701
74
+ particles/llm/errors.py,sha256=SlVjxaMvmjJNRbkIIVoDM5CC4jop-FllNuELD4UaQfQ,2375
75
+ particles/llm/fencing.py,sha256=85ElTiKuRvH7422uiC_wI-ABNbOhFlQmKvX3SInX0dU,4588
76
+ particles/llm/pool.py,sha256=74-GZsbC1RuECn5D20LyGf6AETNqmET5bkyUQ0bmb3g,10167
77
+ particles/llm/registry.py,sha256=TAUuNgSjCxOzneWuI878nr4k1pRzaCQzzzYjjEaAeXo,19427
78
+ particles/llm/adapters/__init__.py,sha256=2DsIG2WT67s-HW1djhOVPDp6FxkV_7pxq6KcrYSWIQQ,425
79
+ particles/llm/adapters/anthropic.py,sha256=5NXQx7HgEKqIfxicV63ggoiRl68q-ZCk4OUpNxe0VQg,21620
80
+ particles/llm/adapters/local.py,sha256=AyUTcxYrwzoYRAKSYVAg0gKQfwJNMQUZjG9ubXoo1ds,1143
81
+ particles/llm/adapters/openai_compat.py,sha256=lI1nEC2yYpDk5ntya_yguy2t6pU61-LjnSqyx-WPeQ8,21918
82
+ particles/render/__init__.py,sha256=NoKtv0fLbxpfrN_dgXe5Vvmgc_njiNsczxgwVZHiLyk,932
83
+ particles/render/markdown.py,sha256=5vthrH2AVpBMFsgyOV5bKJwyUvwtIZrv7QY0OIdw3yU,42604
84
+ particles/_artifacts/schemas/context.jsonld,sha256=4TybkHMpG1SLUR4w6CdWIgnDge6gx-P2Z6gvVeDI2-o,8202
85
+ particles/_artifacts/schemas/interchange.schema.json,sha256=MgRnq3gSp_hDZ7pZ2iYlbAOu8SE815Q2_7vWbmb3YQ0,9911
86
+ particles/_artifacts/schemas/particle.schema.json,sha256=r1-SDvqxBSU0_KorbkKyuEM54Klq8GOB-sUQTrn-usE,16568
87
+ particles/_artifacts/schemas/trust_lens.schema.json,sha256=mQTA1cfjavZ21Fr0cyh-vBS7M2GoclIfkOdYnegyfsE,9261
88
+ particles/_artifacts/schemas/shacl/CorpusSnapshotShape.ttl,sha256=ajxqWEHv0T2PqcowceT1QEOpiOPvdQLX9iYwDmiCcqI,1578
89
+ particles/_artifacts/schemas/shacl/ParticleShape.ttl,sha256=PbpjBkpbfUyozCvJbEzIOZy1C5vPx9NcaTHmJQ37Oe8,14062
90
+ particles/_artifacts/schemas/shacl/ProvenanceChainShape.ttl,sha256=KUlrWoqn8RrOhoFrE9hnR7YreLRFA7_Gq9E0coYvp90,1162
91
+ particles/_artifacts/schemas/shacl/SubjectShape.ttl,sha256=VIlKH-6AF_i6pPA80g05-nIXybmUfemXQLt4-EAL5t0,2655
92
+ particles/_artifacts/schemas/shacl/TrustStatementShape.ttl,sha256=lZveORJeRELhWQHtE2VWtkooz6mMSQjlXUdfu3BTdEQ,2709
93
+ particles/_artifacts/conformance/profile.yaml,sha256=ybzVYtf3TR81_9JJmanFszEOW5bUqmAJrcNOPYPg598,22845
94
+ particles/_artifacts/conformance/similarity_vectors.json,sha256=LSyF523xBGTaeBKnVf4KYtIfMtwCU0KBfzYYTPyjsc8,9349
95
+ linkedparticles_core-1.132.1.dist-info/METADATA,sha256=RtR2iGL7GVJc4Miw4IPQ9Ard2HoINS9P-wo8WabMiY8,4033
96
+ linkedparticles_core-1.132.1.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
97
+ linkedparticles_core-1.132.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
98
+ linkedparticles_core-1.132.1.dist-info/licenses/NOTICE,sha256=WphMiKParK7cAxVZVE4ExzEkUOEZaqHqPwls8NO6v1c,803
99
+ linkedparticles_core-1.132.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,201 @@
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 [yyyy] [name of copyright owner]
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.
@@ -0,0 +1,18 @@
1
+ Particles
2
+ Copyright 2026 The Particles authors
3
+
4
+ This product includes software developed by the Particles project
5
+ (https://github.com/LinkedParticles/particles-core-py).
6
+
7
+ Licensed under the Apache License, Version 2.0. See the LICENSE file.
8
+
9
+ "Particles" is the name of this project and standard. The name and any
10
+ conformance claims ("Particles-compatible", "conforms to the Particles
11
+ standard") are reserved by the project and are not granted by the code
12
+ license above. Use of the code is permitted under Apache-2.0; use of the
13
+ name to describe a derivative or competing product is not.
14
+
15
+ The standard's prose — the documents under docs/spec/ (whitepaper,
16
+ technical specification) — is licensed under Creative Commons
17
+ Attribution 4.0 International (CC-BY-4.0), not Apache-2.0. See
18
+ docs/spec/LICENSE.
particles/__init__.py ADDED
@@ -0,0 +1,32 @@
1
+ """Particles — Python SDK for the Particles epistemic knowledge standard."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+ from pkgutil import extend_path
5
+
6
+ # Split-package build (D1). The `particles` import package is shipped
7
+ # by two distributions — `linkedparticles-core` (the Client layer, which owns
8
+ # this file) and `linkedparticles` (the Engine layer + surfaces) — so the
9
+ # package must resolve submodules that live in a *different* installed tree.
10
+ # `extend_path` buys namespace-package path semantics while keeping a real
11
+ # `__init__.py` to hold `__version__`, the re-exports, and the `py.typed`
12
+ # marker. Without it `particles.__path__` has exactly one entry and the Engine
13
+ # half is invisible whenever the two dists land in different `sys.path` roots
14
+ # (`pip install --target`, `--user` site, Lambda layers, editable installs).
15
+ # On a single-root install or a source checkout this is a no-op. Every package
16
+ # directory whose contents straddle the two dists needs the same two lines —
17
+ # today `particles/`, `particles/render/`, and `particles/interchange/`.
18
+ __path__ = extend_path(__path__, __name__)
19
+
20
+ # Keyed on the distribution that owns this file (D3), falling back to
21
+ # the unified distribution the private monorepo installs, then to a sentinel.
22
+ # The two published dists are pinned to one exact version, so in an engine
23
+ # install the core version *is* the engine version. The final fallback covers a
24
+ # source checkout, which carries no distribution metadata at all — previously
25
+ # an unconditional `PackageNotFoundError` out of `import particles`.
26
+ try:
27
+ __version__ = version("linkedparticles-core")
28
+ except PackageNotFoundError:
29
+ try:
30
+ __version__ = version("linkedparticles")
31
+ except PackageNotFoundError: # source checkout / not installed
32
+ __version__ = "0+unknown"