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

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.15.tar.gz (8.6 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.15-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_dsl-0.1.15.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for django_dsl-0.1.15.tar.gz
Algorithm Hash digest
SHA256 e7a6ca40ea48ea566a76c64b972a1b64f1611aebb7397823ab5f6e6cf4971a0b
MD5 b18cb8ffe49033ab5aa13ae895863ed8
BLAKE2b-256 7ae83b7e7963c23dfd00e9d882af9a29c229156afc6bd98d37230411af8155c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_dsl-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for django_dsl-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 06835545a1a19154b5c055ddd602607f1e989bb61b66b8ee29241700a8f5c194
MD5 4ef33c115d0c8e7164359b24d7af54ec
BLAKE2b-256 c28e5604c53bdf580abcf3ee98841013de1f0add2b3508f9d301255faddf5196

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

1 file

0.1.11

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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