Python wrapper for the FIST full-text index serve
Fist python client
Python client library for Fist full text search
:floppy_disk: Install • :video_game: Quick start • :heart_eyes: Acknowledgements • :busts_in_silhouette: Contributing • :briefcase: License
:construction: Fist is a software in ALPHA stage and is heavily under development. So is this tiny wrapper.
This library attempts to provide a very simple wrapper around the Fist a fast full-text search and index server. This library has also only been tested under Python 3.
:triangular_flag_on_post: Table of Contents (click to expand)
pip install fistpy
:video_game: Quick start
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']
Copyright :copyright: 2019 by Dyne.org foundation, Amsterdam
Designed, written and maintained by Puria Nafisi Azizi.
Special thanks to the Fist authors and contributors.
- :twisted_rightwards_arrows: FORK IT
- Create your feature branch
git checkout -b feature/branch
- Commit your changes
git commit -am 'Add some fooBar'
- Push to the branch
git push origin feature/branch
- Create a new Pull Request
- :pray: Thank you
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 http://www.apache.org/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.