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)
| File | Size | Uploaded | |
|---|---|---|---|
| django_dsl-0.1.15.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|