leapgraph 0.6.0__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 (38) hide show
  1. leapgraph-0.6.0/LICENSE +93 -0
  2. leapgraph-0.6.0/PKG-INFO +587 -0
  3. leapgraph-0.6.0/README.md +545 -0
  4. leapgraph-0.6.0/pyproject.toml +76 -0
  5. leapgraph-0.6.0/setup.cfg +4 -0
  6. leapgraph-0.6.0/src/leapgraph/__init__.py +76 -0
  7. leapgraph-0.6.0/src/leapgraph/cli.py +296 -0
  8. leapgraph-0.6.0/src/leapgraph/core/__init__.py +4 -0
  9. leapgraph-0.6.0/src/leapgraph/core/cycles.py +57 -0
  10. leapgraph-0.6.0/src/leapgraph/core/learning.py +95 -0
  11. leapgraph-0.6.0/src/leapgraph/core/propagation.py +362 -0
  12. leapgraph-0.6.0/src/leapgraph/core/relevance.py +102 -0
  13. leapgraph-0.6.0/src/leapgraph/core/walking.py +106 -0
  14. leapgraph-0.6.0/src/leapgraph/io/__init__.py +4 -0
  15. leapgraph-0.6.0/src/leapgraph/io/corpus.py +74 -0
  16. leapgraph-0.6.0/src/leapgraph/io/ingest.py +324 -0
  17. leapgraph-0.6.0/src/leapgraph/io/serialize.py +97 -0
  18. leapgraph-0.6.0/src/leapgraph/model.py +267 -0
  19. leapgraph-0.6.0/src/leapgraph/py.typed +0 -0
  20. leapgraph-0.6.0/src/leapgraph/service.py +119 -0
  21. leapgraph-0.6.0/src/leapgraph.egg-info/PKG-INFO +587 -0
  22. leapgraph-0.6.0/src/leapgraph.egg-info/SOURCES.txt +36 -0
  23. leapgraph-0.6.0/src/leapgraph.egg-info/dependency_links.txt +1 -0
  24. leapgraph-0.6.0/src/leapgraph.egg-info/entry_points.txt +2 -0
  25. leapgraph-0.6.0/src/leapgraph.egg-info/requires.txt +19 -0
  26. leapgraph-0.6.0/src/leapgraph.egg-info/top_level.txt +1 -0
  27. leapgraph-0.6.0/tests/test_backend.py +165 -0
  28. leapgraph-0.6.0/tests/test_cli.py +204 -0
  29. leapgraph-0.6.0/tests/test_corpus.py +59 -0
  30. leapgraph-0.6.0/tests/test_cycles.py +62 -0
  31. leapgraph-0.6.0/tests/test_ingest.py +288 -0
  32. leapgraph-0.6.0/tests/test_learning.py +117 -0
  33. leapgraph-0.6.0/tests/test_model.py +90 -0
  34. leapgraph-0.6.0/tests/test_propagation.py +134 -0
  35. leapgraph-0.6.0/tests/test_related.py +119 -0
  36. leapgraph-0.6.0/tests/test_serialize.py +72 -0
  37. leapgraph-0.6.0/tests/test_service.py +66 -0
  38. leapgraph-0.6.0/tests/test_walking.py +103 -0
@@ -0,0 +1,93 @@
1
+ PolyForm Noncommercial License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
4
+
5
+ SPDX identifier: PolyForm-Noncommercial-1.0.0
6
+
7
+ Required Notice: Copyright (c) xiaoyu-hue
8
+
9
+ ---
10
+
11
+ ## Acceptance
12
+
13
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
14
+
15
+ ## Copyright License
16
+
17
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to Distribution License and make changes or new works based on the software according to Changes and New Works License.
18
+
19
+ ## Distribution License
20
+
21
+ The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by Changes and New Works License.
22
+
23
+ ## Notices
24
+
25
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
26
+
27
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
28
+
29
+ ## Changes and New Works License
30
+
31
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
32
+
33
+ ## Patent License
34
+
35
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
36
+
37
+ ## Noncommercial Purposes
38
+
39
+ Any noncommercial purpose is a permitted purpose.
40
+
41
+ ## Personal Uses
42
+
43
+ Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
44
+
45
+ ## Noncommercial Organizations
46
+
47
+ Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
48
+
49
+ ## Fair Use
50
+
51
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
52
+
53
+ ## No Other Rights
54
+
55
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
56
+
57
+ ## Patent Defense
58
+
59
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
60
+
61
+ ## Violations
62
+
63
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
64
+
65
+ ## No Liability
66
+
67
+ As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
68
+
69
+ ## Definitions
70
+
71
+ The licensor is the individual or entity offering these terms, and the software is the software the licensor makes available under these terms.
72
+
73
+ You refers to the individual or entity agreeing to these terms.
74
+
75
+ Your company is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. Control means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
76
+
77
+ Your licenses are all the licenses granted to you for the software under these terms.
78
+
79
+ Use means anything you do with the software requiring one of your licenses.
80
+
81
+ ---
82
+
83
+ 本许可证不适用于本文档集(docs/ 目录下的 Markdown 文档)。文档授权见 LICENSE-DOCS 文件。
84
+
85
+ ---
86
+
87
+ ## 补充声明:第三方组件
88
+
89
+ 本许可证仅授予本项目原创源代码的使用权,不覆盖任何第三方组件。
90
+
91
+ 项目在运行、构建或分发时若包含、依赖或捆绑第三方组件(包括但不限于第三方库、框架、工具链、代码片段、字体、图标、模板及数据文件),该等组件保留其自身的开源许可证与版权声明,不受本许可证条款约束,亦不因被纳入本项目而变更授权方式。使用者除遵守本许可证外,还须遵守各第三方组件各自的许可条款。
92
+
93
+ 本项目当前版本仅使用 Python 标准库,无第三方运行时依赖。后续版本若引入第三方组件,将在项目文档或独立的 NOTICE 文件中列明其名称、版本、许可证类型与版权归属。