跳转到主要内容

FIST全文索引服务的Python封装

项目描述

Fist Python客户端
Fist全文搜索的Python客户端库

Build Status Code coverage PyPI Dyne.org



:floppy_disk: 安装 :video_game: 快速开始 :heart_eyes: 致谢 :busts_in_silhouette: 贡献 :briefcase: 许可证

:construction: Fist 处于 Alpha阶段,正在积极开发。这个小封装也是。

这个库试图为Fist 提供一个非常简单的封装,它是一个快速的全文搜索和索引服务器。这个库也只在Python 3下进行了测试。

:triangular_flag_on_post: 目录(点击展开)

: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: 贡献

  1. :twisted_rightwards_arrows: FORK IT
  2. 创建您的功能分支 git checkout -b feature/branch
  3. 提交您的更改 git commit -am 'Add some fooBar'
  4. 推送到分支 git push origin feature/branch
  5. 创建新的拉取请求
  6. :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 (4.5 kB 查看哈希值)

上传时间