django-logic

Django Logic - easy way to implement state-based business logic with pure functions

A new way for AI to search for data
View on GitHub
65GitHub stars
450commits on master
16forks
v3.0.1latest release, 2026-10-30

Python 99.8%, Makefile 0.2%, Dockerfile 0% · created 2019-11-15 · last push 2026-10-30

What XERJ indexed

Snapshot

168 files · 1.3 MB

Only django_logic, docs/design, docs/recipes, tests/background at commit e518ebb0bf (2026-10-15). master is 26 commits ahead.

Selected work

Emil
@emil-balashov

“Preserve committed provider receipts in optional non-atomic backgroun…”. 8 files, 699 lines in tests, django_logic.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

pythondjangofsmworkflowworkflow-diagramdjango-rest-frameworkdjango-logictransition

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for Borderless360/django-logic on 2026-10-31, and the LICENSE file at commit e518ebb0bf was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Emil (@emil-balashov) has 1 selected repository on the hub.

Using XERJ with django-logic

The prompt

Paste it into your AI agent. It clones Borderless360/django-logic at the pinned commit and indexes it on your machine.

Search the GitHub repository Borderless360/django-logic with XERJ (https://hub.xerj.org/corpus/borderless360--django-logic).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/Borderless360/django-logic django-logic && git -C django-logic checkout e518ebb0bf13e78269600eb5202e29e5be609bff
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./django-logic --url http://127.0.0.1:9200 --prefix django-logic --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.