Skip to main content
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

Django 6.0

No

No

Yes

Yes

Django 6.1

No

No

Yes

Yes

Django 6.0 and 6.1 require Python 3.12 or newer.

Running Tests

Does the code actually work?

uv sync --extra test
uv run pytest

License

MIT

Metadata

Release files for django-dsl 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-dsl 0.1.15
File Size Uploaded
django_dsl-0.1.15.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-dsl 0.1.15
File Interpreter ABI Platform
django_dsl-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / django_dsl-0.1.15.tar.gz

Download URL django_dsl-0.1.15.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e7a6ca40ea48ea566a76c64b972a1b64f1611aebb7397823ab5f6e6cf4971a0b
BLAKE2b-256 checksum
How to use checksums
7ae83b7e7963c23dfd00e9d882af9a29c229156afc6bd98d37230411af8155c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / django_dsl-0.1.15-py3-none-any.whl

Download URL django_dsl-0.1.15-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06835545a1a19154b5c055ddd602607f1e989bb61b66b8ee29241700a8f5c194
BLAKE2b-256 checksum
How to use checksums
c28e5604c53bdf580abcf3ee98841013de1f0add2b3508f9d301255faddf5196
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

1 release file

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page