SQLAlchemy-boolean-search
SQLAlchemy-boolean-search translates a boolean search string such as:
"field1=*something* and not (field2==1 or parent.field3<=10.0)"
into its corresponding SQLAlchemy query filter:
and_(DataModel.field1.ilike('%something%'),
not_(or_(DataModel.field2.__eq__(2),
DataModel.parent.field3.__le__(10.0))))
Relationship field names such as ‘parent.grandparent.name’ are accepted.
The code is stable, is used in production, and enjoys a test coverage of 100%.
Documentation
Metadata
Release files for SQLAlchemy-boolean-search 0.1.1
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 | |
|---|---|---|---|---|
| SQLAlchemy-boolean-search-0.1.1.tar.gz | 4.9 kB | Without provenance | Details |
Release files / SQLAlchemy-boolean-search-0.1.1.tar.gz
| Download URL | SQLAlchemy-boolean-search-0.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c15a1f02621618392864b185d18c53e0e2408d03210a0d2ff1b8ed3c2e8179c7
|
|
BLAKE2b-256 checksum How to use checksums |
b734b8247624445be395042208201786e771079002b7ad122054e40b1c4ce1c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for SQLAlchemy-boolean-search 0.1.1
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.