nexus-framework 0.2.3__tar.gz → 0.2.5__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 (220) hide show
  1. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/PKG-INFO +1 -1
  2. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/pyproject.toml +1 -1
  3. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/__init__.py +1 -1
  4. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/new_command.py +40 -12
  5. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/starters/standard.py +81 -15
  6. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus_framework.egg-info/PKG-INFO +1 -1
  7. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/README.md +0 -0
  8. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/setup.cfg +0 -0
  9. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/application.py +0 -0
  10. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/__init__.py +0 -0
  11. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/access/gate.py +0 -0
  12. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/auth_service_provider.py +0 -0
  13. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/authenticatable.py +0 -0
  14. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/guard.py +0 -0
  15. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/hashing.py +0 -0
  16. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/manager.py +0 -0
  17. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/middleware.py +0 -0
  18. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/sanctum/__init__.py +0 -0
  19. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/sanctum/guard.py +0 -0
  20. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/sanctum/has_api_tokens.py +0 -0
  21. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/sanctum/middleware.py +0 -0
  22. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/sanctum/migration.py +0 -0
  23. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/sanctum/new_access_token.py +0 -0
  24. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/sanctum/personal_access_token.py +0 -0
  25. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/auth/user_provider.py +0 -0
  26. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/cache/__init__.py +0 -0
  27. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/cache/cache_service_provider.py +0 -0
  28. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/cache/driver.py +0 -0
  29. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/cache/manager.py +0 -0
  30. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/cache/store.py +0 -0
  31. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/config/__init__.py +0 -0
  32. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/config/repository.py +0 -0
  33. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/__init__.py +0 -0
  34. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/cli.py +0 -0
  35. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/command.py +0 -0
  36. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/__init__.py +0 -0
  37. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/clear.py +0 -0
  38. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/config.py +0 -0
  39. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/database.py +0 -0
  40. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/key_generate.py +0 -0
  41. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/make.py +0 -0
  42. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/queue.py +0 -0
  43. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/route_list.py +0 -0
  44. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/schedule.py +0 -0
  45. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/serve.py +0 -0
  46. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/starter.py +0 -0
  47. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/commands/tinker.py +0 -0
  48. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/console_service_provider.py +0 -0
  49. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/generators/__init__.py +0 -0
  50. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/generators/stubs.py +0 -0
  51. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/console/kernel.py +0 -0
  52. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/container/__init__.py +0 -0
  53. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/container/container.py +0 -0
  54. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/container/exceptions.py +0 -0
  55. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/__init__.py +0 -0
  56. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/connection.py +0 -0
  57. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/database_service_provider.py +0 -0
  58. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/factory.py +0 -0
  59. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/migrations/__init__.py +0 -0
  60. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/migrations/migration.py +0 -0
  61. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/migrations/migrator.py +0 -0
  62. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/__init__.py +0 -0
  63. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/exceptions.py +0 -0
  64. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/model.py +0 -0
  65. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/relations/__init__.py +0 -0
  66. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/relations/base.py +0 -0
  67. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/relations/belongs_to.py +0 -0
  68. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/relations/belongs_to_many.py +0 -0
  69. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/relations/has_many.py +0 -0
  70. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/relations/has_one.py +0 -0
  71. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/models/soft_deletes.py +0 -0
  72. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/query/builder.py +0 -0
  73. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/schema/__init__.py +0 -0
  74. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/schema/blueprint.py +0 -0
  75. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/schema/schema.py +0 -0
  76. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/database/seeder.py +0 -0
  77. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/events/__init__.py +0 -0
  78. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/events/dispatcher.py +0 -0
  79. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/events/event_service_provider.py +0 -0
  80. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/exceptions/__init__.py +0 -0
  81. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/exceptions/exception_service_provider.py +0 -0
  82. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/exceptions/handler.py +0 -0
  83. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/__init__.py +0 -0
  84. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/app.py +0 -0
  85. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/artisan.py +0 -0
  86. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/auth.py +0 -0
  87. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/cache.py +0 -0
  88. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/config.py +0 -0
  89. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/date.py +0 -0
  90. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/db.py +0 -0
  91. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/event.py +0 -0
  92. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/facade.py +0 -0
  93. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/gate.py +0 -0
  94. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/hash.py +0 -0
  95. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/inertia.py +0 -0
  96. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/log.py +0 -0
  97. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/mail.py +0 -0
  98. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/notification.py +0 -0
  99. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/queue.py +0 -0
  100. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/rate_limiter.py +0 -0
  101. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/request.py +0 -0
  102. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/route.py +0 -0
  103. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/schedule.py +0 -0
  104. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/schema.py +0 -0
  105. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/session.py +0 -0
  106. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/storage.py +0 -0
  107. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/telescope.py +0 -0
  108. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/url.py +0 -0
  109. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/validator.py +0 -0
  110. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/facades/view.py +0 -0
  111. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/filesystem/__init__.py +0 -0
  112. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/filesystem/driver.py +0 -0
  113. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/filesystem/filesystem_service_provider.py +0 -0
  114. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/filesystem/manager.py +0 -0
  115. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/foundation/__init__.py +0 -0
  116. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/foundation/application.py +1 -1
  117. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/foundation/provider.py +0 -0
  118. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/foundation/runner.py +0 -0
  119. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/foundation/service_provider.py +0 -0
  120. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/__init__.py +0 -0
  121. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/exceptions.py +0 -0
  122. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/middleware.py +0 -0
  123. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/request.py +0 -0
  124. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/requests/__init__.py +0 -0
  125. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/requests/form_request.py +0 -0
  126. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/resources/__init__.py +0 -0
  127. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/resources/json_resource.py +0 -0
  128. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/resources/resource_collection.py +0 -0
  129. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/response.py +0 -0
  130. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/http/uploaded_file.py +0 -0
  131. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/inertia/__init__.py +0 -0
  132. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/inertia/helpers.py +0 -0
  133. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/inertia/inertia.py +0 -0
  134. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/inertia/inertia_service_provider.py +0 -0
  135. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/inertia/lazy.py +0 -0
  136. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/inertia/middleware.py +0 -0
  137. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/inertia/response.py +0 -0
  138. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/logging/__init__.py +0 -0
  139. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/logging/logging_service_provider.py +0 -0
  140. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/logging/manager.py +0 -0
  141. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/mail/__init__.py +0 -0
  142. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/mail/mail_service_provider.py +0 -0
  143. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/mail/mailable.py +0 -0
  144. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/mail/manager.py +0 -0
  145. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/mail/transport.py +0 -0
  146. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/notifications/__init__.py +0 -0
  147. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/notifications/manager.py +0 -0
  148. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/notifications/notification.py +0 -0
  149. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/notifications/notification_service_provider.py +0 -0
  150. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/py.typed +0 -0
  151. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/queue/__init__.py +0 -0
  152. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/queue/driver.py +0 -0
  153. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/queue/job.py +0 -0
  154. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/queue/manager.py +0 -0
  155. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/queue/queue_service_provider.py +0 -0
  156. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/queue/worker.py +0 -0
  157. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/routing/__init__.py +0 -0
  158. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/routing/limiter.py +0 -0
  159. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/routing/route.py +0 -0
  160. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/routing/router.py +0 -0
  161. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/routing/throttle.py +0 -0
  162. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/routing/url.py +0 -0
  163. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/schedule/__init__.py +0 -0
  164. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/schedule/event.py +0 -0
  165. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/schedule/schedule.py +0 -0
  166. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/schedule/schedule_service_provider.py +0 -0
  167. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/security/__init__.py +0 -0
  168. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/security/cors.py +0 -0
  169. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/security/csrf.py +0 -0
  170. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/security/headers.py +0 -0
  171. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/session/__init__.py +0 -0
  172. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/session/driver.py +0 -0
  173. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/session/manager.py +0 -0
  174. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/session/middleware.py +0 -0
  175. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/session/session.py +0 -0
  176. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/session/session_service_provider.py +0 -0
  177. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/starters/__init__.py +0 -0
  178. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/starters/api.py +0 -0
  179. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/starters/inertia.py +0 -0
  180. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/starters/openapi.py +0 -0
  181. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/starters/web.py +0 -0
  182. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/support/__init__.py +0 -0
  183. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/support/arr.py +0 -0
  184. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/support/carbon.py +0 -0
  185. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/support/collection.py +0 -0
  186. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/support/env.py +0 -0
  187. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/support/helpers.py +0 -0
  188. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/support/str.py +0 -0
  189. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/telescope/__init__.py +0 -0
  190. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/telescope/debugbar.py +0 -0
  191. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/telescope/entry.py +0 -0
  192. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/telescope/middleware.py +0 -0
  193. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/telescope/telescope.py +0 -0
  194. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/telescope/telescope_service_provider.py +0 -0
  195. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/__init__.py +0 -0
  196. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/client.py +0 -0
  197. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/database.py +0 -0
  198. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/fakes/__init__.py +0 -0
  199. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/fakes/event_fake.py +0 -0
  200. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/fakes/log_fake.py +0 -0
  201. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/fakes/mail_fake.py +0 -0
  202. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/fakes/notification_fake.py +0 -0
  203. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/fakes/queue_fake.py +0 -0
  204. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/fakes/storage_fake.py +0 -0
  205. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/response.py +0 -0
  206. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/test_case.py +0 -0
  207. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/testing/time.py +0 -0
  208. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/validation/__init__.py +0 -0
  209. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/validation/rule.py +0 -0
  210. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/validation/validation_service_provider.py +0 -0
  211. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/validation/validator.py +0 -0
  212. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/view/__init__.py +0 -0
  213. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/view/compiler.py +0 -0
  214. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/view/factory.py +0 -0
  215. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus/view/view_service_provider.py +0 -0
  216. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus_framework.egg-info/SOURCES.txt +0 -0
  217. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus_framework.egg-info/dependency_links.txt +0 -0
  218. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus_framework.egg-info/entry_points.txt +0 -0
  219. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus_framework.egg-info/requires.txt +0 -0
  220. {nexus_framework-0.2.3 → nexus_framework-0.2.5}/src/nexus_framework.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nexus-framework
