Metadata-Version: 2.1
Name: manticoresearch
Version: 1.0.3
Summary: Python client for Manticore Search
Home-page: UNKNOWN
Author: Manticore Software Ltd.
Author-email: info@manticoresearch.com
License: Apache 2.0
Project-URL: Documentation, https://github.com/manticoresoftware/manticoresearch-python/tree/master/docs
Project-URL: Source Code, https://github.com/manticoresoftware/manticoresearch-python
Project-URL: Issue Tracker, https://github.com/manticoresoftware/manticoresearch-python/issues
Description: # manticoresearch
        Experimental low-level client for Manticore Search.
        
        
        ## Requirements.
        
        Python 2.7 and 3.4+.
        
        Minimum Manticore Search version is 2.5.1 with HTTP protocol enabled.
        
        ## Installation & Usage
        ### pip install
        Install the `manticoresearch` package with [pip](http://pypi.python.org)
        
        ```sh
        pip install manticoresearch
        ```
        
        Then import the package:
        ```python
        import manticoresearch
        ```
        
        ### Setuptools
        
        Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
        
        ```sh
        python setup.py install --user
        ```
        (or `sudo python setup.py install` to install the package for all users)
        
        Then import the package:
        ```python
        import manticoresearch
        ```
        
        ## Getting Started
        
        Please follow the [installation procedure](#installation--usage) and then run the following:
        
        ```python
        from __future__ import print_function
        
        import time
        import manticoresearch
        from manticoresearch.rest import ApiException
        from pprint import pprint
        
        # Defining the host is optional and defaults to http://127.0.0.1:9308
        # See configuration.py for a list of all supported configuration parameters.
        configuration = manticoresearch.Configuration(
            host = "http://127.0.0.1:9308"
        )
        
        
        
        # Enter a context with an instance of the API client
        with manticoresearch.ApiClient(configuration) as api_client:
            # Create an instance of the API class
            api_instance = manticoresearch.SearchApi(api_client)
            body = {"index":"test","query":{"match":{"content":"sample"}}}
        
            try:
                # Performs a search
                api_response = api_instance.search(body)
                pprint(api_response)
            except ApiException as e:
                print("Exception when calling SearchApi->search: %s\n" % e)
            
        ```
        
        # Documentation
        
        
        Full documentation is available in  [docs](https://github.com/manticoresoftware/manticoresearch-python/tree/master/docs) folder.
        
        Manticore Search server documentation: https://manual.manticoresearch.com.
        
        
Keywords: full-text search,manticoresearch,search
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Description-Content-Type: text/markdown
