Skip to main content

DSL for Django

Project description


|Licence| |Version|

| Status | Operating system |
| |Build_Status| | Linux x86\_64 |


- Django



pip install django-domain-specific-language


Allows you to search by specifying the name of the column of the

Characters allowed:

* Key (column name) : `A-Za-z0-9_.`
* Value : A-Za-z0-9_~*.^$?{}[]|!\/+-éèàû

Query Parser Syntax:

* Wildcard Searches: *

* *\test : All that ends by test
* test\* : All that starts by test
* *\test\* : All that contains test
* `Regex`_ Searches: ~

* ~\W+ : Matches any character which is not a word character.
* Boolean Operators: AND OR NOT
* Grouping: ( )


Your database:

.. figure::
:alt: DB image

DB image

The possible researches:

* Country:India AND Product:Ice-cream
* Country:\*a\* AND NOT Product:~.*e$

In your code:


from import compile
result = compile(request.GET['expression'])

.. _Regex:

.. |Build_Status| image::

.. |Version| image::
.. |Licence| image::

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page