FIST全文索引服务的Python封装
项目描述
Fist Python客户端
Fist全文搜索的Python客户端库
:floppy_disk: 安装 • :video_game: 快速开始 • :heart_eyes: 致谢 • :busts_in_silhouette: 贡献 • :briefcase: 许可证
:construction: Fist 处于 Alpha阶段,正在积极开发。这个小封装也是。
这个库试图为Fist 提供一个非常简单的封装,它是一个快速的全文搜索和索引服务器。这个库也只在Python 3下进行了测试。
:floppy_disk: 安装
pip install firstpy
:video_game: 快速开始
from fist.client import Fist
f = Fist(host="localhost", port=5575)
f.index("document_1 Some text that I want to index")
f.index("document_2 Some other text that I want to index")
result = f.search("text")
print(len(result), result) # 2 ['document_1', 'document_2']
:heart_eyes: 致谢
版权:© 2019 Dyne.org基金会,阿姆斯特丹
由Puria Nafisi Azizi设计、编写和维护。
特别感谢Fist 的作者和贡献者。
:busts_in_silhouette: 贡献
- :twisted_rightwards_arrows: FORK IT
- 创建您的功能分支
git checkout -b feature/branch
- 提交您的更改
git commit -am 'Add some fooBar'
- 推送到分支
git push origin feature/branch
- 创建新的拉取请求
- :pray: 感谢
:suitcase: 许可证
Copyright 2019 Dyne.org foundation, Amsterdam
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://apache.ac.cn/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
项目详情
关闭
fistpy-0.0.4.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e55f5b49ab98094c1936bb6a6229075f1e2c3a6370143cf13a434ce54549a65e |
|
MD5 | b70473272c09ef9c7064f7df8095bc14 |
|
BLAKE2b-256 | 40a4e93d4ef669e61e0937cd51316a0162b2af1928499f4e8862516d2f82bd8d |