Pynequa
A python library to handle communication with Sinequa REST API.
Sinequa is an enterprise search tool. It provides a cognitive search and analytics platform that helps organizations gain insights from their structured and unstructured data spread across various sources, including databases, documents, emails, websites, and more.
Installation
$ pip install pynequa
Example Usage
import pynequa
from pynequa.models import QueryParams
# provide following config parameters
config = {
"base_url": "",
"app_name": "",
"access_token":"",
"query_name": ""
}
# initialize a Sinequa connector instance
sinequa=pynequa.Sinequa.from_config(config)
# OR
# you can directly instantiate Sinequa using
sinequa = pynequa.Sinequa(
access_token: config["access_token"],
base_url: config["base_url"],
app_name: config["app_name"],
query_name: config["query_name"],
)
params = QueryParams()
params.search_text = "<your_search_text>"
# other params
# perform a search query operation
results=sinequa.search_query(params)
Feature Roadmap
Implement following REST endpoints to manage requests with Sinequa API.
Search Endpoints:
- search.app
- search.dataset
- search.query
- queryintent
- search.profile
- search.usersettings
- search.preview
- search.queryexport
- search.recentqueries
- search.similardocuments
- search.querylinks
- search.ratings
- search.profile.subtree
- search.alerts
- search.baskets
- search.labels
- serach.savedQueries
- search.suggest
- search.custom
- suggestField
- engine.sql
Indexing Endpoints
- indexing.collection
- indexing.customCollection
- indexing.partition
Operating Task Endpoints
- operation.actionStatus
- operation.collectionStart
- operation.commandStart
- operation.jobStart
- operation.partitionStart
- operation.server
- operation.serverstatus
- operation.taskstatus
General Endpoints
- audit.notify
- admin.config
- dev.plugin
- multi
Development
Check DEVELOPERS GUIDE for details.
Contributing
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the authors of this repository before making a change.
License
Distributed under the terms of the MIT license,
pynequa is free and open source software.
Metadata
Release files for pynequa 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pynequa-0.2.0.tar.gz | 10.8 kB | Without provenance | Details for pynequa-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pynequa-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pynequa-0.2.0-py3-none-any.whl |
Total release size: 19.9 kB
Release files / pynequa-0.2.0.tar.gz
| Download URL | pynequa-0.2.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9a94649ace7ca14889b49a81e984c10b5b65028cb06dc68678808ec98c8671d
|
|
BLAKE2b-256 checksum How to use checksums |
538da1ad8d430f96bf3ae234291f0f75610a2dd847e707017549e9ae34f39db1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / pynequa-0.2.0-py3-none-any.whl
| Download URL | pynequa-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2581d635b0dbec8291d91d70767edfaca2955bb0a1500b13b58cc8a131926cd1
|
|
BLAKE2b-256 checksum How to use checksums |
a8ddc69385911f63d95c44a946d0b2aeb0ced4087dbde2abcc155e994a50faeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for pynequa 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.