Django query evaluator, is built on top of XFormula language front-end.
Project description
django-xformula
Django query evaluator, is built on top of XFormula language front-end.
This project is still in development.
If you're interested, you may check the note in XFormula repository.
Features:
- Bidirectional operators
-
- Same syntax for both Python and Django query evaluation
-
- If an operation contains at least one
django.db.models.expressions.Combinable
ordjango.db.models.Q
object, it will be evaluated asdjango.db.models.Q
object
- If an operation contains at least one
- Zero built-in variable by defaults
-
- When a variable name is used but does not exist in the specified built-ins,
it will be evaluated as
django.db.models.F
object
- When a variable name is used but does not exist in the specified built-ins,
it will be evaluated as
- Customizable attribute getter; manage which attributes can be used in formulas (Getting an attribute of an object is prohibited by default)
- Customizable caller; manage which functions can be called in formulas (Calling is prohibited by default)
License
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_xformula-0.1.1.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for django_xformula-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 422c1027ac8c2b134a9ed312d01889037d3fe172042d251f24b945cdaf4d36c9 |
|
MD5 | ad657e6b7b8b9825c9cb1ef5e95d5da2 |
|
BLAKE2b-256 | 15125896266516faa2d9f1c35973813e3600875a0ea3fa816aea5b5d79f9a4bc |