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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_dsl-0.1.14.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for django_dsl-0.1.14.tar.gz
Algorithm Hash digest
SHA256 d90409b9f0176c9f6f916ac0f8bc7ed7ae5a0686ad05b74ffd364ab5facf0d09
MD5 bd3ce53c8063d4eb0e1c0592966b3f57
BLAKE2b-256 6914635aadf7907adf8eeb024b5444af35cd55d0a223c3bf8f870af0d5f3b7da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_dsl-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 bea4158a61376f8e82117bf3085bb7b12b3cb17ad5a39f9d04032875f6a0310f
MD5 4debca3110af982c177d0a0c70efeb86
BLAKE2b-256 6a8e878ab08c7e42121585cd2516fb30877e61516aa525c40a8040e7c95404a3

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