nasa-impact / pynequa Goto Github PK
View Code? Open in Web Editor NEWA python library to handle communication with Sinequa's REST API.
License: MIT License
A python library to handle communication with Sinequa's REST API.
License: MIT License
Implement first set of search endpoints from Sinequa REST API docs.
Add README, contributing docs, license and package docs.
Implement all remaining search.*
endpoint methods and fix tests.
The endpoints include:
This is an open issue to have discussions on restructuring pynequa hoping it will serve as documentation for future changes.
Currently, pynequa is organized as follows:
pynequa
|
|- core.py # contains main REST API method implementations for Sinequa
|- models.py # data models
|-api
|-api.py # contains HTTP request implementations
This was the initial implementation of pynequa. With incoming changes, it is now time to think of re-structuring classes and separate search, index, collection, engine, extras
implementations.
Add github workflows to perform build on new push to develop/master branch. Include tests files.
Current implementation of QueryParams
payload generation supports having only one advanced param. Refer to Sinequa's REST API docs and provide a way to support any number of advanced params.
cc: @CarsonDavis
Currently pynequa.core.Sinequa
class can only be initialized from a config dict
. I propose moving the config-based construction to a new classmethod and use barebone parameters as a primary constructor
class Sinequa(API):
def __init__(self, app_name=<default?>, query_name=<default?>, ..., debug: bool = False):
pass
@classmethod
def from_config(cls, cfg: dict) -> Sinequa:
pass
Because we want more nuanced control of the construction without having to know what goes in the config. Normally config-based classes are initialized through secondary constructor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.