Sphinxit

Latest version: v0.3.2

Safety actively analyzes 618396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.2

--------------------------
* Fixed issue 11 with ``oursql`` exceptions on empty results

0.3.1

--------------------------

* Fixed OR objects workaround, more correct SphinxQL expression
* Updated connector with simple connection pool
* New ``POOL_SIZE`` config attribute
* :class:`BaseSearchConfig` in the ``sphinxit.core.helpers`` module
* Batch processing with subqueries (aka "facets"), updated :meth:`ask()` method.
* More tests and some optimizations

0.3

------------------------

* Completely rewritten library (from scratch, really)
* New master classes for queries - :class:`Search` and :class:`Snippet`
* New :meth:`ask()` method for query processing
* :class:`Q` object was renamed to :class:`OR` object, more meaningful name
* Explicit config class with ``DEBUG``, ``WITH_META``, ``WITH_STATUS`` and ``SEARCHD_CONNECTION`` attributes
* ``oursql`` and ``MySQLdb`` are both supported (``MySQLdb`` is the fallback)
* ``UPDATE`` syntax (for disk indexes only) is implemented
* ``OPTION`` clause is implemented
* Implicit arguments types corrections, if possible
* :class:``RawAttr`` object if you need more flexible queries
* Much more tests

0.2.1

--------------------------

* Python 2.6 compatibility is back
* ``unittest2`` usage fix for 2.6

0.2

--------------------------

* Python 3 compatibility (thanks to ``six`` layer)
* ``oursql`` as MySQL layer (no more ``MySQLdb``)
* Fixes in meta characters escaping
* The code is more polished and tested

0.1.2

--------------------------

* Connection on demand only (on the :meth:`process()` execution).
* Threaded connections and locks.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.