evlet 0.1.2__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) hide show
  1. {evlet-0.1.2 → evlet-0.2.0}/AGENTS.md +10 -7
  2. {evlet-0.1.2 → evlet-0.2.0}/MANIFEST.in +6 -5
  3. evlet-0.2.0/PKG-INFO +119 -0
  4. evlet-0.2.0/README.md +93 -0
  5. {evlet-0.1.2 → evlet-0.2.0}/build_support.py +5 -2
  6. evlet-0.2.0/docs/amendment-v2-release-notes.md +199 -0
  7. evlet-0.2.0/docs/amendment-v2.md +342 -0
  8. evlet-0.2.0/docs/app-upgrades.md +78 -0
  9. {evlet-0.1.2 → evlet-0.2.0}/docs/application-generation.md +4 -3
  10. {evlet-0.1.2 → evlet-0.2.0}/docs/architecture.md +43 -13
  11. {evlet-0.1.2 → evlet-0.2.0}/docs/business-capabilities.md +56 -6
  12. evlet-0.2.0/docs/cli.md +435 -0
  13. {evlet-0.1.2 → evlet-0.2.0}/docs/connector.md +91 -8
  14. evlet-0.1.2/README.md → evlet-0.2.0/docs/contributing.md +33 -115
  15. evlet-0.2.0/docs/controls.md +693 -0
  16. evlet-0.2.0/docs/customizing.md +126 -0
  17. evlet-0.2.0/docs/effects.md +322 -0
  18. evlet-0.2.0/docs/finite-calculations.md +509 -0
  19. evlet-0.2.0/docs/getting-started.md +84 -0
  20. evlet-0.2.0/docs/handoff-model.md +474 -0
  21. evlet-0.2.0/docs/handoff-plan.md +240 -0
  22. evlet-0.2.0/docs/handoff-routing-controls-settings.md +790 -0
  23. {evlet-0.1.2 → evlet-0.2.0}/docs/jobs-realtime.md +24 -3
  24. evlet-0.2.0/docs/journal.md +324 -0
  25. evlet-0.2.0/docs/meaning.md +148 -0
  26. evlet-0.2.0/docs/measures.md +307 -0
  27. evlet-0.2.0/docs/milestones.md +53 -0
  28. evlet-0.2.0/docs/model-engine-implementation-status.md +883 -0
  29. {evlet-0.1.2 → evlet-0.2.0}/docs/model-engine.md +111 -4
  30. evlet-0.2.0/docs/performance.md +351 -0
  31. {evlet-0.1.2 → evlet-0.2.0}/docs/postgresql.md +11 -1
  32. {evlet-0.1.2 → evlet-0.2.0}/docs/production-operations.md +10 -0
  33. evlet-0.2.0/docs/routing.md +371 -0
  34. evlet-0.2.0/docs/sequences.md +265 -0
  35. evlet-0.2.0/docs/settings.md +242 -0
  36. {evlet-0.1.2 → evlet-0.2.0}/docs/specification.md +7 -7
  37. evlet-0.2.0/docs/states-actions.md +525 -0
  38. {evlet-0.1.2 → evlet-0.2.0}/docs/tenancy-deployment.md +11 -2
  39. evlet-0.2.0/docs/testcrm.md +120 -0
  40. evlet-0.2.0/docs/ui-design/README.md +1511 -0
  41. evlet-0.2.0/docs/ui-design/reference/CHANGELOG.md +71 -0
  42. evlet-0.2.0/docs/ui-framework.md +493 -0
  43. evlet-0.2.0/docs/ui.md +332 -0
  44. evlet-0.2.0/evlet/__init__.py +87 -0
  45. evlet-0.2.0/evlet/__main__.py +12 -0
  46. {evlet-0.1.2 → evlet-0.2.0}/evlet/app.py +170 -40
  47. evlet-0.2.0/evlet/assistants.py +580 -0
  48. evlet-0.2.0/evlet/auth.py +715 -0
  49. evlet-0.2.0/evlet/builds.py +241 -0
  50. evlet-0.2.0/evlet/business.py +1215 -0
  51. evlet-0.2.0/evlet/calc.py +1924 -0
  52. evlet-0.2.0/evlet/cli/app.py +98 -0
  53. evlet-0.2.0/evlet/cli/connector.py +65 -0
  54. {evlet-0.1.2 → evlet-0.2.0}/evlet/cli/docs.py +1 -1
  55. evlet-0.2.0/evlet/cli/effects.py +21 -0
  56. {evlet-0.1.2 → evlet-0.2.0}/evlet/cli/install.py +16 -6
  57. {evlet-0.1.2 → evlet-0.2.0}/evlet/cli/instance.py +1 -1
  58. evlet-0.2.0/evlet/cli/journal.py +42 -0
  59. {evlet-0.1.2 → evlet-0.2.0}/evlet/cli/legacy.py +3 -50
  60. evlet-0.2.0/evlet/cli/main.py +311 -0
  61. {evlet-0.1.2 → evlet-0.2.0}/evlet/cli/playground.py +11 -6
  62. {evlet-0.1.2 → evlet-0.2.0}/evlet/cli/project.py +30 -5
  63. evlet-0.2.0/evlet/cli/proxy.py +130 -0
  64. evlet-0.2.0/evlet/cli/serve.py +183 -0
  65. evlet-0.2.0/evlet/cli/setup.py +64 -0
  66. {evlet-0.1.2 → evlet-0.2.0}/evlet/connector.py +13 -2
  67. evlet-0.2.0/evlet/connectors.py +736 -0
  68. evlet-0.2.0/evlet/controls.py +1081 -0
  69. evlet-0.2.0/evlet/controls_export.py +234 -0
  70. evlet-0.2.0/evlet/controls_system.py +320 -0
  71. evlet-0.2.0/evlet/corrections.py +666 -0
  72. evlet-0.2.0/evlet/customization.py +848 -0
  73. {evlet-0.1.2 → evlet-0.2.0}/evlet/database.py +132 -20
  74. evlet-0.2.0/evlet/declarations.py +201 -0
  75. {evlet-0.1.2 → evlet-0.2.0}/evlet/deployment.py +10 -0
  76. {evlet-0.1.2 → evlet-0.2.0}/evlet/discovery.py +17 -1
  77. evlet-0.2.0/evlet/documents.py +1524 -0
  78. evlet-0.2.0/evlet/effects.py +903 -0
  79. {evlet-0.1.2 → evlet-0.2.0}/evlet/events.py +19 -4
  80. evlet-0.2.0/evlet/expressions.py +255 -0
  81. evlet-0.2.0/evlet/fields.py +807 -0
  82. evlet-0.2.0/evlet/forms.py +255 -0
  83. {evlet-0.1.2 → evlet-0.2.0}/evlet/instances.py +184 -26
  84. {evlet-0.1.2 → evlet-0.2.0}/evlet/jobs.py +99 -14
  85. evlet-0.2.0/evlet/journal.py +724 -0
  86. evlet-0.2.0/evlet/mailboxes.py +917 -0
  87. {evlet-0.1.2 → evlet-0.2.0}/evlet/mcp.py +42 -14
  88. evlet-0.2.0/evlet/meaning.py +178 -0
  89. evlet-0.2.0/evlet/measures.py +714 -0
  90. evlet-0.2.0/evlet/metadata.py +5 -0
  91. evlet-0.2.0/evlet/migrations.py +649 -0
  92. evlet-0.2.0/evlet/models.py +443 -0
  93. evlet-0.2.0/evlet/native.py +101 -0
  94. {evlet-0.1.2 → evlet-0.2.0}/evlet/object_storage.py +14 -3
  95. {evlet-0.1.2 → evlet-0.2.0}/evlet/packages.py +87 -18
  96. evlet-0.2.0/evlet/permissions.py +431 -0
  97. {evlet-0.1.2 → evlet-0.2.0}/evlet/postgres.py +17 -9
  98. {evlet-0.1.2 → evlet-0.2.0}/evlet/postgres_schema.py +61 -30
  99. {evlet-0.1.2 → evlet-0.2.0}/evlet/query.py +43 -4
  100. evlet-0.2.0/evlet/reactivity.py +295 -0
  101. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/pyproject.toml.tpl +2 -2
  102. evlet-0.2.0/evlet/resources/templates/app_flat/.gitignore.tpl +7 -0
  103. evlet-0.2.0/evlet/resources/templates/app_flat/README.md.tpl +13 -0
  104. evlet-0.2.0/evlet/resources/templates/app_flat/__init__.py.tpl +1 -0
  105. evlet-0.2.0/evlet/resources/templates/app_flat/models/__init__.py.tpl +1 -0
  106. evlet-0.2.0/evlet/resources/templates/app_flat/models/item.py.tpl +17 -0
  107. evlet-0.2.0/evlet/resources/templates/app_flat/pyproject.toml.tpl +20 -0
  108. evlet-0.2.0/evlet/resources/templates/app_flat/setup.py.tpl +4 -0
  109. evlet-0.2.0/evlet/routing.py +471 -0
  110. evlet-0.2.0/evlet/secrets.py +253 -0
  111. evlet-0.2.0/evlet/sequences.py +627 -0
  112. evlet-0.2.0/evlet/services.py +206 -0
  113. evlet-0.2.0/evlet/settings.py +1011 -0
  114. evlet-0.2.0/evlet/states.py +731 -0
  115. {evlet-0.1.2 → evlet-0.2.0}/evlet/storage.py +16 -1
  116. {evlet-0.1.2 → evlet-0.2.0}/evlet/tenancy.py +16 -0
  117. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/compiler.py +7 -6
  118. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/definitions.py +2 -2
  119. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/expressions.py +10 -3
  120. evlet-0.2.0/evlet/ui/metadata.py +110 -0
  121. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/registry.py +32 -22
  122. evlet-0.2.0/evlet/ui/routes.py +213 -0
  123. evlet-0.2.0/evlet/ui/serving.py +104 -0
  124. evlet-0.2.0/evlet/ui/static/assets/Inter-OFL.txt +92 -0
  125. evlet-0.2.0/evlet/ui/static/assets/InterVariable-DiVDrmQJ.woff2 +0 -0
  126. evlet-0.2.0/evlet/ui/static/assets/JetBrainsMono-Medium-3S3k2nMz.woff2 +0 -0
  127. evlet-0.2.0/evlet/ui/static/assets/JetBrainsMono-OFL.txt +93 -0
  128. evlet-0.2.0/evlet/ui/static/assets/JetBrainsMono-Regular-BQaDgvhP.woff2 +0 -0
  129. evlet-0.2.0/evlet/ui/static/assets/ai-DUVV29Mv.js +26 -0
  130. evlet-0.2.0/evlet/ui/static/assets/app-BRJBcpEG.css +1 -0
  131. evlet-0.2.0/evlet/ui/static/assets/app-DRbRarwF.js +534 -0
  132. evlet-0.2.0/evlet/ui/static/assets/consent-rtOZz4Ha.js +15 -0
  133. evlet-0.2.0/evlet/ui/static/assets/email-DPM3pn5B.js +25 -0
  134. evlet-0.2.0/evlet/ui/static/assets/index-BVGf710l.js +436 -0
  135. evlet-0.2.0/evlet/ui/static/assets/index-mPt8bohB.css +1 -0
  136. evlet-0.2.0/evlet/ui/static/assets/keys-BKzRuORv.js +1 -0
  137. evlet-0.2.0/evlet/ui/static/index.html +3 -0
  138. evlet-0.2.0/evlet.egg-info/PKG-INFO +119 -0
  139. evlet-0.2.0/evlet.egg-info/SOURCES.txt +410 -0
  140. {evlet-0.1.2 → evlet-0.2.0}/evlet.egg-info/requires.txt +1 -0
  141. evlet-0.2.0/examples/amendment/README.md +43 -0
  142. evlet-0.2.0/examples/amendment/__init__.py +1 -0
  143. evlet-0.2.0/examples/amendment/models/__init__.py +1 -0
  144. evlet-0.2.0/examples/amendment/models/masters.py +51 -0
  145. evlet-0.2.0/examples/amendment/models/quote.py +99 -0
  146. evlet-0.2.0/examples/amendment/models/sales_order.py +69 -0
  147. evlet-0.2.0/examples/amendment/pyproject.toml +20 -0
  148. evlet-0.2.0/examples/amendment/reports/__init__.py +1 -0
  149. evlet-0.2.0/examples/amendment/reports/orders.py +22 -0
  150. evlet-0.2.0/examples/amendment/services/__init__.py +1 -0
  151. evlet-0.2.0/examples/amendment/services/integrations/__init__.py +1 -0
  152. evlet-0.2.0/examples/amendment/services/integrations/warehouse/__init__.py +1 -0
  153. evlet-0.2.0/examples/amendment/services/integrations/warehouse/checks.py +13 -0
  154. evlet-0.2.0/examples/amendment/services/planning.py +43 -0
  155. evlet-0.2.0/examples/amendment/services/stock.py +8 -0
  156. evlet-0.2.0/examples/amendment/setup.py +3 -0
  157. evlet-0.2.0/examples/amendment/views/models/sales_order.ts +11 -0
  158. evlet-0.2.0/examples/playground/app.py +81 -0
  159. evlet-0.2.0/examples/playground/portal/index.html +31 -0
  160. evlet-0.2.0/examples/playground/portal/portal.css +8 -0
  161. evlet-0.2.0/examples/playground/portal/portal.js +53 -0
  162. evlet-0.2.0/examples/playground/settings.py +18 -0
  163. evlet-0.2.0/examples/testcrm/__init__.py +1 -0
  164. evlet-0.2.0/examples/testcrm/models.py +306 -0
  165. evlet-0.2.0/examples/testcrm/pyproject.toml +16 -0
  166. evlet-0.2.0/examples/testcrm/setup.py +3 -0
  167. evlet-0.2.0/frontend/fonts/Inter-OFL.txt +92 -0
  168. evlet-0.2.0/frontend/fonts/InterVariable.woff2 +0 -0
  169. evlet-0.2.0/frontend/fonts/JetBrainsMono-Medium.woff2 +0 -0
  170. evlet-0.2.0/frontend/fonts/JetBrainsMono-OFL.txt +93 -0
  171. evlet-0.2.0/frontend/fonts/JetBrainsMono-Regular.woff2 +0 -0
  172. evlet-0.2.0/frontend/index.html +1 -0
  173. {evlet-0.1.2 → evlet-0.2.0}/frontend/package-lock.json +24 -1596
  174. {evlet-0.1.2 → evlet-0.2.0}/frontend/package.json +4 -16
  175. evlet-0.2.0/frontend/scripts/bench-ui.mjs +347 -0
  176. {evlet-0.1.2 → evlet-0.2.0}/frontend/scripts/install-ui.mjs +3 -1
  177. evlet-0.2.0/frontend/src/evlet/api.ts +263 -0
  178. evlet-0.2.0/frontend/src/evlet/app/app.ts +266 -0
  179. evlet-0.2.0/frontend/src/evlet/app/client.ts +139 -0
  180. evlet-0.2.0/frontend/src/evlet/app/config.ts +33 -0
  181. evlet-0.2.0/frontend/src/evlet/app/context.ts +91 -0
  182. evlet-0.2.0/frontend/src/evlet/app/docs.ts +144 -0
  183. evlet-0.2.0/frontend/src/evlet/app/list-page.ts +398 -0
  184. evlet-0.2.0/frontend/src/evlet/app/login.ts +93 -0
  185. evlet-0.2.0/frontend/src/evlet/app/main.ts +32 -0
  186. evlet-0.2.0/frontend/src/evlet/app/meta.ts +161 -0
  187. evlet-0.2.0/frontend/src/evlet/app/palette.ts +176 -0
  188. evlet-0.2.0/frontend/src/evlet/app/prefs.ts +84 -0
  189. evlet-0.2.0/frontend/src/evlet/app/record-page.ts +718 -0
  190. evlet-0.2.0/frontend/src/evlet/app/screens.css +89 -0
  191. evlet-0.2.0/frontend/src/evlet/app/settings.css +109 -0
  192. evlet-0.2.0/frontend/src/evlet/app/settings.ts +656 -0
  193. evlet-0.2.0/frontend/src/evlet/app/shell.ts +158 -0
  194. evlet-0.2.0/frontend/src/evlet/controls/access.ts +219 -0
  195. evlet-0.2.0/frontend/src/evlet/controls/ai.ts +108 -0
  196. evlet-0.2.0/frontend/src/evlet/controls/app.ts +310 -0
  197. evlet-0.2.0/frontend/src/evlet/controls/client.ts +219 -0
  198. evlet-0.2.0/frontend/src/evlet/controls/connections.ts +243 -0
  199. evlet-0.2.0/frontend/src/evlet/controls/controls.css +259 -0
  200. evlet-0.2.0/frontend/src/evlet/controls/drafts.ts +179 -0
  201. evlet-0.2.0/frontend/src/evlet/controls/keys.ts +113 -0
  202. evlet-0.2.0/frontend/src/evlet/controls/models.ts +453 -0
  203. evlet-0.2.0/frontend/src/evlet/controls/naming.ts +197 -0
  204. evlet-0.2.0/frontend/src/evlet/controls/people.ts +249 -0
  205. evlet-0.2.0/frontend/src/evlet/controls/system.ts +246 -0
  206. evlet-0.2.0/frontend/src/evlet/dev.ts +55 -0
  207. evlet-0.2.0/frontend/src/evlet/dom.ts +534 -0
  208. evlet-0.2.0/frontend/src/evlet/model/changes.ts +91 -0
  209. evlet-0.2.0/frontend/src/evlet/model/finite.ts +1091 -0
  210. evlet-0.2.0/frontend/src/evlet/model/format.ts +166 -0
  211. evlet-0.2.0/frontend/src/evlet/model/record.ts +652 -0
  212. evlet-0.2.0/frontend/src/evlet/model/schema.ts +110 -0
  213. evlet-0.2.0/frontend/src/evlet/model/session.ts +233 -0
  214. evlet-0.2.0/frontend/src/evlet/reactive.ts +494 -0
  215. evlet-0.2.0/frontend/src/evlet/router.ts +241 -0
  216. evlet-0.2.0/frontend/src/evlet/settings/ai.ts +92 -0
  217. evlet-0.2.0/frontend/src/evlet/settings/consent.ts +56 -0
  218. evlet-0.2.0/frontend/src/evlet/settings/email.ts +160 -0
  219. evlet-0.2.0/frontend/src/evlet/settings/keys.ts +36 -0
  220. evlet-0.2.0/frontend/src/evlet/tests/api-fixture.json +12299 -0
  221. evlet-0.2.0/frontend/src/evlet/tests/api.test.ts +245 -0
  222. evlet-0.2.0/frontend/src/evlet/tests/assistants.test.ts +156 -0
  223. evlet-0.2.0/frontend/src/evlet/tests/config.test.ts +44 -0
  224. evlet-0.2.0/frontend/src/evlet/tests/conformance.test.ts +133 -0
  225. evlet-0.2.0/frontend/src/evlet/tests/connections.test.ts +209 -0
  226. evlet-0.2.0/frontend/src/evlet/tests/controls-models.test.ts +160 -0
  227. evlet-0.2.0/frontend/src/evlet/tests/controls-system.test.ts +160 -0
  228. evlet-0.2.0/frontend/src/evlet/tests/controls.test.ts +262 -0
  229. evlet-0.2.0/frontend/src/evlet/tests/dom.test.ts +288 -0
  230. evlet-0.2.0/frontend/src/evlet/tests/finite-benchmark.test.ts +34 -0
  231. evlet-0.2.0/frontend/src/evlet/tests/finite-engine.test.ts +277 -0
  232. evlet-0.2.0/frontend/src/evlet/tests/finite-fixtures.json +31368 -0
  233. evlet-0.2.0/frontend/src/evlet/tests/format.test.ts +62 -0
  234. evlet-0.2.0/frontend/src/evlet/tests/link-titles.test.ts +39 -0
  235. evlet-0.2.0/frontend/src/evlet/tests/mailboxes.test.ts +159 -0
  236. evlet-0.2.0/frontend/src/evlet/tests/reactive.test.ts +318 -0
  237. evlet-0.2.0/frontend/src/evlet/tests/record-restore.test.ts +51 -0
  238. evlet-0.2.0/frontend/src/evlet/tests/record.test.ts +318 -0
  239. evlet-0.2.0/frontend/src/evlet/tests/review-dom.test.ts +198 -0
  240. evlet-0.2.0/frontend/src/evlet/tests/review-model.test.ts +240 -0
  241. evlet-0.2.0/frontend/src/evlet/tests/review-reactive.test.ts +122 -0
  242. evlet-0.2.0/frontend/src/evlet/tests/router.test.ts +152 -0
  243. evlet-0.2.0/frontend/src/evlet/tests/screens-document.test.ts +320 -0
  244. evlet-0.2.0/frontend/src/evlet/tests/screens-fixture.json +4441 -0
  245. evlet-0.2.0/frontend/src/evlet/tests/screens-helpers.ts +84 -0
  246. evlet-0.2.0/frontend/src/evlet/tests/screens-list.test.ts +163 -0
  247. evlet-0.2.0/frontend/src/evlet/tests/screens-palette.test.ts +82 -0
  248. evlet-0.2.0/frontend/src/evlet/tests/screens-record.test.ts +189 -0
  249. evlet-0.2.0/frontend/src/evlet/tests/screens-review.test.ts +231 -0
  250. evlet-0.2.0/frontend/src/evlet/tests/screens-settings.test.ts +243 -0
  251. evlet-0.2.0/frontend/src/evlet/tests/screens-shell.test.ts +182 -0
  252. evlet-0.2.0/frontend/src/evlet/tests/server.ts +46 -0
  253. {evlet-0.1.2/frontend/src → evlet-0.2.0/frontend/src/evlet}/tests/setup.ts +2 -4
  254. evlet-0.2.0/frontend/src/evlet/tests/testcrm-deal.test.ts +308 -0
  255. evlet-0.2.0/frontend/src/evlet/tests/testcrm-fixture.json +1 -0
  256. evlet-0.2.0/frontend/src/evlet/tests/testcrm-helpers.ts +82 -0
  257. evlet-0.2.0/frontend/src/evlet/tests/testcrm-list.test.ts +92 -0
  258. evlet-0.2.0/frontend/src/evlet/tests/ui-base.test.ts +227 -0
  259. evlet-0.2.0/frontend/src/evlet/tests/ui-childtable.test.ts +241 -0
  260. evlet-0.2.0/frontend/src/evlet/tests/ui-datatable.test.ts +146 -0
  261. evlet-0.2.0/frontend/src/evlet/tests/ui-doc.test.ts +213 -0
  262. evlet-0.2.0/frontend/src/evlet/tests/ui-fields.test.ts +234 -0
  263. evlet-0.2.0/frontend/src/evlet/tests/ui-helpers.ts +84 -0
  264. evlet-0.2.0/frontend/src/evlet/tests/ui-inline.test.ts +99 -0
  265. evlet-0.2.0/frontend/src/evlet/tests/ui-review.test.ts +253 -0
  266. evlet-0.2.0/frontend/src/evlet/ui/base.ts +275 -0
  267. evlet-0.2.0/frontend/src/evlet/ui/catalog.json +3219 -0
  268. evlet-0.2.0/frontend/src/evlet/ui/childtable.ts +482 -0
  269. evlet-0.2.0/frontend/src/evlet/ui/core.ts +69 -0
  270. evlet-0.2.0/frontend/src/evlet/ui/doc.ts +164 -0
  271. evlet-0.2.0/frontend/src/evlet/ui/explain.ts +86 -0
  272. evlet-0.2.0/frontend/src/evlet/ui/fields.ts +536 -0
  273. evlet-0.2.0/frontend/src/evlet/ui/icon-data.ts +102 -0
  274. evlet-0.2.0/frontend/src/evlet/ui/index.ts +16 -0
  275. evlet-0.2.0/frontend/src/evlet/ui/inline.ts +185 -0
  276. evlet-0.2.0/frontend/src/evlet/ui/kinds.ts +272 -0
  277. evlet-0.2.0/frontend/src/evlet/ui/layers.ts +260 -0
  278. evlet-0.2.0/frontend/src/evlet/ui/library.ts +349 -0
  279. evlet-0.2.0/frontend/src/evlet/ui/list.ts +157 -0
  280. evlet-0.2.0/frontend/src/evlet/ui/styles.css +999 -0
  281. evlet-0.2.0/frontend/src/evlet/ui/table.ts +341 -0
  282. evlet-0.2.0/frontend/src/evlet/ui/tooltip.ts +99 -0
  283. evlet-0.2.0/frontend/tsconfig.json +1 -0
  284. evlet-0.2.0/frontend/vite.config.js +10 -0
  285. {evlet-0.1.2 → evlet-0.2.0}/pyproject.toml +3 -3
  286. evlet-0.2.0/requirements-dev.lock +222 -0
  287. evlet-0.2.0/requirements-server.lock +180 -0
  288. evlet-0.2.0/scripts/benchmark_finite.py +55 -0
  289. evlet-0.2.0/scripts/benchmark_lines.py +128 -0
  290. evlet-0.2.0/scripts/check_flat_package.py +35 -0
  291. {evlet-0.1.2 → evlet-0.2.0}/scripts/check_package.py +11 -2
  292. evlet-0.2.0/scripts/generate_document_fixtures.py +38 -0
  293. evlet-0.2.0/scripts/generate_finite_fixtures.py +16 -0
  294. evlet-0.2.0/scripts/generate_testcrm_fixtures.py +313 -0
  295. evlet-0.2.0/scripts/generate_ui_fixtures.py +83 -0
  296. evlet-0.2.0/scripts/generate_ui_framework_fixtures.py +464 -0
  297. {evlet-0.1.2 → evlet-0.2.0}/scripts/smoke_cli.py +30 -6
  298. evlet-0.2.0/scripts/smoke_finite.py +73 -0
  299. evlet-0.2.0/scripts/testcrm.py +249 -0
  300. evlet-0.2.0/scripts/testcrm.sh +109 -0
  301. evlet-0.2.0/tests/finite_fixtures.py +447 -0
  302. evlet-0.2.0/tests/fixtures/document-contract.json +474 -0
  303. evlet-0.2.0/tests/fixtures/document-vectors.json +13 -0
  304. evlet-0.2.0/tests/fixtures/record-fixture.json +60 -0
  305. {evlet-0.1.2/frontend/legacy → evlet-0.2.0/tests/fixtures}/test-business-schema.json +212 -28
  306. {evlet-0.1.2/frontend/src/tests → evlet-0.2.0/tests/fixtures}/ui-fixture.json +212 -28
  307. {evlet-0.1.2 → evlet-0.2.0}/tests/test_api.py +2 -2
  308. evlet-0.2.0/tests/test_api_keys.py +234 -0
  309. evlet-0.2.0/tests/test_assistants.py +522 -0
  310. evlet-0.2.0/tests/test_builds.py +345 -0
  311. {evlet-0.1.2 → evlet-0.2.0}/tests/test_business.py +35 -7
  312. {evlet-0.1.2 → evlet-0.2.0}/tests/test_cli_lifecycle.py +147 -7
  313. {evlet-0.1.2 → evlet-0.2.0}/tests/test_connector.py +3 -0
  314. evlet-0.2.0/tests/test_connector_hardening.py +159 -0
  315. evlet-0.2.0/tests/test_connectors.py +375 -0
  316. evlet-0.2.0/tests/test_controls.py +601 -0
  317. evlet-0.2.0/tests/test_controls_pages.py +387 -0
  318. evlet-0.2.0/tests/test_corrections.py +572 -0
  319. evlet-0.2.0/tests/test_current_user.py +71 -0
  320. evlet-0.2.0/tests/test_customization.py +971 -0
  321. {evlet-0.1.2 → evlet-0.2.0}/tests/test_database.py +12 -0
  322. evlet-0.2.0/tests/test_declaration_errors.py +40 -0
  323. evlet-0.2.0/tests/test_document_boundaries.py +482 -0
  324. evlet-0.2.0/tests/test_documents.py +143 -0
  325. evlet-0.2.0/tests/test_effects.py +1177 -0
  326. evlet-0.2.0/tests/test_finite_expressions.py +1007 -0
  327. evlet-0.2.0/tests/test_forms_services.py +238 -0
  328. evlet-0.2.0/tests/test_hosts_realms.py +582 -0
  329. evlet-0.2.0/tests/test_instance_lock.py +45 -0
  330. evlet-0.2.0/tests/test_journal.py +627 -0
  331. evlet-0.2.0/tests/test_lines.py +547 -0
  332. evlet-0.2.0/tests/test_mailboxes.py +963 -0
  333. evlet-0.2.0/tests/test_mcp_sdk.py +140 -0
  334. evlet-0.2.0/tests/test_meaning.py +487 -0
  335. evlet-0.2.0/tests/test_measures.py +648 -0
  336. evlet-0.2.0/tests/test_move_values.py +118 -0
  337. evlet-0.2.0/tests/test_nested_documents.py +642 -0
  338. evlet-0.2.0/tests/test_postgres.py +761 -0
  339. evlet-0.2.0/tests/test_review_regressions.py +251 -0
  340. evlet-0.2.0/tests/test_revocation.py +105 -0
  341. evlet-0.2.0/tests/test_routing.py +317 -0
  342. evlet-0.2.0/tests/test_rules_types.py +789 -0
  343. evlet-0.2.0/tests/test_sequences.py +615 -0
  344. evlet-0.2.0/tests/test_settings.py +330 -0
  345. evlet-0.2.0/tests/test_settings_security.py +379 -0
  346. evlet-0.2.0/tests/test_states.py +891 -0
  347. {evlet-0.1.2 → evlet-0.2.0}/tests/test_tenancy.py +49 -0
  348. evlet-0.2.0/tests/test_testcrm.py +420 -0
  349. {evlet-0.1.2 → evlet-0.2.0}/tests/test_ui.py +53 -1
  350. evlet-0.2.0/tests/test_ui_contracts.py +66 -0
  351. evlet-0.2.0/tests/test_unpost_repost.py +543 -0
  352. evlet-0.1.2/PKG-INFO +0 -326
  353. evlet-0.1.2/docs/cli.md +0 -282
  354. evlet-0.1.2/docs/handoff.md +0 -117
  355. evlet-0.1.2/docs/performance.md +0 -144
  356. evlet-0.1.2/docs/ui.md +0 -356
  357. evlet-0.1.2/evlet/__init__.py +0 -56
  358. evlet-0.1.2/evlet/__main__.py +0 -4
  359. evlet-0.1.2/evlet/auth.py +0 -224
  360. evlet-0.1.2/evlet/business.py +0 -416
  361. evlet-0.1.2/evlet/cli/app.py +0 -51
  362. evlet-0.1.2/evlet/cli/main.py +0 -133
  363. evlet-0.1.2/evlet/cli/serve.py +0 -91
  364. evlet-0.1.2/evlet/cli/setup.py +0 -19
  365. evlet-0.1.2/evlet/fields.py +0 -331
  366. evlet-0.1.2/evlet/metadata.py +0 -64
  367. evlet-0.1.2/evlet/migrations.py +0 -326
  368. evlet-0.1.2/evlet/models.py +0 -121
  369. evlet-0.1.2/evlet/permissions.py +0 -108
  370. evlet-0.1.2/evlet/ui/serving.py +0 -37
  371. evlet-0.1.2/evlet/ui/static/assets/Accounts-DkXGG3ph.js +0 -1
  372. evlet-0.1.2/evlet/ui/static/assets/ProjectsDemo-Dot4RUHQ.js +0 -2
  373. evlet-0.1.2/evlet/ui/static/assets/demo-D606zuaO.css +0 -1
  374. evlet-0.1.2/evlet/ui/static/assets/index-Cv1a1_1d.css +0 -1
  375. evlet-0.1.2/evlet/ui/static/assets/index-vulQlDCz.js +0 -69
  376. evlet-0.1.2/evlet/ui/static/assets/ui-EvOf1Jkt.js +0 -2
  377. evlet-0.1.2/evlet/ui/static/index.html +0 -4
  378. evlet-0.1.2/evlet.egg-info/PKG-INFO +0 -326
  379. evlet-0.1.2/evlet.egg-info/SOURCES.txt +0 -221
  380. evlet-0.1.2/examples/playground/app.py +0 -49
  381. evlet-0.1.2/frontend/index.html +0 -1
  382. evlet-0.1.2/frontend/legacy/Accounts.vue +0 -39
  383. evlet-0.1.2/frontend/legacy/App.test.js +0 -514
  384. evlet-0.1.2/frontend/legacy/App.vue +0 -216
  385. evlet-0.1.2/frontend/legacy/FieldInput.vue +0 -23
  386. evlet-0.1.2/frontend/legacy/LinkInput.vue +0 -51
  387. evlet-0.1.2/frontend/legacy/QueryControls.vue +0 -51
  388. evlet-0.1.2/frontend/legacy/RecordDetail.vue +0 -13
  389. evlet-0.1.2/frontend/legacy/RecordExtras.vue +0 -94
  390. evlet-0.1.2/frontend/legacy/RecordForm.vue +0 -88
  391. evlet-0.1.2/frontend/legacy/SessionApp.vue +0 -59
  392. evlet-0.1.2/frontend/legacy/api.js +0 -64
  393. evlet-0.1.2/frontend/legacy/api.test.js +0 -30
  394. evlet-0.1.2/frontend/legacy/business.test.js +0 -181
  395. evlet-0.1.2/frontend/legacy/child-permissions.test.js +0 -103
  396. evlet-0.1.2/frontend/legacy/events.js +0 -43
  397. evlet-0.1.2/frontend/legacy/events.test.js +0 -157
  398. evlet-0.1.2/frontend/legacy/main.js +0 -21
  399. evlet-0.1.2/frontend/legacy/recovery.test.js +0 -194
  400. evlet-0.1.2/frontend/legacy/schema.js +0 -44
  401. evlet-0.1.2/frontend/legacy/style.css +0 -93
  402. evlet-0.1.2/frontend/legacy/test-setup.js +0 -15
  403. evlet-0.1.2/frontend/src/App.tsx +0 -655
  404. evlet-0.1.2/frontend/src/api.js +0 -66
  405. evlet-0.1.2/frontend/src/demos/ProjectsDemo.tsx +0 -1511
  406. evlet-0.1.2/frontend/src/demos/data.ts +0 -227
  407. evlet-0.1.2/frontend/src/demos/demo.css +0 -109
  408. evlet-0.1.2/frontend/src/demos/icons.tsx +0 -170
  409. evlet-0.1.2/frontend/src/events.js +0 -43
  410. evlet-0.1.2/frontend/src/main.tsx +0 -5
  411. evlet-0.1.2/frontend/src/runtime/Context.tsx +0 -26
  412. evlet-0.1.2/frontend/src/runtime/Router.ts +0 -185
  413. evlet-0.1.2/frontend/src/runtime/StateStore.ts +0 -131
  414. evlet-0.1.2/frontend/src/runtime/ViewRenderer.tsx +0 -738
  415. evlet-0.1.2/frontend/src/runtime/types.ts +0 -93
  416. evlet-0.1.2/frontend/src/schema.d.ts +0 -9
  417. evlet-0.1.2/frontend/src/schema.js +0 -44
  418. evlet-0.1.2/frontend/src/styles.css +0 -1305
  419. evlet-0.1.2/frontend/src/test-business-schema.json +0 -604
  420. evlet-0.1.2/frontend/src/test-schema.json +0 -535
  421. evlet-0.1.2/frontend/src/tests/api.test.js +0 -30
  422. evlet-0.1.2/frontend/src/tests/components.test.tsx +0 -370
  423. evlet-0.1.2/frontend/src/tests/date-time.test.tsx +0 -232
  424. evlet-0.1.2/frontend/src/tests/dialogs.test.tsx +0 -171
  425. evlet-0.1.2/frontend/src/tests/events.test.js +0 -63
  426. evlet-0.1.2/frontend/src/tests/native-ui.test.tsx +0 -579
  427. evlet-0.1.2/frontend/src/tests/select-input.test.tsx +0 -142
  428. evlet-0.1.2/frontend/src/ui/components/AnchoredPopover.tsx +0 -145
  429. evlet-0.1.2/frontend/src/ui/components/AppShell.tsx +0 -430
  430. evlet-0.1.2/frontend/src/ui/components/DateTimePicker.tsx +0 -577
  431. evlet-0.1.2/frontend/src/ui/components/Dialogs.tsx +0 -144
  432. evlet-0.1.2/frontend/src/ui/components/ExplorerView.tsx +0 -530
  433. evlet-0.1.2/frontend/src/ui/components/InputGroup.tsx +0 -31
  434. evlet-0.1.2/frontend/src/ui/components/RecordList.tsx +0 -146
  435. evlet-0.1.2/frontend/src/ui/components/RecordPreview.tsx +0 -168
  436. evlet-0.1.2/frontend/src/ui/components/SelectInput.tsx +0 -331
  437. evlet-0.1.2/frontend/src/ui/components/context.ts +0 -5
  438. evlet-0.1.2/frontend/src/ui/components/date-time.ts +0 -212
  439. evlet-0.1.2/frontend/src/ui/components/helpers.ts +0 -32
  440. evlet-0.1.2/frontend/src/ui/components/primitives.tsx +0 -473
  441. evlet-0.1.2/frontend/src/ui/index.ts +0 -10
  442. evlet-0.1.2/frontend/src/ui/library.ts +0 -2
  443. evlet-0.1.2/frontend/src/ui/styles.css +0 -3043
  444. evlet-0.1.2/frontend/src/ui/types.ts +0 -76
  445. evlet-0.1.2/frontend/src/views/Accounts.tsx +0 -220
  446. evlet-0.1.2/frontend/src/views/Docs.tsx +0 -904
  447. evlet-0.1.2/frontend/src/views/FieldInput.tsx +0 -268
  448. evlet-0.1.2/frontend/src/views/ModelList.tsx +0 -969
  449. evlet-0.1.2/frontend/src/views/RecordForm.tsx +0 -871
  450. evlet-0.1.2/frontend/tsconfig.json +0 -1
  451. evlet-0.1.2/frontend/vite.config.js +0 -12
  452. evlet-0.1.2/requirements-dev.lock +0 -55
  453. evlet-0.1.2/requirements-server.lock +0 -16
  454. evlet-0.1.2/tests/test_mcp_sdk.py +0 -59
  455. evlet-0.1.2/tests/test_postgres.py +0 -365
  456. {evlet-0.1.2 → evlet-0.2.0}/LICENSE +0 -0
  457. {evlet-0.1.2 → evlet-0.2.0}/docs/benchmarks/2026-10-29-postgresql.json +0 -0
  458. {evlet-0.1.2 → evlet-0.2.0}/docs/benchmarks/2026-10-29-sqlite.json +0 -0
  459. {evlet-0.1.2 → evlet-0.2.0}/evlet/cli/__init__.py +0 -0
  460. {evlet-0.1.2 → evlet-0.2.0}/evlet/py.typed +0 -0
  461. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/__init__.py +0 -0
  462. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/.gitignore.tpl +0 -0
  463. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/README.md.tpl +0 -0
  464. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/__app__/__init__.py.tpl +0 -0
  465. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/__app__/actions/__init__.py.tpl +0 -0
  466. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/__app__/hooks.py.tpl +0 -0
  467. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/__app__/migrations/__init__.py.tpl +0 -0
  468. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/__app__/models/__init__.py.tpl +0 -0
  469. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/__app__/permissions.py.tpl +0 -0
  470. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/__app__/views/__init__.py.tpl +0 -0
  471. {evlet-0.1.2 → evlet-0.2.0}/evlet/resources/templates/app/tests/test_models.py.tpl +0 -0
  472. {evlet-0.1.2 → evlet-0.2.0}/evlet/serverless.py +0 -0
  473. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/__init__.py +0 -0
  474. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/application.py +0 -0
  475. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/contracts.py +0 -0
  476. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/definitions.pyi +0 -0
  477. {evlet-0.1.2 → evlet-0.2.0}/evlet/ui/static/assets/evlet.svg +0 -0
  478. {evlet-0.1.2 → evlet-0.2.0}/evlet.egg-info/dependency_links.txt +0 -0
  479. {evlet-0.1.2 → evlet-0.2.0}/evlet.egg-info/entry_points.txt +0 -0
  480. {evlet-0.1.2 → evlet-0.2.0}/evlet.egg-info/top_level.txt +0 -0
  481. {evlet-0.1.2 → evlet-0.2.0}/examples/playground/manage.py +0 -0
  482. {evlet-0.1.2 → evlet-0.2.0}/examples/playground/migrate.py +0 -0
  483. {evlet-0.1.2 → evlet-0.2.0}/examples/playground/models.py +0 -0
  484. {evlet-0.1.2 → evlet-0.2.0}/examples/playground/tenants.py +0 -0
  485. {evlet-0.1.2 → evlet-0.2.0}/examples/playground/ui.py +0 -0
  486. {evlet-0.1.2 → evlet-0.2.0}/examples/playground/worker.py +0 -0
  487. {evlet-0.1.2 → evlet-0.2.0}/frontend/.node-version +0 -0
  488. {evlet-0.1.2 → evlet-0.2.0}/frontend/.npmrc +0 -0
  489. {evlet-0.1.2 → evlet-0.2.0}/frontend/public/assets/evlet.svg +0 -0
  490. {evlet-0.1.2 → evlet-0.2.0}/requirements-mcp.in +0 -0
  491. {evlet-0.1.2 → evlet-0.2.0}/requirements-mcp.lock +0 -0
  492. {evlet-0.1.2 → evlet-0.2.0}/requirements-postgres.lock +0 -0
  493. {evlet-0.1.2 → evlet-0.2.0}/requirements-s3.lock +0 -0
  494. {evlet-0.1.2 → evlet-0.2.0}/scripts/benchmark.py +0 -0
  495. {evlet-0.1.2 → evlet-0.2.0}/scripts/playground.sh +0 -0
  496. {evlet-0.1.2 → evlet-0.2.0}/scripts/smoke.py +0 -0
  497. {evlet-0.1.2 → evlet-0.2.0}/scripts/smoke_tenants.py +0 -0
  498. {evlet-0.1.2 → evlet-0.2.0}/setup.cfg +0 -0
  499. {evlet-0.1.2 → evlet-0.2.0}/tests/conftest.py +0 -0
  500. {evlet-0.1.2/frontend/legacy → evlet-0.2.0/tests/fixtures}/test-schema.json +0 -0
  501. {evlet-0.1.2 → evlet-0.2.0}/tests/test_async_tenants.py +0 -0
  502. {evlet-0.1.2 → evlet-0.2.0}/tests/test_business_regressions.py +0 -0
  503. {evlet-0.1.2 → evlet-0.2.0}/tests/test_cli.py +0 -0
  504. {evlet-0.1.2 → evlet-0.2.0}/tests/test_deployment.py +0 -0
  505. {evlet-0.1.2 → evlet-0.2.0}/tests/test_discovery.py +0 -0
  506. {evlet-0.1.2 → evlet-0.2.0}/tests/test_events.py +0 -0
  507. {evlet-0.1.2 → evlet-0.2.0}/tests/test_generation.py +0 -0
  508. {evlet-0.1.2 → evlet-0.2.0}/tests/test_hardening.py +0 -0
  509. {evlet-0.1.2 → evlet-0.2.0}/tests/test_input_regressions.py +0 -0
  510. {evlet-0.1.2 → evlet-0.2.0}/tests/test_jobs.py +0 -0
  511. {evlet-0.1.2 → evlet-0.2.0}/tests/test_migrations.py +0 -0
  512. {evlet-0.1.2 → evlet-0.2.0}/tests/test_model_engine.py +0 -0
  513. {evlet-0.1.2 → evlet-0.2.0}/tests/test_models.py +0 -0
  514. {evlet-0.1.2 → evlet-0.2.0}/tests/test_object_storage.py +0 -0
  515. {evlet-0.1.2 → evlet-0.2.0}/tests/test_serverless.py +0 -0
  516. {evlet-0.1.2 → evlet-0.2.0}/tests/test_storage.py +0 -0
