Skip to main content

DSL for Django ORM

Project description

https://badge.fury.io/py/django-dsl.svg https://travis-ci.org/mpasternak/django-dsl.svg?branch=master https://codecov.io/gh/mpasternak/django-dsl/branch/master/graph/badge.svg

DSL for Django ORM

This is a simple query language for Django ORM. You can give it to your customers so they will be able to filter the database without having to edit code.

From one side, you feed it with a string, supplied by the user. And, it gives you Q-objects, ready to be used in QuerySet.filter() call.

Please see tests/test_dsl.py file for example usage.

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

History

0.1.0 (2017-07-21)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

django-dsl-0.1.9.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

django_dsl-0.1.9-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-dsl-0.1.9.tar.gz.

File metadata

  • Download URL: django-dsl-0.1.9.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-dsl-0.1.9.tar.gz
Algorithm Hash digest
SHA256 cf3e5df9249ce0bb59d90bcb2e271aac21bc783475739fe2e337a1679082ee35
MD5 aecc46a2cb0d2ac5ae0fc5907a22bfa3
BLAKE2b-256 d3693abc6c53277e5874ee3e619f9dc2a23b4ae51d552fce6c4a3e6ef1440854

See more details on using hashes here.

File details

Details for the file django_dsl-0.1.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_dsl-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb221f06e1fcf488e433b612a84ead71dfec8478b8d980530cfb4fd524e7dd04
MD5 ae77948c6a003409053b7cd7ebfda05e
BLAKE2b-256 26f74c49c8174232ee909438f8ac2de89f5beec795ce25db03449aa5bee5665e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page