├── $readme.txt ├── .gitignore ├── .idea ├── .gitignore ├── LogicBank.iml ├── dataSources.xml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── runConfigurations │ ├── Python_tests_in_test_add_cust_py.xml │ ├── Unittests_in_tests__nw_only__.xml │ ├── custom_constraints.xml │ ├── load_event__fails_.xml │ ├── missing_attrs__run_alone_to_see_console_.xml │ ├── payment_allocation.xml │ ├── referential_integrity.xml │ └── transfer_funds.xml ├── sqldialects.xml └── vcs.xml ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── conf.py ├── examples ├── __init__.py ├── banking │ ├── __init__.py │ ├── db │ │ ├── Banking-Inserts.sql │ │ ├── __init__.py │ │ ├── create_db.py │ │ ├── database-gold.db │ │ ├── database.db │ │ └── models.py │ ├── logic │ │ ├── __init__.py │ │ └── rules_bank.py │ └── tests │ │ ├── __init__.py │ │ └── test_transfer_funds.py ├── copy_children │ ├── __init__.py │ ├── db │ │ ├── __init__.py │ │ ├── copy_children_db_diagram.png │ │ ├── database-gold.db │ │ └── models.py │ ├── logic │ │ ├── __init__.py │ │ └── rules_bank.py │ └── tests │ │ ├── __init__.py │ │ └── test_clone_project.py ├── custom_exceptions │ ├── __init__.py │ ├── db │ │ ├── __init__.py │ │ ├── database-gold.db │ │ ├── database.db │ │ └── models.py │ ├── logic │ │ ├── __init__.py │ │ └── rules_bank.py │ └── tests │ │ ├── __init__.py │ │ └── test_custom_constraints.py ├── insert_parent │ ├── __init__.py │ ├── db │ │ ├── __init__.py │ │ ├── database-gold.db │ │ └── models.py │ ├── logic │ │ ├── __init__.py │ │ └── rules_bank.py │ └── tests │ │ ├── __init__.py │ │ ├── passes.log │ │ └── test_insert_parent.py ├── nw │ ├── __init__.py │ ├── db │ │ ├── __init__.py │ │ ├── database-gold-plus.db │ │ ├── database-gold.db │ │ ├── database.db │ │ ├── models-sa-old.py │ │ └── models.py │ ├── logic │ │ ├── __init__.py │ │ ├── extensibility │ │ │ ├── __init__.py │ │ │ ├── nw_copy.py │ │ │ └── nw_rule_extensions.py │ │ ├── legacy │ │ │ ├── __init__.py │ │ │ ├── customer_code.py │ │ │ ├── order_code.py │ │ │ ├── order_detail_code.py │ │ │ └── setup.py │ │ └── logic.py │ └── tests │ │ ├── __init__.py │ │ ├── load_event.db │ │ ├── load_event.py │ │ ├── nw_test.py │ │ ├── test_add_cust.py │ │ ├── test_add_emp.py │ │ ├── test_add_order.py │ │ ├── test_add_order_log.txt │ │ ├── test_dlt_customer.py │ │ ├── test_dlt_shipped_order.py │ │ ├── test_dlt_unshipped_order.py │ │ ├── test_missing_attrs.py │ │ ├── test_upd_employee_audit.py │ │ ├── test_upd_employee_salary.py │ │ ├── test_upd_order_customer.py │ │ ├── test_upd_order_required.py │ │ ├── test_upd_order_reuse.py │ │ ├── test_upd_order_security.py │ │ ├── test_upd_order_shipped.py │ │ ├── test_upd_order_shipped_auto_commit.py │ │ └── test_upd_orderclass_required.py ├── payment_allocation │ ├── __init__.py │ ├── db │ │ ├── __init__.py │ │ ├── database-gold.db │ │ ├── database.db │ │ └── models.py │ ├── logic │ │ ├── __init__.py │ │ └── rules_bank.py │ └── tests │ │ ├── __init__.py │ │ └── test_payment_allocation.py ├── recompute │ └── db │ │ └── db.sqlite ├── referential_integrity │ ├── __init__.py │ ├── db │ │ ├── __init__.py │ │ ├── database-gold.db │ │ ├── database.db │ │ └── models.py │ ├── logic │ │ ├── __init__.py │ │ └── rules_bank.py │ └── tests │ │ ├── __init__.py │ │ └── test_referential_integrity.py └── tutorial │ ├── __init__.py │ ├── db │ ├── __init__.py │ ├── database-gold.db │ ├── database.db │ └── models.py │ ├── logic │ ├── __init__.py │ └── tutorial_logic.py │ └── tests │ ├── __init__.py │ └── test_tutorial.py ├── identifier.sqlite ├── images ├── allocation │ ├── allocation-db.png │ ├── db.png │ ├── logic-diagram.png │ ├── logic-log.png │ └── logic.png ├── architecture.png ├── banking │ ├── BankingDemoSchema.PNG │ └── banking-transfer.png ├── check-credit.png ├── example.png ├── extensibility │ ├── code-completion.png │ └── rule-extension-audit.png ├── fab.png ├── fab │ ├── activate-rules.png │ ├── configure-logging.png │ └── fix-search-path.png ├── jetbrains-variant-4.png ├── logic-bank-project.png ├── nw.png ├── overview │ ├── cocktail-logic-bank.png │ ├── cocktail-rules.png │ ├── like-a-spreadsheet.png │ ├── log.png │ └── rules-vs-code.png ├── ref-integ │ ├── ri-settings-notes.png │ └── ri-settings.png ├── reps-orders │ ├── Agile Design Automation.png │ ├── agile-design-automation-def.png │ ├── agile-design-automation.png │ ├── emp-orders.png │ ├── emp-web-app.png │ ├── emp.png │ ├── employee-order-count.png │ ├── example.png │ ├── only-reps-have-orders-db.png │ └── only-reps-have-orders.png ├── ship-order.png └── tutorial │ └── building-rules.png ├── logic_bank ├── __init__.py ├── exceptions.py ├── exec_row_logic │ ├── __init__.py │ └── logic_row.py ├── exec_trans_logic │ ├── __init__.py │ ├── listeners.py │ └── row_sets.py ├── extensions │ ├── __init__.py │ ├── allocate.py │ ├── copy_children.py │ ├── copy_row.py │ └── rule_extensions.py ├── logic_bank.py ├── rule_bank │ ├── SingletonMeta_experiment.py │ ├── __init__.py │ ├── rule_bank.py │ ├── rule_bank_setup.py │ └── rule_bank_withdraw.py ├── rule_type │ ├── __init__.py │ ├── abstractrule.py │ ├── aggregate.py │ ├── constraint.py │ ├── copy.py │ ├── count.py │ ├── derivation.py │ ├── formula.py │ ├── parent_cascade.py │ ├── parent_check.py │ ├── row_event.py │ └── sum.py └── util.py ├── py.py ├── pyproject.toml ├── readme_dev.md ├── requirements.txt ├── run_tests.py ├── setup.py └── test_summary.txt /$readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/$readme.txt -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/LogicBank.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/LogicBank.iml -------------------------------------------------------------------------------- /.idea/dataSources.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/dataSources.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/Python_tests_in_test_add_cust_py.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/Python_tests_in_test_add_cust_py.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/Unittests_in_tests__nw_only__.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/Unittests_in_tests__nw_only__.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/custom_constraints.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/custom_constraints.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/load_event__fails_.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/load_event__fails_.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/missing_attrs__run_alone_to_see_console_.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/missing_attrs__run_alone_to_see_console_.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/payment_allocation.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/payment_allocation.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/referential_integrity.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/referential_integrity.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/transfer_funds.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/runConfigurations/transfer_funds.xml -------------------------------------------------------------------------------- /.idea/sqldialects.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/sqldialects.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/README.md -------------------------------------------------------------------------------- /conf.py: -------------------------------------------------------------------------------- 1 | pygments_style = 'sphinx' 2 | -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/banking/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/__init__.py -------------------------------------------------------------------------------- /examples/banking/db/Banking-Inserts.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/db/Banking-Inserts.sql -------------------------------------------------------------------------------- /examples/banking/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/banking/db/create_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/db/create_db.py -------------------------------------------------------------------------------- /examples/banking/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/db/database-gold.db -------------------------------------------------------------------------------- /examples/banking/db/database.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/db/database.db -------------------------------------------------------------------------------- /examples/banking/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/db/models.py -------------------------------------------------------------------------------- /examples/banking/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/banking/logic/rules_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/logic/rules_bank.py -------------------------------------------------------------------------------- /examples/banking/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/banking/tests/test_transfer_funds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/banking/tests/test_transfer_funds.py -------------------------------------------------------------------------------- /examples/copy_children/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/copy_children/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/copy_children/db/copy_children_db_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/copy_children/db/copy_children_db_diagram.png -------------------------------------------------------------------------------- /examples/copy_children/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/copy_children/db/database-gold.db -------------------------------------------------------------------------------- /examples/copy_children/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/copy_children/db/models.py -------------------------------------------------------------------------------- /examples/copy_children/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/copy_children/logic/rules_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/copy_children/logic/rules_bank.py -------------------------------------------------------------------------------- /examples/copy_children/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/copy_children/tests/test_clone_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/copy_children/tests/test_clone_project.py -------------------------------------------------------------------------------- /examples/custom_exceptions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/custom_exceptions/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/custom_exceptions/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/custom_exceptions/db/database-gold.db -------------------------------------------------------------------------------- /examples/custom_exceptions/db/database.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/custom_exceptions/db/database.db -------------------------------------------------------------------------------- /examples/custom_exceptions/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/custom_exceptions/db/models.py -------------------------------------------------------------------------------- /examples/custom_exceptions/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/custom_exceptions/logic/rules_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/custom_exceptions/logic/rules_bank.py -------------------------------------------------------------------------------- /examples/custom_exceptions/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/custom_exceptions/tests/test_custom_constraints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/custom_exceptions/tests/test_custom_constraints.py -------------------------------------------------------------------------------- /examples/insert_parent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/insert_parent/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/insert_parent/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/insert_parent/db/database-gold.db -------------------------------------------------------------------------------- /examples/insert_parent/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/insert_parent/db/models.py -------------------------------------------------------------------------------- /examples/insert_parent/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/insert_parent/logic/rules_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/insert_parent/logic/rules_bank.py -------------------------------------------------------------------------------- /examples/insert_parent/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/insert_parent/tests/passes.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/insert_parent/tests/passes.log -------------------------------------------------------------------------------- /examples/insert_parent/tests/test_insert_parent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/insert_parent/tests/test_insert_parent.py -------------------------------------------------------------------------------- /examples/nw/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/nw/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/nw/db/database-gold-plus.db: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/nw/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/db/database-gold.db -------------------------------------------------------------------------------- /examples/nw/db/database.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/db/database.db -------------------------------------------------------------------------------- /examples/nw/db/models-sa-old.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/db/models-sa-old.py -------------------------------------------------------------------------------- /examples/nw/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/db/models.py -------------------------------------------------------------------------------- /examples/nw/logic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/__init__.py -------------------------------------------------------------------------------- /examples/nw/logic/extensibility/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/nw/logic/extensibility/nw_copy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/extensibility/nw_copy.py -------------------------------------------------------------------------------- /examples/nw/logic/extensibility/nw_rule_extensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/extensibility/nw_rule_extensions.py -------------------------------------------------------------------------------- /examples/nw/logic/legacy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/nw/logic/legacy/customer_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/legacy/customer_code.py -------------------------------------------------------------------------------- /examples/nw/logic/legacy/order_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/legacy/order_code.py -------------------------------------------------------------------------------- /examples/nw/logic/legacy/order_detail_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/legacy/order_detail_code.py -------------------------------------------------------------------------------- /examples/nw/logic/legacy/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/legacy/setup.py -------------------------------------------------------------------------------- /examples/nw/logic/logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/logic/logic.py -------------------------------------------------------------------------------- /examples/nw/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/__init__.py -------------------------------------------------------------------------------- /examples/nw/tests/load_event.db: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/nw/tests/load_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/load_event.py -------------------------------------------------------------------------------- /examples/nw/tests/nw_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/nw_test.py -------------------------------------------------------------------------------- /examples/nw/tests/test_add_cust.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_add_cust.py -------------------------------------------------------------------------------- /examples/nw/tests/test_add_emp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_add_emp.py -------------------------------------------------------------------------------- /examples/nw/tests/test_add_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_add_order.py -------------------------------------------------------------------------------- /examples/nw/tests/test_add_order_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_add_order_log.txt -------------------------------------------------------------------------------- /examples/nw/tests/test_dlt_customer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_dlt_customer.py -------------------------------------------------------------------------------- /examples/nw/tests/test_dlt_shipped_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_dlt_shipped_order.py -------------------------------------------------------------------------------- /examples/nw/tests/test_dlt_unshipped_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_dlt_unshipped_order.py -------------------------------------------------------------------------------- /examples/nw/tests/test_missing_attrs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_missing_attrs.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_employee_audit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_employee_audit.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_employee_salary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_employee_salary.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_order_customer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_order_customer.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_order_required.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_order_required.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_order_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_order_reuse.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_order_security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_order_security.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_order_shipped.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_order_shipped.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_order_shipped_auto_commit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_order_shipped_auto_commit.py -------------------------------------------------------------------------------- /examples/nw/tests/test_upd_orderclass_required.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/nw/tests/test_upd_orderclass_required.py -------------------------------------------------------------------------------- /examples/payment_allocation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/payment_allocation/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/payment_allocation/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/payment_allocation/db/database-gold.db -------------------------------------------------------------------------------- /examples/payment_allocation/db/database.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/payment_allocation/db/database.db -------------------------------------------------------------------------------- /examples/payment_allocation/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/payment_allocation/db/models.py -------------------------------------------------------------------------------- /examples/payment_allocation/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/payment_allocation/logic/rules_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/payment_allocation/logic/rules_bank.py -------------------------------------------------------------------------------- /examples/payment_allocation/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/payment_allocation/tests/test_payment_allocation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/payment_allocation/tests/test_payment_allocation.py -------------------------------------------------------------------------------- /examples/recompute/db/db.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/recompute/db/db.sqlite -------------------------------------------------------------------------------- /examples/referential_integrity/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/referential_integrity/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/referential_integrity/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/referential_integrity/db/database-gold.db -------------------------------------------------------------------------------- /examples/referential_integrity/db/database.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/referential_integrity/db/database.db -------------------------------------------------------------------------------- /examples/referential_integrity/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/referential_integrity/db/models.py -------------------------------------------------------------------------------- /examples/referential_integrity/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/referential_integrity/logic/rules_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/referential_integrity/logic/rules_bank.py -------------------------------------------------------------------------------- /examples/referential_integrity/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/referential_integrity/tests/test_referential_integrity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/referential_integrity/tests/test_referential_integrity.py -------------------------------------------------------------------------------- /examples/tutorial/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/tutorial/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/tutorial/db/database-gold.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/tutorial/db/database-gold.db -------------------------------------------------------------------------------- /examples/tutorial/db/database.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/tutorial/db/database.db -------------------------------------------------------------------------------- /examples/tutorial/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/tutorial/db/models.py -------------------------------------------------------------------------------- /examples/tutorial/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/tutorial/logic/tutorial_logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/tutorial/logic/tutorial_logic.py -------------------------------------------------------------------------------- /examples/tutorial/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/tutorial/tests/test_tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/examples/tutorial/tests/test_tutorial.py -------------------------------------------------------------------------------- /identifier.sqlite: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/allocation/allocation-db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/allocation/allocation-db.png -------------------------------------------------------------------------------- /images/allocation/db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/allocation/db.png -------------------------------------------------------------------------------- /images/allocation/logic-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/allocation/logic-diagram.png -------------------------------------------------------------------------------- /images/allocation/logic-log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/allocation/logic-log.png -------------------------------------------------------------------------------- /images/allocation/logic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/allocation/logic.png -------------------------------------------------------------------------------- /images/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/architecture.png -------------------------------------------------------------------------------- /images/banking/BankingDemoSchema.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/banking/BankingDemoSchema.PNG -------------------------------------------------------------------------------- /images/banking/banking-transfer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/banking/banking-transfer.png -------------------------------------------------------------------------------- /images/check-credit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/check-credit.png -------------------------------------------------------------------------------- /images/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/example.png -------------------------------------------------------------------------------- /images/extensibility/code-completion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/extensibility/code-completion.png -------------------------------------------------------------------------------- /images/extensibility/rule-extension-audit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/extensibility/rule-extension-audit.png -------------------------------------------------------------------------------- /images/fab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/fab.png -------------------------------------------------------------------------------- /images/fab/activate-rules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/fab/activate-rules.png -------------------------------------------------------------------------------- /images/fab/configure-logging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/fab/configure-logging.png -------------------------------------------------------------------------------- /images/fab/fix-search-path.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/fab/fix-search-path.png -------------------------------------------------------------------------------- /images/jetbrains-variant-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/jetbrains-variant-4.png -------------------------------------------------------------------------------- /images/logic-bank-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/logic-bank-project.png -------------------------------------------------------------------------------- /images/nw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/nw.png -------------------------------------------------------------------------------- /images/overview/cocktail-logic-bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/overview/cocktail-logic-bank.png -------------------------------------------------------------------------------- /images/overview/cocktail-rules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/overview/cocktail-rules.png -------------------------------------------------------------------------------- /images/overview/like-a-spreadsheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/overview/like-a-spreadsheet.png -------------------------------------------------------------------------------- /images/overview/log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/overview/log.png -------------------------------------------------------------------------------- /images/overview/rules-vs-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/overview/rules-vs-code.png -------------------------------------------------------------------------------- /images/ref-integ/ri-settings-notes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/ref-integ/ri-settings-notes.png -------------------------------------------------------------------------------- /images/ref-integ/ri-settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/ref-integ/ri-settings.png -------------------------------------------------------------------------------- /images/reps-orders/Agile Design Automation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/Agile Design Automation.png -------------------------------------------------------------------------------- /images/reps-orders/agile-design-automation-def.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/agile-design-automation-def.png -------------------------------------------------------------------------------- /images/reps-orders/agile-design-automation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/agile-design-automation.png -------------------------------------------------------------------------------- /images/reps-orders/emp-orders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/emp-orders.png -------------------------------------------------------------------------------- /images/reps-orders/emp-web-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/emp-web-app.png -------------------------------------------------------------------------------- /images/reps-orders/emp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/emp.png -------------------------------------------------------------------------------- /images/reps-orders/employee-order-count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/employee-order-count.png -------------------------------------------------------------------------------- /images/reps-orders/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/example.png -------------------------------------------------------------------------------- /images/reps-orders/only-reps-have-orders-db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/only-reps-have-orders-db.png -------------------------------------------------------------------------------- /images/reps-orders/only-reps-have-orders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/reps-orders/only-reps-have-orders.png -------------------------------------------------------------------------------- /images/ship-order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/ship-order.png -------------------------------------------------------------------------------- /images/tutorial/building-rules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/images/tutorial/building-rules.png -------------------------------------------------------------------------------- /logic_bank/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/__init__.py -------------------------------------------------------------------------------- /logic_bank/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/exceptions.py -------------------------------------------------------------------------------- /logic_bank/exec_row_logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logic_bank/exec_row_logic/logic_row.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/exec_row_logic/logic_row.py -------------------------------------------------------------------------------- /logic_bank/exec_trans_logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logic_bank/exec_trans_logic/listeners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/exec_trans_logic/listeners.py -------------------------------------------------------------------------------- /logic_bank/exec_trans_logic/row_sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/exec_trans_logic/row_sets.py -------------------------------------------------------------------------------- /logic_bank/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logic_bank/extensions/allocate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/extensions/allocate.py -------------------------------------------------------------------------------- /logic_bank/extensions/copy_children.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/extensions/copy_children.py -------------------------------------------------------------------------------- /logic_bank/extensions/copy_row.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/extensions/copy_row.py -------------------------------------------------------------------------------- /logic_bank/extensions/rule_extensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/extensions/rule_extensions.py -------------------------------------------------------------------------------- /logic_bank/logic_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/logic_bank.py -------------------------------------------------------------------------------- /logic_bank/rule_bank/SingletonMeta_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_bank/SingletonMeta_experiment.py -------------------------------------------------------------------------------- /logic_bank/rule_bank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logic_bank/rule_bank/rule_bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_bank/rule_bank.py -------------------------------------------------------------------------------- /logic_bank/rule_bank/rule_bank_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_bank/rule_bank_setup.py -------------------------------------------------------------------------------- /logic_bank/rule_bank/rule_bank_withdraw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_bank/rule_bank_withdraw.py -------------------------------------------------------------------------------- /logic_bank/rule_type/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logic_bank/rule_type/abstractrule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/abstractrule.py -------------------------------------------------------------------------------- /logic_bank/rule_type/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/aggregate.py -------------------------------------------------------------------------------- /logic_bank/rule_type/constraint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/constraint.py -------------------------------------------------------------------------------- /logic_bank/rule_type/copy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/copy.py -------------------------------------------------------------------------------- /logic_bank/rule_type/count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/count.py -------------------------------------------------------------------------------- /logic_bank/rule_type/derivation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/derivation.py -------------------------------------------------------------------------------- /logic_bank/rule_type/formula.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/formula.py -------------------------------------------------------------------------------- /logic_bank/rule_type/parent_cascade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/parent_cascade.py -------------------------------------------------------------------------------- /logic_bank/rule_type/parent_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/parent_check.py -------------------------------------------------------------------------------- /logic_bank/rule_type/row_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/row_event.py -------------------------------------------------------------------------------- /logic_bank/rule_type/sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/rule_type/sum.py -------------------------------------------------------------------------------- /logic_bank/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/logic_bank/util.py -------------------------------------------------------------------------------- /py.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/py.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/pyproject.toml -------------------------------------------------------------------------------- /readme_dev.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/readme_dev.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/run_tests.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/setup.py -------------------------------------------------------------------------------- /test_summary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/valhuber/LogicBank/HEAD/test_summary.txt --------------------------------------------------------------------------------