@@ -1,11 +1,13 @@
1
1
  # Working on Evlet
2
2
 
3
3
  Read `docs/specification.md` and `docs/architecture.md` before changing the public API.
4
- The current scope is the native SolidJS UI and Python UI contracts. Preserve
5
- the completed backend milestones and the approved Projects demo. Keep login,
6
- Docs after sign-in, Demo Pages and generated model screens working. Read
7
- `docs/ui.md` for the public UI API and migration boundaries. Read
8
- `docs/business-capabilities.md`, `docs/tenancy-deployment.md`,
4
+ The browser interface is Evlet's own UI framework (`frontend/src/evlet/`); SolidJS,
5
+ the Vue harness, the Projects demo and the Python page renderer were removed from it.
6
+ Preserve the completed backend milestones and the Python UI contracts (`/api/ui`,
7
+ native panels), which stay tested but are not rendered. Keep login, Docs after sign-in
8
+ and generated model screens working. Read `docs/ui.md`, `docs/ui-framework.md` and `docs/routing.md` for
9
+ the routes, the public UI API and its boundaries. Read
10
+ `docs/business-capabilities.md`, `docs/finite-calculations.md`, `docs/tenancy-deployment.md`,
9
11
  `docs/jobs-realtime.md`, and `docs/connector.md` for public APIs and permission
