Skip to main content

DSL for Django ORM

Project description

https://badge.fury.io/py/django-dsl.svg https://github.com/mpasternak/django-dsl/actions/workflows/tests.yml/badge.svg?branch=master

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.

Supported versions

3.10

3.11

3.12

3.13

Django 4.2

Yes

Yes

Yes

Yes

Django 5.1

Yes

Yes

Yes

Yes

Django 5.2

Yes

Yes

Yes

Yes

Running Tests

Does the code actually work?

uv sync --extra test
uv run pytest

License

MIT

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.13.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file django_dsl-0.1.13.tar.gz.

File metadata

  • Download URL: django_dsl-0.1.13.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for django_dsl-0.1.13.tar.gz
Algorithm Hash digest
SHA256 6ffa9253b006183fdddc54d2994f3e31b8f9139eb0f20a9ceb996336989bbe72
MD5 0eee58038d6f801f445f400e67d7c4e7
BLAKE2b-256 8ad1f48a550cab31b6930576cb8cf1d3a7437324283783c3c28eaa9f63e682bf

See more details on using hashes here.

File details

Details for the file django_dsl-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: django_dsl-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for django_dsl-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f9a49acadfccca047f24beb13d372523ce06caacbd7828a02fa7337a789c33cb
MD5 d212818ce352bf16f815e36a7cb669bd
BLAKE2b-256 fdd235d77390a9e6e3c0deda108e7df2c6eaa2b88022b58e65b2650bffa1e2b9

See more details on using hashes here.

Supported by

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