3
- Version: 0.2.3
3
+ Version: 0.2.5
4
4
  Summary: An expressive, batteries-included asynchronous web framework for Python inspired by Laravel.
5
5
  Author-email: Nexus Core Team <core@nexus-framework.org>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nexus-framework"
7
- version = "0.2.3"
7
+ version = "0.2.5"
8
8
  description = "An expressive, batteries-included asynchronous web framework for Python inspired by Laravel."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -1,3 +1,3 @@
1
1
  """Nexus Framework - The Elegant Full-Stack Python Web Framework."""
2
2
 
3
- __version__ = "0.1.0"
3
+ __version__ = "0.2.5"
@@ -30,6 +30,19 @@ BANNER = r"""
30
30
  """
31
31
 
32
32
 
33
+ IGNORED_EXISTING_NAMES = {
34
+ ".venv",
35
+ "venv",
36
+ "ENV",
37
+ "env",
38
+ ".git",
39
+ ".idea",
40
+ ".vscode",
41
+ ".DS_Store",
42
+ "Thumbs.db",
43
+ }
44
+
45
+
33
46
  def register_new_command(cli: typer.Typer, app: Application) -> None:
34
47
  """Register 'new' project creation command."""
35
48
 
@@ -44,11 +57,26 @@ def register_new_command(cli: typer.Typer, app: Application) -> None:
44
57
 
