1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
FilterQL
With FilterQL you can write filter queries with the use of python objects. These objects can be translated to json and send over the wire to be used in some other backend. This allows you to not be limited to the way you can define filters in (front-end) applications that communicate with and API.
Status
Currently actively used and watched.
Usage
Requirements
python 2.7
python 3.3, 3.4, 3.5
(optional) django >= 1.8
Installation
pip install filterql
Running
from filterql import L, STARTSWITH
# Filter query for name to start with `spindle` or `devhouse`
lookup = L('name', 'spindle', lookup=STARTSWITH) | L('name', 'devhouse', lookup=STARTSWITH)
# Convert to json to be able to send it to other systems.
lookup_json = lookup.dumps()
# On the other side either convert back to L objects or to Django Q objects.
# L
l_filters = L.from_json(lookup_json)
# Django
from filterql.serializers import DjangoSerializer
django_filters = DjangoSerializer().from_json(lookup_json)
Contributing
See the CONTRIBUTING.md file on how to contribute to this project.
Contributors
See the CONTRIBUTORS.md file for a list of contributors to the project.
Roadmap
Changelog
The changelog can be found in the CHANGELOG.md file.
In progress
Publish on pypi
Future
Improve logic for combining lookup elements
(De)serialization for other data types like XML
Get in touch with a developer
If you want to report an issue see the CONTRIBUTING.md file for more info.
We will be happy to answer your other questions at opensource@wearespindle.com
Metadata
Release files for filterql 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| filterql-0.1.tar.gz | 6.9 kB | Without provenance | Details for filterql-0.1.tar.gz |
Release files / filterql-0.1.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | filterql-0.1.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4db8e3de8004f81858330b7bf6570caeccdb4555608abb658f44167c28d463fe
|
|
BLAKE2b-256 checksum How to use checksums |
b0f9b1f68f96da4b490b139875c3a307c521be58ede84c24c2a64bbaf5dca75d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for filterql 0.1
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.