10
12
  boundaries. Read `docs/postgresql.md`, `docs/performance.md`, and
11
13
  `docs/production-operations.md` for adapter limits and validation. Connector writes must use the existing
@@ -17,9 +19,10 @@ never bypass account, tenant, row, field, or action checks.
17
19
  - Prefer the standard library. Justify every dependency. No mandatory Redis,
18
20
  Docker, external database, ORM, or background worker.
19
21
  - Keep public APIs explicit, small, and readable. Use snake_case in Python,
20
- PascalCase for model and Solid component names. Do not create unused modules.
22
+ PascalCase for model and UI component names. Do not create unused modules.
21
23
  - `evlet/` contains the framework; `examples/playground/` is a consumer using only
22
- public exports; `frontend/` is the native SolidJS Playground; `frontend/legacy` is a test-only regression harness; `tests/` covers the
24
+ public exports; `frontend/` is the browser interface built on Evlet's own UI framework, with
25
+ no runtime dependencies; `tests/` covers the
23
26
  core, SQLite integration, and ASGI interface.
24
27
  - Parameterize SQL values and validate SQL identifiers. Validate on the backend.
25
28
  Preserve transaction boundaries, exact currency values, and foreign keys.
@@ -1,16 +1,17 @@
1
1
  include README.md AGENTS.md requirements-dev.lock requirements-server.lock requirements-s3.lock requirements-mcp.in requirements-mcp.lock requirements-postgres.lock
