{ "info": { "author": "Devhouse Spindle", "author_email": "opensource@wearespindle.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "FilterQL\r\n========\r\n\r\n|Build Status|\r\n\r\nWith FilterQL you can write filter queries with the use of python\r\nobjects. These objects can be translated to json and send over the wire\r\nto be used in some other backend. This allows you to not be limited to\r\nthe way you can define filters in (front-end) applications that\r\ncommunicate with and API.\r\n\r\nStatus\r\n------\r\n\r\nCurrently actively used and watched.\r\n\r\nUsage\r\n-----\r\n\r\nRequirements\r\n~~~~~~~~~~~~\r\n\r\n- python 2.7\r\n- python 3.3, 3.4, 3.5\r\n- (optional) django >= 1.8\r\n\r\nInstallation\r\n~~~~~~~~~~~~\r\n\r\n::\r\n\r\n pip install filterql\r\n\r\nRunning\r\n~~~~~~~\r\n\r\n.. code:: python\r\n\r\n\r\n from filterql import L, STARTSWITH\r\n\r\n # Filter query for name to start with `spindle` or `devhouse`\r\n lookup = L('name', 'spindle', lookup=STARTSWITH) | L('name', 'devhouse', lookup=STARTSWITH)\r\n\r\n # Convert to json to be able to send it to other systems.\r\n lookup_json = lookup.dumps()\r\n\r\n # On the other side either convert back to L objects or to Django Q objects.\r\n\r\n # L\r\n l_filters = L.from_json(lookup_json)\r\n\r\n # Django\r\n from filterql.serializers import DjangoSerializer\r\n\r\n django_filters = DjangoSerializer().from_json(lookup_json)\r\n\r\nContributing\r\n------------\r\n\r\nSee the\r\n`CONTRIBUTING.md `__\r\nfile on how to contribute to this project.\r\n\r\nContributors\r\n------------\r\n\r\nSee the\r\n`CONTRIBUTORS.md `__\r\nfile for a list of contributors to the project.\r\n\r\nRoadmap\r\n-------\r\n\r\nChangelog\r\n~~~~~~~~~\r\n\r\nThe changelog can be found in the\r\n`CHANGELOG.md `__\r\nfile.\r\n\r\nIn progress\r\n~~~~~~~~~~~\r\n\r\n- Publish on pypi\r\n\r\nFuture\r\n~~~~~~\r\n\r\n- Improve logic for combining lookup elements\r\n- (De)serialization for other data types like XML\r\n\r\nGet in touch with a developer\r\n-----------------------------\r\n\r\nIf you want to report an issue see the\r\n`CONTRIBUTING.md `__\r\nfile for more info.\r\n\r\nWe will be happy to answer your other questions at\r\nopensource@wearespindle.com\r\n\r\n.. |Build Status| image:: https://travis-ci.org/wearespindle/filterql.svg?branch=develop\r\n :target: https://travis-ci.org/wearespindle/filterql", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wearespindle/filterql", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "filterql", "package_url": "https://pypi.org/project/filterql/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/filterql/", "project_urls": { "Homepage": "https://github.com/wearespindle/filterql" }, "release_url": "https://pypi.org/project/filterql/0.1/", "requires_dist": null, "requires_python": null, "summary": "Filter queries to json and back", "version": "0.1" }, "last_serial": 2880065, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e942f8d8dc8e83a2703e5e5bf690b16b", "sha256": "4db8e3de8004f81858330b7bf6570caeccdb4555608abb658f44167c28d463fe" }, "downloads": -1, "filename": "filterql-0.1.tar.gz", "has_sig": false, "md5_digest": "e942f8d8dc8e83a2703e5e5bf690b16b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6910, "upload_time": "2017-05-17T09:42:57", "url": "https://files.pythonhosted.org/packages/b0/f9/b1f68f96da4b490b139875c3a307c521be58ede84c24c2a64bbaf5dca75d/filterql-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e942f8d8dc8e83a2703e5e5bf690b16b", "sha256": "4db8e3de8004f81858330b7bf6570caeccdb4555608abb658f44167c28d463fe" }, "downloads": -1, "filename": "filterql-0.1.tar.gz", "has_sig": false, "md5_digest": "e942f8d8dc8e83a2703e5e5bf690b16b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6910, "upload_time": "2017-05-17T09:42:57", "url": "https://files.pythonhosted.org/packages/b0/f9/b1f68f96da4b490b139875c3a307c521be58ede84c24c2a64bbaf5dca75d/filterql-0.1.tar.gz" } ] }