|
| 1 | +API参考 |
| 2 | +======== |
| 3 | + |
| 4 | +本文档提供了 Bohrium OpenAPI Python SDK 的完整API参考。 |
| 5 | + |
| 6 | +客户端类 |
| 7 | +-------- |
| 8 | + |
| 9 | +.. automodule:: bohrium |
| 10 | + :members: |
| 11 | + :undoc-members: |
| 12 | + :show-inheritance: |
| 13 | + |
| 14 | +主客户端 |
| 15 | +~~~~~~~~ |
| 16 | + |
| 17 | +.. autoclass:: bohrium.Bohrium |
| 18 | + :members: |
| 19 | + :undoc-members: |
| 20 | + :show-inheritance: |
| 21 | + |
| 22 | +异步客户端 |
| 23 | +~~~~~~~~~~ |
| 24 | + |
| 25 | +.. autoclass:: bohrium.AsyncBohrium |
| 26 | + :members: |
| 27 | + :undoc-members: |
| 28 | + :show-inheritance: |
| 29 | + |
| 30 | +基础客户端类 |
| 31 | +~~~~~~~~~~~~ |
| 32 | + |
| 33 | +.. autoclass:: bohrium.SyncAPIClient |
| 34 | + :members: |
| 35 | + :undoc-members: |
| 36 | + :show-inheritance: |
| 37 | + |
| 38 | +.. autoclass:: bohrium.AsyncAPIClient |
| 39 | + :members: |
| 40 | + :undoc-members: |
| 41 | + :show-inheritance: |
| 42 | + |
| 43 | +.. autoclass:: bohrium.BaseClient |
| 44 | + :members: |
| 45 | + :undoc-members: |
| 46 | + :show-inheritance: |
| 47 | + |
| 48 | +资源模块 |
| 49 | +-------- |
| 50 | + |
| 51 | +任务管理 (Job) |
| 52 | +~~~~~~~~~~~~~~ |
| 53 | + |
| 54 | +.. automodule:: bohrium.resources.job |
| 55 | + :members: |
| 56 | + :undoc-members: |
| 57 | + :show-inheritance: |
| 58 | + |
| 59 | +.. autoclass:: bohrium.resources.job.Job |
| 60 | + :members: |
| 61 | + :undoc-members: |
| 62 | + :show-inheritance: |
| 63 | + |
| 64 | +.. autoclass:: bohrium.resources.job.AsyncJob |
| 65 | + :members: |
| 66 | + :undoc-members: |
| 67 | + :show-inheritance: |
| 68 | + |
| 69 | +Sigma搜索 |
| 70 | +~~~~~~~~~ |
| 71 | + |
| 72 | +.. automodule:: bohrium.resources.sigma_search |
| 73 | + :members: |
| 74 | + :undoc-members: |
| 75 | + :show-inheritance: |
| 76 | + |
| 77 | +.. autoclass:: bohrium.resources.sigma_search.SigmaSearch |
| 78 | + :members: |
| 79 | + :undoc-members: |
| 80 | + :show-inheritance: |
| 81 | + |
| 82 | +.. autoclass:: bohrium.resources.sigma_search.AsyncSigmaSearch |
| 83 | + :members: |
| 84 | + :undoc-members: |
| 85 | + :show-inheritance: |
| 86 | + |
| 87 | +通用解析器 |
| 88 | +~~~~~~~~~~ |
| 89 | + |
| 90 | +.. automodule:: bohrium.resources.uni_parser |
| 91 | + :members: |
| 92 | + :undoc-members: |
| 93 | + :show-inheritance: |
| 94 | + |
| 95 | +.. autoclass:: bohrium.resources.uni_parser.UniParser |
| 96 | + :members: |
| 97 | + :undoc-members: |
| 98 | + :show-inheritance: |
| 99 | + |
| 100 | +.. autoclass:: bohrium.resources.uni_parser.AsyncUniParser |
| 101 | + :members: |
| 102 | + :undoc-members: |
| 103 | + :show-inheritance: |
| 104 | + |
| 105 | +知识库 |
| 106 | +~~~~~~ |
| 107 | + |
| 108 | +.. automodule:: bohrium.resources.knowledge_base |
| 109 | + :members: |
| 110 | + :undoc-members: |
| 111 | + :show-inheritance: |
| 112 | + |
| 113 | +.. autoclass:: bohrium.resources.knowledge_base.KnowledgeBase |
| 114 | + :members: |
| 115 | + :undoc-members: |
| 116 | + :show-inheritance: |
| 117 | + |
| 118 | +.. autoclass:: bohrium.resources.knowledge_base.AsyncKnowledgeBase |
| 119 | + :members: |
| 120 | + :undoc-members: |
| 121 | + :show-inheritance: |
| 122 | + |
| 123 | +论文管理 |
| 124 | +~~~~~~~~ |
| 125 | + |
| 126 | +.. automodule:: bohrium.resources.paper |
| 127 | + :members: |
| 128 | + :undoc-members: |
| 129 | + :show-inheritance: |
| 130 | + |
| 131 | +.. autoclass:: bohrium.resources.paper.Paper |
| 132 | + :members: |
| 133 | + :undoc-members: |
| 134 | + :show-inheritance: |
| 135 | + |
| 136 | +.. autoclass:: bohrium.resources.paper.AsyncPaper |
| 137 | + :members: |
| 138 | + :undoc-members: |
| 139 | + :show-inheritance: |
| 140 | + |
| 141 | +类型定义 |
| 142 | +-------- |
| 143 | + |
| 144 | +任务类型 |
| 145 | +~~~~~~~~ |
| 146 | + |
| 147 | +.. automodule:: bohrium.types.job |
| 148 | + :members: |
| 149 | + :undoc-members: |
| 150 | + :show-inheritance: |
| 151 | + |
| 152 | +Sigma搜索类型 |
| 153 | +~~~~~~~~~~~~~ |
| 154 | + |
| 155 | +.. automodule:: bohrium.types.sigma_search |
| 156 | + :members: |
| 157 | + :undoc-members: |
| 158 | + :show-inheritance: |
| 159 | + |
| 160 | +通用解析器类型 |
| 161 | +~~~~~~~~~~~~~~ |
| 162 | + |
| 163 | +.. automodule:: bohrium.types.uni_parser |
| 164 | + :members: |
| 165 | + :undoc-members: |
| 166 | + :show-inheritance: |
| 167 | + |
| 168 | +知识库类型 |
| 169 | +~~~~~~~~~~ |
| 170 | + |
| 171 | +.. automodule:: bohrium.types.knowledge_base |
| 172 | + :members: |
| 173 | + :undoc-members: |
| 174 | + :show-inheritance: |
| 175 | + |
| 176 | +论文类型 |
| 177 | +~~~~~~~~ |
| 178 | + |
| 179 | +.. automodule:: bohrium.types.paper |
| 180 | + :members: |
| 181 | + :undoc-members: |
| 182 | + :show-inheritance: |
| 183 | + |
| 184 | +异常类 |
| 185 | +------ |
| 186 | + |
| 187 | +.. automodule:: bohrium._exceptions |
| 188 | + :members: |
| 189 | + :undoc-members: |
| 190 | + :show-inheritance: |
| 191 | + |
| 192 | +.. autoexception:: bohrium._exceptions.BohriumError |
| 193 | + :members: |
| 194 | + :undoc-members: |
| 195 | + |
| 196 | +.. autoexception:: bohrium._exceptions.APIStatusError |
| 197 | + :members: |
| 198 | + :undoc-members: |
| 199 | + |
| 200 | +工具函数 |
| 201 | +-------- |
| 202 | + |
| 203 | +.. automodule:: bohrium._utils._utils |
| 204 | + :members: |
| 205 | + :undoc-members: |
| 206 | + |
| 207 | +.. automodule:: bohrium._utils._logs |
| 208 | + :members: |
| 209 | + :undoc-members: |
| 210 | + |
| 211 | +.. automodule:: bohrium._utils._typing |
| 212 | + :members: |
| 213 | + :undoc-members: |
| 214 | + |
0 commit comments