{"repo":"coady/lupyne","free":true,"listed":false,"github":"https://github.com/coady/lupyne","clone":"git clone https://github.com/coady/lupyne.git","description":"Pythonic search engine based on PyLucene.","language":"Python","stars":132,"topics":["pylucene","lucene","search-engine","fastapi","strawberry-graphql"],"license":null,"category":"dev-tools","readme_excerpt":"Lupyne is a search engine based on PyLucene, the Python extension for accessing Java Lucene. Lucene is a relatively low-level toolkit, and PyLucene wraps it through automatic code generation. So although Java idioms are translated to Python idioms where possible, the resulting interface is far from Pythonic. See examples for comparisons with the Lucene API. Lupyne also provides GraphQL and RESTful search services, based on Starlette. Note Solr and Elasticsearch are popular options for Lucene-based search, if no further (Python) customization is needed. So while the services are suitable for production usage, their primary motivation is to be an extensible example. Not having to initially choose between an embedded library and a server not only provides greater flexibility, it can provide better performance, e.g., batch indexing offline and remote searching live. Additionally only lightweight wrappers with extended behavior are used wherever possible, so falling back to using PyLucene directly is always an option, but should never be necessary for performance. Usage PyLucene requires initializing the VM. Indexes are accessed through an IndexSearcher (read-only), IndexWriter , or the combined Indexer . See ./lupyne/services/README.md for services usage. Installation PyLucene is not pip installable. Install instructions Docker image: docker pull coady/pylucene Homebrew formula: brew install coady/tap/pylucene Dependencies PyLucene =10 strawberry-graphql (if graphql option) fasta","default_branch":null,"files":null,"tree":[],"storefront":"/r/coady","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/coady/lupyne/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}