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
git clone https://github.com/puria/fistpy.git
cd fistpy
pip install -e .
# waiting for: 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 Puria Nafisi Azizi <puria@dyne.org>
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.1.tar.gz
(3.8 kB
view details)
File details
Details for the file fistpy-0.0.1.tar.gz
.
File metadata
- Download URL: fistpy-0.0.1.tar.gz
- Upload date:
- Size: 3.8 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 | 84fe7336b5db1cc027ff56e8dfbea7f70c009a6ced02fcc3f1c50e7d70d2e232 |
|
MD5 | 41715955ee1ef61462950e9f3a3df0b8 |
|
BLAKE2b-256 | 5fa12d4ec4a8968573a614649f30ec98b98b747524c872937cab20ad66d1bf11 |