45
58
  target = Path(name).resolve()
46
59
  is_current_dir = name.strip() == "."
47
- app_name = target.name if not is_current_dir else "NexusApp"
48
-
49
- if target.exists() and any(target.iterdir()) and not force:
50
- console.print(f"[bold yellow]Warning:[/bold yellow] Target directory [{target}] is not empty. Use [bold]--force[/bold] to overwrite.")
51
- raise typer.Exit(code=1)
60
+ app_name = target.name if target.name else "NexusApp"
61
+
62
+ if target.exists() and not force:
63
+ existing_items = [
64
+ item for item in target.iterdir()
65
+ if item.name not in IGNORED_EXISTING_NAMES
66
+ ]
67
+ if existing_items:
68
+ try:
69
+ should_continue = typer.confirm(
70
+ f"Target directory [{target}] contains {len(existing_items)} existing file(s). Scaffold anyway?",
71
+ default=False,
72
+ )
73
+ except Exception: # noqa: BLE001
74
+ should_continue = False
75
+
76
+ if not should_continue:
77
+ console.print(f"[bold yellow]Warning:[/bold yellow] Target directory [{target}] is not empty. Use [bold]--force[/bold] to overwrite.")
78
+ raise typer.Exit(code=1)
79
+ force = True
52
80
 
53
81
  target.mkdir(parents=True, exist_ok=True)
54
82
  starter_choice = starter.lower().strip()
@@ -58,17 +86,17 @@ def register_new_command(cli: typer.Typer, app: Application) -> None:
58
86
 
59
87
  created_files: list[Path] = []
60
88
  if starter_choice == "standard":
61
- scaffolder = StandardStarter(target)
89
+ scaffolder = StandardStarter(target, app_name=app_name)
62
90
  created_files = scaffolder.install(force=force)
63
91
  elif starter_choice == "web":
64
92
  # Start with standard and overlay web starter
65
- StandardStarter(target).install(force=force)
93
+ StandardStarter(target, app_name=app_name).install(force=force)
66
94
  created_files = WebStarter(target).install(force=force)
67
95
  elif starter_choice == "api":
68
- StandardStarter(target).install(force=force)
96
+ StandardStarter(target, app_name=app_name).install(force=force)
69
97
  created_files = ApiStarter(target).install(force=force)
