django-rql | Django app , that adds RQL filtering | REST library

 by   cloudblue Python Version: 4.4.0 License: Apache-2.0

kandi X-RAY | django-rql Summary

kandi X-RAY | django-rql Summary

django-rql is a Python library typically used in Web Services, REST applications. django-rql has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However django-rql build file is not available. You can install using 'pip install django-rql' or download it from GitHub, PyPI.

[Coverage] django-rql is the Django app, that adds RQL filtering to your application. This library is based on core [lib-rql] library.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              django-rql has a low active ecosystem.
              It has 84 star(s) with 12 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 5 have been closed. On average issues are closed in 29 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of django-rql is 4.4.0

            kandi-Quality Quality

              django-rql has 0 bugs and 20 code smells.

            kandi-Security Security

              django-rql has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              django-rql code analysis shows 0 unresolved vulnerabilities.
              There are 31 security hotspots that need review.

            kandi-License License

              django-rql is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              django-rql releases are available to install and integrate.
              Deployable package is available in PyPI.
              django-rql has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              django-rql saves you 2351 person hours of effort in developing the same functionality from scratch.
              It has 5572 lines of code, 472 functions and 48 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed django-rql and discovered the below as its top functions. This is intended to give you an instant insight into django-rql implemented functionality, and help decide if they suit your requirements.
            • Check if a filter has old syntax
            • Return True if filter has old syntax
            • Returns True if the value has old syntax
            • Check if filter value has old syntax
            • Paginate the queryset
            • Return the limit for the query
            • Return the offset of the query
            • Returns a cls filter class
            • Return a dictionary of all possible types
            • Rebuild nested data structures
            • Build the logical operator
            • Rebuild nested relationships
            • Extend filters
            • Builds a filter
            • Returns a list of schema parameters
            • Add properties to query
            • Returns the query string
            • Set the ordering
            • Render a null value in place
            • Returns a list of models from an iterable
            • Creates a query based on the given criteria
            • Rebuild a new optimized optimization
            • Render the default key in place
            • Render the ordering in place
            • Generate rql query
            • Build filters
            Get all kandi verified functions for this library.

            django-rql Key Features

            No Key Features are available at this moment for django-rql.

            django-rql Examples and Code Snippets

            Example
            Pythondot img1Lines of Code : 131dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            from dj_rql.filter_cls import RQLFilterClass, RQL_NULL
            
            from py_rql.constants import FilterLookups
            
            
            class ModelFilterClass(RQLFilterClass):
                """
                MODEL - Django ORM model
                FILTERS - List of filters
                EXTENDED_SEARCH_ORM_ROUTES - List of a  

            Community Discussions

            QUESTION

            How to use library Django-RQL to filter fields of type 'Time' in Django Rest Framework?
            Asked 2020-Oct-29 at 10:57

            I would like using filter in my REST API in my field 'hora' but your type is Time. When I try do query, example: 127.0.0.1:8000/api/v1/queimadas/?hora=17:15:33, the error show: "RQL Parsing error."

            My task is filter this field 'hora' in beetween of times, like this: ?ge(hora,17:00:00)&le(hora,20:00:00) in url (Following the documentation), but I can not :(

            Thanks very much all.

            This is documentation the library django-rql - https://django-rql.readthedocs.io/en/latest/index.html

            My serializers.py:

            ...

            ANSWER

            Answered 2020-Oct-21 at 06:48

            I recommended you to use django_filters. It's very easy to use.

            Source https://stackoverflow.com/questions/64457777

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install django-rql

            You can install using 'pip install django-rql' or download it from GitHub, PyPI.
            You can use django-rql like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            Comparison (eq, ne, gt, ge, lt, le, like, ilike, search). Logical (and, or, not).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install django-rql

          • CLONE
          • HTTPS

            https://github.com/cloudblue/django-rql.git

          • CLI

            gh repo clone cloudblue/django-rql

          • sshUrl

            git@github.com:cloudblue/django-rql.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular REST Libraries

            public-apis

            by public-apis

            json-server

            by typicode

            iptv

            by iptv-org

            fastapi

            by tiangolo

            beego

            by beego

            Try Top Libraries by cloudblue

            django-cqrs

            by cloudbluePython

            lib-rql

            by cloudbluePython

            connect-python-sdk

            by cloudbluePython

            javascript-rql

            by cloudblueJavaScript

            connect-cli

            by cloudbluePython