2
2
  recursive-include docs *.md *.json
3
- recursive-include examples *.py
4
- recursive-include tests *.py
3
+ recursive-include examples *.py *.toml *.ts *.js *.md *.html *.css
4
+ recursive-include tests *.py *.json
5
5
  recursive-include scripts *.py *.sh
6
6
  include frontend/package.json frontend/package-lock.json frontend/index.html frontend/vite.config.js
7
7
  include frontend/.node-version frontend/.npmrc
8
- recursive-include frontend/src *.js *.ts *.tsx *.css *.json
9
- recursive-include frontend/legacy *.js *.vue *.css *.json
8
+ recursive-include frontend/src *.ts *.css *.json
10
9
  recursive-include frontend/scripts *.mjs
11
10
  recursive-include frontend/public *.svg
11
+ recursive-include frontend/fonts *.woff2 *.txt
12
12
  include frontend/tsconfig.json
13
- recursive-include evlet/ui/static *.html *.js *.css *.svg
13
+ recursive-include evlet/ui/static *.html *.js *.css *.svg *.woff2 *-OFL.txt
14
14
  recursive-include evlet *.pyi py.typed
15
15
  include build_support.py
16
16
  recursive-include evlet/resources *.tpl
17
+ exclude docs/handoff.md
evlet-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,119 @@
1
+ Metadata-Version: 2.4
2
+ Name: evlet
3
+ Version: 0.2.0
4
+ Summary: A small Python application framework with SQLite and a neutral UI schema
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/evlet-io/evlet
7
+ Project-URL: Repository, https://github.com/evlet-io/evlet
8
+ Project-URL: Issues, https://github.com/evlet-io/evlet/issues
9
+ Requires-Python: >=3.12
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: cryptography<52,>=44.0.1
13
+ Requires-Dist: packaging<27,>=24
14
+ Requires-Dist: uvicorn<1,>=0.34
15
+ Provides-Extra: postgres
16
+ Requires-Dist: psycopg[binary]<4,>=3.3.6; extra == "postgres"
17
+ Requires-Dist: psycopg-pool<4,>=3.3.3; extra == "postgres"
18
+ Provides-Extra: s3
19
+ Requires-Dist: boto3<2,>=1.43.119; extra == "s3"
20
+ Provides-Extra: dev
21
+ Requires-Dist: pytest<10,>=8; extra == "dev"
22
+ Requires-Dist: uvicorn<1,>=0.34; extra == "dev"
23
+ Requires-Dist: build<2,>=1; extra == "dev"
24
+ Requires-Dist: setuptools>=77.0.3; extra == "dev"
25
+ Dynamic: license-file
26
+
27
+ # Evlet
28
+
29
+ Evlet is a Python application framework. Define your models in Python and get
30
+ forms, lists, permissions and APIs in the browser. SQLite is the default;
31
+ PostgreSQL is optional.
32
+
33
+ ## Install, create a site, open it
34
+
35
+ Use Python 3.12 or newer in a virtual environment:
36
+
37
+ ```sh
38
+ python -m pip install --upgrade evlet
39
+ evlet setup myproject
40
+ cd myproject
41
+ evlet app notes
42
+ evlet instance acme
43
+ evlet install notes --instance acme
44
+ evlet serve acme
45
+ ```
46
+
47
+ Read the trust prompt, then open **http://127.0.0.1:8000** and create your first
48
+ administrator. There is no default password. Your site keeps its data when you
49
+ stop and restart it.
50
+
51
+ An **app** contains reusable Python code. An **instance** is a site with its own
52
+ database, accounts and files. You can install the same app on several instances.
53
+ The package includes the browser UI, Playground and offline guides. Node is not
54
+ needed to create or serve Python-only apps. App-owned native TS/JS extensions
55
+ need Node 24 when building their assets.
56
+
57
+ The [declarative app guide](docs/amendment-v2.md) covers flat app packages,
58
+ owned child tables, reactive fields, dialogs, reports, services and native additions.
59
+ [Finite calculations](docs/finite-calculations.md) describe the finite-v1 formula
60
+ language, nested owned tables and the shared Python/browser calculation engine.
61
+ [States, moves and model actions](docs/states-actions.md) describe document states,
62
+ locks and actions with validated inputs. [Document numbers](docs/sequences.md) describe
63
+ `Sequence` fields and naming series. [Measures](docs/measures.md) describe exact aggregates, declared model
64
+ measures and their HTTP routes.
65
+ [Model meaning](docs/meaning.md) describes key fields, related records and
66
+ attachment limits.
67
+ [Effects](docs/effects.md) describe the rows a
68
+ document posts to other models when it enters a state.
69
+ [The Journal](docs/journal.md) describes each record's append-only
70
+ history, notes and follow ups, and its tamper-evident hash chain.
71
+
72
+ For virtual environment setup and each step explained, read
73
+ [Your first site](docs/getting-started.md).
74
+
75
+ ## Build your app
76
+
77
+ - [What you can customize](docs/customizing.md): models, lists, pages, actions,
78
+ permissions and migrations, with examples from the Notes starter.
79
+ - [CLI guide](docs/cli.md): projects, app sources, instances, trust and deployment
80
+ boundaries.
81
+ - [Upgrade or retire an app](docs/app-upgrades.md): the supported workflow today,
82
+ backups and moving a project.
83
+ - [Model engine](docs/model-engine.md) and [business capabilities](docs/business-capabilities.md):
84
+ database queries, accounts, child rows, actions and private attachments.
85
+ - [UI guide](docs/ui.md): the browser interface, its routes and the Python page API.
86
+ - [Routing](docs/routing.md): frontends, reserved paths, `routes.py` and `evlet routes`.
87
+ - [UI framework](docs/ui-framework.md): Evlet's own browser framework and components.
88
+
89
+ `evlet dev --instance acme` reloads Python changes while you work. Stop the server
90
+ and run `evlet migrate acme` when a model change needs a migration.
91
+
92
+ ## Explore without a project
93
+
94
+ ```sh
95
+ evlet playground
96
+ evlet docs
97
+ ```
98
+
99
+ The Playground uses temporary demo data. Use an instance for records you want to keep. Offline documentation
100
+ opens at **http://127.0.0.1:8001**.
101
+
102
+ ## Optional capabilities
103
+
104
+ PostgreSQL and S3 are available as `evlet[postgres]` and `evlet[s3]`. The existing
105
+ [tenant deployment](docs/tenancy-deployment.md), [jobs and live updates](docs/jobs-realtime.md),
106
+ [connector](docs/connector.md), [PostgreSQL](docs/postgresql.md) and
107
+ [operations](docs/production-operations.md) guides describe their limits.
108
+ No database server, Redis, Docker or worker is required for a local SQLite app.
109
+
110
+ ## Work on Evlet itself
111
+
112
+ See [the contributor guide](docs/contributing.md) for a source checkout, frontend
113
+ builds and package checks. [Milestone notes](docs/milestones.md) record the
114
+ completed backend work. Development builds use a `.dev0` version so they can be
115
+ distinguished from published packages. This branch contains unreleased fixes.
116
+
117
+ ## License
118
+
119
+ Evlet uses the [MIT License](LICENSE).
evlet-0.2.0/README.md ADDED
@@ -0,0 +1,93 @@
1
+ # Evlet
2
+
3
+ Evlet is a Python application framework. Define your models in Python and get
4
+ forms, lists, permissions and APIs in the browser. SQLite is the default;
5
+ PostgreSQL is optional.
6
+
7
+ ## Install, create a site, open it
8
+
9
+ Use Python 3.12 or newer in a virtual environment:
10
+
11
+ ```sh
12
+ python -m pip install --upgrade evlet
13
+ evlet setup myproject
14
+ cd myproject
15
+ evlet app notes
16
+ evlet instance acme
17
+ evlet install notes --instance acme
18
+ evlet serve acme
19
+ ```
20
+
21
+ Read the trust prompt, then open **http://127.0.0.1:8000** and create your first
22
+ administrator. There is no default password. Your site keeps its data when you
23
+ stop and restart it.
24
+
25
+ An **app** contains reusable Python code. An **instance** is a site with its own
26
+ database, accounts and files. You can install the same app on several instances.
27
+ The package includes the browser UI, Playground and offline guides. Node is not
28
+ needed to create or serve Python-only apps. App-owned native TS/JS extensions
29
+ need Node 24 when building their assets.
30
+
31
+ The [declarative app guide](docs/amendment-v2.md) covers flat app packages,
32
+ owned child tables, reactive fields, dialogs, reports, services and native additions.
33
+ [Finite calculations](docs/finite-calculations.md) describe the finite-v1 formula
34
+ language, nested owned tables and the shared Python/browser calculation engine.
35
+ [States, moves and model actions](docs/states-actions.md) describe document states,
36
+ locks and actions with validated inputs. [Document numbers](docs/sequences.md) describe
37
+ `Sequence` fields and naming series. [Measures](docs/measures.md) describe exact aggregates, declared model
38
+ measures and their HTTP routes.
39
+ [Model meaning](docs/meaning.md) describes key fields, related records and
40
+ attachment limits.
41
+ [Effects](docs/effects.md) describe the rows a
42
+ document posts to other models when it enters a state.
43
+ [The Journal](docs/journal.md) describes each record's append-only
44
+ history, notes and follow ups, and its tamper-evident hash chain.
45
+
46
+ For virtual environment setup and each step explained, read
47
+ [Your first site](docs/getting-started.md).
48
+
49
+ ## Build your app
50
+
51
+ - [What you can customize](docs/customizing.md): models, lists, pages, actions,
52
+ permissions and migrations, with examples from the Notes starter.
53
+ - [CLI guide](docs/cli.md): projects, app sources, instances, trust and deployment
54
+ boundaries.
55
+ - [Upgrade or retire an app](docs/app-upgrades.md): the supported workflow today,
56
+ backups and moving a project.
57
+ - [Model engine](docs/model-engine.md) and [business capabilities](docs/business-capabilities.md):
58
+ database queries, accounts, child rows, actions and private attachments.
59
+ - [UI guide](docs/ui.md): the browser interface, its routes and the Python page API.
60
+ - [Routing](docs/routing.md): frontends, reserved paths, `routes.py` and `evlet routes`.
61
+ - [UI framework](docs/ui-framework.md): Evlet's own browser framework and components.
62
+
63
+ `evlet dev --instance acme` reloads Python changes while you work. Stop the server
64
+ and run `evlet migrate acme` when a model change needs a migration.
65
+
66
+ ## Explore without a project
67
+
68
+ ```sh
69
+ evlet playground
70
+ evlet docs
71
+ ```
72
+
73
+ The Playground uses temporary demo data. Use an instance for records you want to keep. Offline documentation
74
+ opens at **http://127.0.0.1:8001**.
75
+
76
+ ## Optional capabilities
77
+
78
+ PostgreSQL and S3 are available as `evlet[postgres]` and `evlet[s3]`. The existing
79
+ [tenant deployment](docs/tenancy-deployment.md), [jobs and live updates](docs/jobs-realtime.md),
80
+ [connector](docs/connector.md), [PostgreSQL](docs/postgresql.md) and
81
+ [operations](docs/production-operations.md) guides describe their limits.
82
+ No database server, Redis, Docker or worker is required for a local SQLite app.
83
+
84
+ ## Work on Evlet itself
85
+
86
+ See [the contributor guide](docs/contributing.md) for a source checkout, frontend
87
+ builds and package checks. [Milestone notes](docs/milestones.md) record the
88
+ completed backend work. Development builds use a `.dev0` version so they can be
89
+ distinguished from published packages. This branch contains unreleased fixes.
90
+
91
+ ## License
92
+
93
+ Evlet uses the [MIT License](LICENSE).
@@ -15,9 +15,12 @@ class BuildPy(build_py):
15
15
  playground = resources / 'playground'
16
16
  playground.mkdir(parents=True, exist_ok=True)
17
17
  (playground / '__init__.py').write_text('"""Bundled framework examples."""\n')
18
- for name in ('app.py', 'models.py', 'migrate.py', 'ui.py'):
18
+ for name in ('app.py', 'models.py', 'migrate.py', 'settings.py', 'ui.py'):
19
19
  shutil.copy2(root / 'examples/playground' / name, playground / name)
20
+ shutil.copytree(root / 'examples/playground/portal', playground / 'portal', dirs_exist_ok=True)
20
21
  docs = resources / 'docs'
21
22
  docs.mkdir(parents=True, exist_ok=True)
23
+ (docs / 'handoff.md').unlink(missing_ok=True)
22
24
  for path in (root / 'docs').glob('*.md'):
23
- shutil.copy2(path, docs / path.name)
25
+ if path.name != 'handoff.md':
26
+ shutil.copy2(path, docs / path.name)
@@ -0,0 +1,199 @@
1
+ # Declarative application amendment: unreleased
2
+
3
+ This change adds flat apps, discovered resources and declarative document behavior
4
+ to the existing framework. It is based on
5
+ `36a60c24fad714bbd378ab5e1c8fafe3b62a4d31`. The package version remains
6
+ `0.1.3.dev0`; this is a review branch, not a published release.
7
+
8
+ ## Changes and compatibility
9
+
10
+ - New `evlet app NAME` projects have a single package root. Nested apps and
11
+ `AppDefinition` remain supported; `--legacy` creates the old scaffold.
12
+ - `evlet setup` now prepares a project-local Python environment. Project
13
+ commands delegate to it. Legacy projects without its marker keep the
14
+ interpreter explicitly selected by the operator.
15
+ - Trusted builds discover models, reports, nested APIs/crons and native modules.
16
+ Generations include pinned source, metadata and assets. Failed builds keep
17
+ the published generation intact; active runtimes cannot switch generations
18
+ in place. Build and acquisition do not install or migrate an instance.
19
+ - New resource declarations require explicit permissions. Legacy permission
20
+ defaults remain unchanged; computed fields or `@action` alone do not opt a
21
+ model into default-deny. Owned children follow their document unless they
22
+ declare their own permissions. Logical resource IDs do not rename SQL tables or
23
+ existing HTTP aliases.
24
+ - Generated view names, overrides, extensions and routes use the schema model
25
+ name, which honours `storage_name`. An override named after the class (for
26
+ example `salesorder.list` for `storage_name = "sales_orders"`) now fails at
27
+ registration instead of being silently ignored; rename it to
28
+ `sales_orders.list`.
29
+ - Legacy apps keep their exact `apps.lock` source selection. Flat apps skip
30
+ dotfiles, virtual environments and root-level `build`, `dist` and `tests`.
31
+ - Immutable stored records are retained. Draft operations add owned children,
32
+ row order, exact calculations, conditional fields, Link filters, controlled
33
+ fetching, virtual queries and partial preview. Complete saves recompute and
34
+ validate on the server.
35
+ - New document PATCH, actions and deletion require `If-Match`, including legacy
36
+ `Action` handlers registered on a document model. Legacy routes on plain
37
+ models retain their existing optional revision contract. A rendered record is not
38
+ dirty merely because a volatile preview refreshed.
39
+ - Typed actions, immutable change sets and source-bound dialogs share existing
40
+ write transactions. Dialog retries use actor/source/input-scoped idempotency.
41
+ Related-only operations do not falsely change the source revision.
42
+ - Manual and autorun reports use the same transient field engine. Manual filter
43
+ editing does not execute a report. Results and pagination retain the executed
44
+ filters; optional totals explicitly cover the current page.
45
+ - Explicit service endpoints retain authentication, origin/CSRF and policy
46
+ checks. Calendar scheduling extends the existing durable queue and preserves
47
+ disabled schedules and history. External-effect tasks release the database
48
+ transaction while doing I/O and fence completion by lease.
49
+ - App-owned native modules add panels, actions and neutral layouts to the
50
+ existing renderer. They do not replace backend validation.
51
+
52
+ The working reference is [examples/amendment](../examples/amendment/README.md).
53
+ Its Sales Order includes owned items, totals, stock lookup, Work Order planning,
54
+ manual/automatic reports, a nested service/cron and an additive native panel.
55
+
56
+ ## Plan-to-source map
57
+
58
+ | Phase | Owning implementation and evidence |
59
+ | --- | --- |
60
+ | P0 | Audited baseline above; existing tests and distribution checks ran before changes. Compatibility decisions are in [the authoring guide](amendment-v2.md). |
61
+ | P1 | `packages.py`, `cli/setup.py`, `cli/app.py`, flat templates; lifecycle and outside-checkout package checks. |
62
+ | P2 | `builds.py`, `instances.py`, CLI build/watch integration; atomic build, reuse, pinning and late-import tests. |
63
+ | P3 | `declarations.py`, `models.py`, `fields.py`, `documents.py`, `permissions.py`; authenticated document and permission tests. |
64
+ | P4 | Owned tables, `reactivity.py`, `DocumentState.ts`, `DecimalValue.ts`, `RecordForm.tsx`; shared arithmetic/HTTP fixtures and legacy child conversion. |
65
+ | P5 | Draft preview, named sources, `@depends`, dynamic Link filters and fetches; boundary tests and browser stock feedback. |
66
+ | P6 | Typed actions/change reactions, `forms.py`, `TransientForm.tsx`; retry, rollback, revision and concurrent planning coverage. |
67
+ | P7 | Report definitions/routes and `ReportView.tsx`; manual/autorun, readiness and executed-filter tests. |
68
+ | P8 | `services.py`, calendar registration and queue adapters; endpoint, DST, reconciliation, identity and isolation checks. |
69
+ | P9 | `native.py`, `NativePanels.tsx`, reference TS panel; compiled manifest and authenticated asset checks. |
70
+ | P10 | Full backend/frontend regressions, PostgreSQL, tenant/connector HTTP smoke, installed distribution checks and manual browser checks below. |
71
+
72
+ This map groups evidence. It does not claim a separate executed test for every
73
+ numbered acceptance item in the amendment plan.
74
+
75
+ ## Upgrading an existing app
76
+
77
+ 1. Back up the selected instance and its `apps.lock`; stop its server and worker
78
+ before installation or migration. Use the established recovery procedure for
79
+ the selected adapter.
80
+ 2. Keep the existing nested layout if no conversion is needed. Existing
81
+ `AppDefinition`, `ChildTable`, `Action` and interval definitions still work.
82
+ 3. For a deliberate flat conversion, move the package root and add installable
83
+ package metadata. Preserve class/storage names and historical migrations.
84
+ Supply explicit inline permissions for every new declaration.
85
+ 4. To convert existing owned rows, set
86
+ `Table(Row, storage_name="existing_table", owner_field="existing_owner")`.
87
+ Add `evlet_position` with an explicit `AddField` migration and a zero default.
88
+ Existing IDs and owner links remain intact; initial ties sort by ID. Do not
89
+ rewrite the checksums of migrations already applied.
90
+ 5. Review source and dependencies, then run `evlet build --trust`. Inspect its
91
+ output before running `evlet migrate INSTANCE --trust` for the selected
92
+ instance. A changed source layout changes its fingerprint even if SQL is
93
+ unchanged. `serve` verifies locks/schema and refuses to migrate implicitly.
94
+ 6. Update custom callers of new document operations to send current revisions.
95
+ Test authorization, preview/save, actions and restore on a disposable copy
96
+ before using the change with business data.
97
+
98
+ See [the CLI guide](cli.md) for command options and
99
+ [the declarative guide](amendment-v2.md) for public contracts and recovery.
100
+
101
+ ## Limits and deferred work
102
+
103
+ - SQLite remains the default. PostgreSQL retains its database-local advisory
104
+ write lock, bounded pool and existing schema restrictions. This change does
105
+ not introduce parallel writes within one PostgreSQL database.
106
+ - Managed instance files, hostname tenant provisioning and staged instance
107
+ installation remain SQLite-specific. PostgreSQL applications use their
108
+ existing explicit configuration and migration path. No adapter conversion
109
+ or automatic PostgreSQL tenant catalog is included.
110
+ - Existing serverless and optional storage/connector behavior is covered by the
111
+ local regression suite. No live cloud deployment, external service delivery
112
+ or hosted connector end-to-end certification was performed.
113
+ - Document collections and report pages are bounded at 100 rows. Report totals
114
+ are page totals with declared units. Exports, pivots and charts are deferred.
115
+ - New reactive integer values fit the browser-safe integer range. Decimal
116
+ intermediates and rounding have explicit shared bounds; legacy stored
117
+ integer semantics remain unchanged.
118
+ - Service/action inputs are typed scalars. Query reuse is request-local; there
119
+ is no cross-user query cache or automatic external stock subscription.
120
+ - Native sources use Node 24 and relative `.ts/.js` modules. JSX and arbitrary
121
+ npm dependency bundling require a compatible prebuilt module. Independent
122
+ custom frontends, SSR hosts and alternate frontend frameworks are deferred.
123
+ - External effects remain at-least-once work. Receivers need idempotency and
124
+ finite deadlines; a lease cannot undo an external side effect.
125
+ - No customer database was changed. No package publication, merge or deployment
126
+ is included, and these checks do not establish production readiness.
127
+
128
+ ## Verification ledger
129
+
130
+ Executed locally on 1 November 2026 using macOS 27.0.1 (arm64), Python 3.12.16,
131
+ Node 24.16.0 and a disposable UTF-8 PostgreSQL 14.18 cluster on loopback port
132
+ 56439. Tests created their own SQLite files and PostgreSQL databases. No
133
+ production credentials or data were used.
134
+
135
+ Baseline commands from the repository root:
136
+
137
+ ```sh
138
+ .venv/bin/python -m pytest
139
+ cd frontend
140
+ npm test
141
+ npm run build
142
+ ```
143
+
144
+ Baseline results: 408 Python tests passed; 34 PostgreSQL tests skipped because
145
+ the test DSN was not configured. All 180 frontend tests and the frontend build
146
+ passed. Baseline distribution and installed-wheel checks also passed.
147
+
148
+ Final verification commands, from the repository root unless noted:
149
+
150
+ ```sh
151
+ EVLET_TEST_POSTGRES_DSN='host=127.0.0.1 port=56439 dbname=postgres user=evlet_test' .venv/bin/python -m pytest -q
152
+ .venv/bin/python scripts/smoke_tenants.py
153
+ cd frontend
154
+ npm test
155
+ npm run build
156
+ ```
157
+
158
+ The final backend suite passed all 468 tests, including 35 PostgreSQL tests,
159
+ with no skips, in 81.48 seconds. The frontend suite passed all 195 tests;
160
+ the production build and TypeScript check passed.
161
+ The two-tenant HTTP smoke passed sign-in, records, children, actions, private
162
+ files, discovery, durable jobs, event replay, restart, revocation and connector
163
+ reads.
164
+
165
+ Distribution checks used the following commands. `REPO` is the checkout root;
166
+ the `-I` checks ran with `/private/tmp` as their working directory:
167
+
168
+ ```sh
169
+ .venv/bin/python -m build --no-isolation --outdir /private/tmp/evlet-v2-dist
170
+ /private/tmp/evlet-v2-wheel-env/bin/python -m pip install --disable-pip-version-check --no-deps --force-reinstall /private/tmp/evlet-v2-dist/evlet-0.1.3.dev0-py3-none-any.whl
171
+ /private/tmp/evlet-v2-wheel-env/bin/python -I "$REPO/scripts/check_package.py"
172
+ /private/tmp/evlet-v2-wheel-env/bin/python -I "$REPO/scripts/smoke_cli.py"
173
+ .venv/bin/python scripts/check_flat_package.py /private/tmp/evlet-v2-dist/evlet-0.1.3.dev0-py3-none-any.whl
174
+ ```
175
+
176
+ All distribution checks passed. The wheel verification environment was created
177
+ with `python -m venv` and initially installed with the wheel and its required
178
+ dependencies, without optional PostgreSQL/S3 extras. The installed CLI exercised
179
+ real HTTP setup/sign-in, record persistence across restart, live development
180
+ reload, instance locks, Playground and offline docs. The generated flat app
181
+ was built and installed separately as wheel, source distribution and editable
182
+ package; all three imported from outside their source directory.
183
+
184
+ Manual browser checks passed for the reference app's sign-in/Docs, generated
185
+ Sales Order editing, live total and stock feedback, save, Work Order dialog and
186
+ manual report. The installed-wheel Playground also passed sign-in to Docs,
187
+ Projects demo list/preview, Layouts & state binding/dialog, and a legacy
188
+ generated Project child edit/save. Permission and concurrency matrices were
189
+ tested programmatically, not exhaustively repeated in the browser.
190
+
191
+ An initial local PostgreSQL cluster used SQL_ASCII and failed string comparisons
192
+ because driver results were bytes. It was replaced with the documented UTF-8
193
+ cluster before the final run. Browser testing also exposed initial query-state
194
+ hydration and child-field focus regressions; these were fixed and added to the
195
+ native regression tests. No unresolved failures remain in the checks reported
196
+ as passed. PostgreSQL 18, Python 3.13, Windows, live cloud services and the remote
197
+ CI matrix were not executed locally. CI retains those existing platform jobs;
198
+ Node setup now precedes native-extension backend tests, and CI runs the generated
199
+ flat-package check.