70
98
  elif starter_choice == "inertia":
71
- StandardStarter(target).install(force=force)
99
+ StandardStarter(target, app_name=app_name).install(force=force)
72
100
  created_files = InertiaStarter(target).install(force=force)
73
101
  else:
74
102
  console.print(f"[bold red]Error:[/bold red] Unknown starter preset [{starter_choice}]. Options: 'standard', 'web', 'api', 'inertia'")
@@ -94,9 +122,9 @@ def register_new_command(cli: typer.Typer, app: Application) -> None:
94
122
  f"[bold green]Application [{app_name}] created successfully![/bold green]\n\n"
95
123
  f"[bold cyan]Get started with:[/bold cyan]\n"
96
124
  + cd_step
97
- + " [white]pip install -e .[/white] [dim]# Or install dependencies[/dim]\n"
98
- " [white]python nexus.py migrate[/white] [dim]# Run initial migrations[/dim]\n"
99
- " [white]python nexus.py serve[/white] [dim]# Start local dev server (http://localhost:8000)[/dim]\n\n"
125
+ + " [white]python nexus.py migrate[/white] [dim]# Run initial migrations[/dim]\n"
126
+ " [white]python nexus.py serve[/white] [dim]# Start local dev server (http://localhost:8000)[/dim]\n"
127
+ " [white]npm install && npm run dev[/white] [dim]# Compile Vite & Tailwind v4 assets[/dim]\n\n"
100
128
  "[dim]Happy coding with Nexus! Built with speed, elegance, and developer joy.[/dim]",
101
129
  title="⚡ Nexus Ready",
102
130
  border_style="green",
@@ -10,8 +10,9 @@ from pathlib import Path
10
10
  class StandardStarter:
11
11
  """Scaffolds a complete standard Laravel-style Nexus web application skeleton."""
12
12
 
13
- def __init__(self, base_path: str | Path = ".") -> None:
13
+ def __init__(self, base_path: str | Path = ".", app_name: str = "NexusApp") -> None:
14
14
  self.base_path = Path(base_path).resolve()
15
+ self.app_name = app_name
15
16
 
16
17
  def install(self, force: bool = False) -> list[Path]:
17
18
  """Generate standard application files and return list of created file paths."""
@@ -331,7 +332,8 @@ class InspireCommand(Command):
331
332
  from __future__ import annotations
332
333
 
333
334
  from nexus.database.migrations import Migration
334
- from nexus.database.schema import Blueprint, Schema
335
+ from nexus.database.schema import Blueprint
336
+ from nexus.facades import Schema
335
337
 
336
338
 
337
339
  class CreateUsersTable(Migration):
@@ -499,7 +501,7 @@ Alpine.start();
499
501
  @section('content')
500
502
  <div class="max-w-2xl text-center space-y-6" x-data="{ count: 0 }">
501
503
  <div class="inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-indigo-500/10 border border-indigo-500/20 text-indigo-400 text-xs font-semibold">
502
- <span>🚀 Version 0.2.3 Released</span>
504
+ <span>🚀 Version 0.2.5 Released</span>
503
505
  </div>
504
506
 
505
507
  <h1 class="text-5xl font-black tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 via-indigo-400 to-purple-500">
