Python wrapper for the FIST full-text index serve
Project description
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)
:floppy_disk: Install
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']
:heart_eyes: Acknowledgements
Copyright :copyright: 2019 by Dyne.org foundation, Amsterdam
Designed, written and maintained by Puria Nafisi Azizi.
Special thanks to the Fist authors and contributors.
:busts_in_silhouette: Contributing
- :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
:briefcase: License
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fistpy-0.0.4.tar.gz
(4.5 kB
view details)
File details
Details for the file fistpy-0.0.4.tar.gz
.
File metadata
- Download URL: fistpy-0.0.4.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55f5b49ab98094c1936bb6a6229075f1e2c3a6370143cf13a434ce54549a65e |
|
MD5 | b70473272c09ef9c7064f7df8095bc14 |
|
BLAKE2b-256 | 40a4e93d4ef669e61e0937cd51316a0162b2af1928499f4e8862516d2f82bd8d |