@@ -805,10 +807,8 @@ CONFIG = {
805
807
  for fname, content in config_files.items():
806
808
  created_files.append(self._write_file(self.base_path / "config" / fname, content, force=force))
807
809
 
808
- # 10. Root Files: nexus.py launcher, package.json, vite.config.js, tailwind.config.js, .gitignore, .env.example, .env
809
- created_files.append(self._write_file(
810
- self.base_path / "nexus.py",
811
- '''#!/usr/bin/env python
810
+ # 10. Root Files: nexus.py / artisan.py launchers, package.json, vite.config.js, tailwind.config.js, .gitignore, .env.example, .env
811
+ runner_content = '''#!/usr/bin/env python
812
812
  """Nexus Artisan CLI Runner."""
813
813
 
814
814
  from __future__ import annotations
@@ -817,19 +817,25 @@ import sys
817
817
  from pathlib import Path
818
818
 
819
819
  _root_dir = Path(__file__).resolve().parent
820
- _src_dir = _root_dir / "src"
821
- if str(_src_dir) not in sys.path:
822
- sys.path.insert(0, str(_src_dir))
823
- if str(_root_dir) not in sys.path:
824
- sys.path.insert(0, str(_root_dir))
820
+ _cur = str(_root_dir)
821
+
822
+ # Ensure this script file does not shadow the installed 'nexus' package
823
+ _removed_from_path = False
824
+ if _cur in sys.path:
825
+ sys.path.remove(_cur)
826
+ _removed_from_path = True
825
827
 
828
+ import nexus # noqa: F401
826
829
  from nexus.console.cli import main
827
830
 
831
+ if _removed_from_path and _cur not in sys.path:
832
+ sys.path.insert(0, _cur)
833
+
828
834
  if __name__ == "__main__":
829
835
  main()
830
- ''',
831
- force=force,
832
- ))
836
+ '''
837
+ created_files.append(self._write_file(self.base_path / "nexus.py", runner_content, force=force))
838
+ created_files.append(self._write_file(self.base_path / "artisan.py", runner_content, force=force))
833
839
 
834
840
  created_files.append(self._write_file(
835
841
  self.base_path / "package.json",
@@ -983,6 +989,66 @@ VITE_APP_NAME="${APP_NAME}"
983
989
  env_content = env_example_content.replace("APP_KEY=", f"APP_KEY={app_key}")
984
990
  created_files.append(self._write_file(self.base_path / ".env", env_content, force=force))
985
991
 
992
+ # Generate project pyproject.toml
993
+ clean_pkg = "".join(c if c.isalnum() else "-" for c in self.app_name.lower()).strip("-") or "nexus-app"
994
+ pyproject_content = f'''[build-system]
995
+ requires = ["setuptools>=61.0"]
996
+ build-backend = "setuptools.build_meta"
997
+
998
+ [project]
999
+ name = "{clean_pkg}"
1000
+ version = "0.1.0"
1001
+ description = "A Nexus web application"
1002
+ readme = "README.md"
1003
+ requires-python = ">=3.11"
1004
+ dependencies = [
1005
+ "nexus-framework>=0.2.5",
1006
+ ]
1007
+
1008
+ [project.optional-dependencies]
1009
+ dev = [
1010
+ "pytest>=8.0.0",
1011
+ "pytest-asyncio>=0.23.0",
1012
+ "httpx>=0.27.0",
1013
+ ]
1014
+
1015
+ [tool.setuptools.packages.find]
1016
+ where = ["."]
1017
+ include = ["app*", "bootstrap*", "config*", "routes*"]
1018
+ '''
1019
+ created_files.append(self._write_file(self.base_path / "pyproject.toml", pyproject_content, force=force))
1020
+
1021
+ # Generate project README.md
1022
+ readme_content = f'''# {self.app_name}
1023
+
1024
+ An expressive, modern web application built with [Nexus Framework](https://github.com/nexus-framework/nexus).
1025
+
1026
+ ## Getting Started
1027
+
1028
+ ### 1. Database Migrations
1029
+ ```bash
1030
+ python nexus.py migrate
1031
+ ```
1032
+
1033
+ ### 2. Seed Initial Data (Optional)
1034
+ ```bash
1035
+ python nexus.py db:seed
1036
+ ```
1037
+
1038
+ ### 3. Start Development Server
1039
+ ```bash
1040
+ python nexus.py serve
1041
+ ```
1042
+ Open [http://localhost:8000](http://localhost:8000) in your browser.
1043
+
1044
+ ### 4. Compile Frontend Assets (Tailwind CSS v4 & Alpine.js)
1045
+ ```bash
1046
+ npm install
1047
+ npm run dev
1048
+ ```
1049
+ '''
1050
+ created_files.append(self._write_file(self.base_path / "README.md", readme_content, force=force))
1051
+
986
1052
  return created_files
987
1053
 
988
1054
  def _write_file(self, path: Path, content: str, force: bool = False) -> Path:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nexus-framework
3
- Version: 0.2.3
3
+ Version: 0.2.5
4
4
  Summary: An expressive, batteries-included asynchronous web framework for Python inspired by Laravel.
5
5
  Author-email: Nexus Core Team <core@nexus-framework.org>
6
6
  License-Expression: MIT
@@ -40,7 +40,6 @@ class Application(Container):
40
40
  self._bootstrap_runner()
41
41
  self._bootstrap_router()
42
42
  self._bootstrap_database()
43
- self._bootstrap_console()
44
43
  self._bootstrap_session()
45
44
  self._bootstrap_auth()
46
45
  self._bootstrap_view()
@@ -53,6 +52,7 @@ class Application(Container):
53
52
  self._bootstrap_notifications()
54
53
  self._bootstrap_inertia()
55
54
  self._bootstrap_telescope()
55
+ self._bootstrap_console()
56
56
  self._bootstrap_routes()
57
57
 
58
58
  def _register_base_bindings(self) -> None: