nexus-framework 0.2.6__tar.gz → 0.2.8__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.
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/PKG-INFO +1 -1
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/pyproject.toml +1 -1
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/__init__.py +1 -1
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/serve.py +14 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/routing/router.py +46 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/starters/standard.py +24 -15
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/view/factory.py +19 -5
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus_framework.egg-info/PKG-INFO +1 -1
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/README.md +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/setup.cfg +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/application.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/access/gate.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/auth_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/authenticatable.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/guard.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/hashing.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/middleware.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/guard.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/has_api_tokens.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/middleware.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/migration.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/new_access_token.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/personal_access_token.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/user_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/cache/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/cache/cache_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/cache/driver.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/cache/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/cache/store.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/config/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/config/repository.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/cli.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/command.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/clear.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/config.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/database.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/key_generate.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/make.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/new_command.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/queue.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/route_list.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/schedule.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/starter.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/commands/tinker.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/console_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/generators/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/generators/stubs.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/kernel.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/container/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/container/container.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/container/exceptions.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/connection.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/database_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/factory.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/migrations/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/migrations/migration.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/migrations/migrator.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/exceptions.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/model.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/base.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/belongs_to.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/belongs_to_many.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/has_many.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/has_one.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/soft_deletes.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/query/builder.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/schema/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/schema/blueprint.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/schema/schema.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/seeder.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/events/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/events/dispatcher.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/events/event_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/exceptions/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/exceptions/exception_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/exceptions/handler.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/app.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/artisan.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/auth.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/cache.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/config.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/date.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/db.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/event.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/facade.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/gate.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/hash.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/inertia.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/log.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/mail.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/notification.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/queue.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/rate_limiter.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/request.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/route.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/schedule.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/schema.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/session.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/storage.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/telescope.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/url.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/validator.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/facades/view.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/filesystem/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/filesystem/driver.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/filesystem/filesystem_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/filesystem/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/foundation/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/foundation/application.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/foundation/provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/foundation/runner.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/foundation/service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/exceptions.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/middleware.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/request.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/requests/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/requests/form_request.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/resources/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/resources/json_resource.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/resources/resource_collection.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/response.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/uploaded_file.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/helpers.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/inertia.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/inertia_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/lazy.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/middleware.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/response.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/logging/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/logging/logging_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/logging/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/mail/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/mail/mail_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/mail/mailable.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/mail/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/mail/transport.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/notifications/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/notifications/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/notifications/notification.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/notifications/notification_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/py.typed +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/queue/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/queue/driver.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/queue/job.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/queue/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/queue/queue_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/queue/worker.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/routing/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/routing/limiter.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/routing/route.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/routing/throttle.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/routing/url.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/schedule/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/schedule/event.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/schedule/schedule.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/schedule/schedule_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/security/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/security/cors.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/security/csrf.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/security/headers.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/session/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/session/driver.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/session/manager.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/session/middleware.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/session/session.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/session/session_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/starters/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/starters/api.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/starters/inertia.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/starters/openapi.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/starters/web.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/support/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/support/arr.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/support/carbon.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/support/collection.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/support/env.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/support/helpers.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/support/str.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/telescope/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/telescope/debugbar.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/telescope/entry.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/telescope/middleware.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/telescope/telescope.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/telescope/telescope_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/client.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/database.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/event_fake.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/log_fake.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/mail_fake.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/notification_fake.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/queue_fake.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/storage_fake.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/response.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/test_case.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/time.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/validation/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/validation/rule.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/validation/validation_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/validation/validator.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/view/__init__.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/view/compiler.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/view/view_service_provider.py +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus_framework.egg-info/SOURCES.txt +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus_framework.egg-info/dependency_links.txt +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus_framework.egg-info/entry_points.txt +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus_framework.egg-info/requires.txt +0 -0
- {nexus_framework-0.2.6 → nexus_framework-0.2.8}/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
|
+
Version: 0.2.8
|
|
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.
|
|
7
|
+
version = "0.2.8"
|
|
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"
|
|
@@ -41,6 +41,20 @@ def register_serve_command(cli: typer.Typer, app: Application) -> None:
|
|
|
41
41
|
)
|
|
42
42
|
)
|
|
43
43
|
|
|
44
|
+
shadow_file = app.base_path("nexus.py")
|
|
45
|
+
if shadow_file.is_file():
|
|
46
|
+
artisan_file = app.base_path("artisan.py")
|
|
47
|
+
try:
|
|
48
|
+
if not artisan_file.exists():
|
|
49
|
+
shadow_file.rename(artisan_file)
|
|
50
|
+
else:
|
|
51
|
+
shadow_file.unlink()
|
|
52
|
+
console.print(
|
|
53
|
+
"[dim]Auto-cleaned 'nexus.py' from project root to prevent Python module shadowing.[/dim]"
|
|
54
|
+
)
|
|
55
|
+
except Exception: # noqa: BLE001, S110
|
|
56
|
+
pass
|
|
57
|
+
|
|
44
58
|
target = "public.index:app" if app.base_path("public", "index.py").exists() else "bootstrap.app:app"
|
|
45
59
|
uvicorn.run(
|
|
46
60
|
target,
|
|
@@ -195,6 +195,52 @@ class Router:
|
|
|
195
195
|
if self._fallback_route:
|
|
196
196
|
return self._fallback_route
|
|
197
197
|
|
|
198
|
+
# Built-in developer tooling endpoints
|
|
199
|
+
if request.method in ("GET", "HEAD"):
|
|
200
|
+
if request.path == "/api/docs":
|
|
201
|
+
from nexus.starters.openapi import OpenApiGenerator
|
|
202
|
+
title = "Nexus Application API"
|
|
203
|
+
if hasattr(self.container, "bound") and self.container.bound("config"):
|
|
204
|
+
title = self.container.make("config").get("app.name", title)
|
|
205
|
+
generator = OpenApiGenerator(self, title=title)
|
|
206
|
+
return Route(
|
|
207
|
+
["GET", "HEAD"],
|
|
208
|
+
"/api/docs",
|
|
209
|
+
lambda req: HtmlResponse(generator.render_swagger_ui_html(spec_url="/api/openapi.json")),
|
|
210
|
+
router=self,
|
|
211
|
+
)
|
|
212
|
+
|
|
213
|
+
if request.path == "/api/openapi.json":
|
|
214
|
+
from nexus.starters.openapi import OpenApiGenerator
|
|
215
|
+
title = "Nexus Application API"
|
|
216
|
+
if hasattr(self.container, "bound") and self.container.bound("config"):
|
|
217
|
+
title = self.container.make("config").get("app.name", title)
|
|
218
|
+
generator = OpenApiGenerator(self, title=title)
|
|
219
|
+
return Route(
|
|
220
|
+
["GET", "HEAD"],
|
|
221
|
+
"/api/openapi.json",
|
|
222
|
+
lambda req: JsonResponse(generator.generate_spec()),
|
|
223
|
+
router=self,
|
|
224
|
+
)
|
|
225
|
+
|
|
226
|
+
if request.path == "/telescope":
|
|
227
|
+
from nexus.telescope.middleware import TelescopeMiddleware
|
|
228
|
+
return Route(
|
|
229
|
+
["GET", "HEAD"],
|
|
230
|
+
"/telescope",
|
|
231
|
+
lambda req: TelescopeMiddleware()._render_telescope_dashboard(),
|
|
232
|
+
router=self,
|
|
233
|
+
)
|
|
234
|
+
|
|
235
|
+
if request.path == "/telescope/api/requests":
|
|
236
|
+
from nexus.telescope.telescope import telescope_instance
|
|
237
|
+
return Route(
|
|
238
|
+
["GET", "HEAD"],
|
|
239
|
+
"/telescope/api/requests",
|
|
240
|
+
lambda req: JsonResponse({"data": telescope_instance.entries()}),
|
|
241
|
+
router=self,
|
|
242
|
+
)
|
|
243
|
+
|
|
198
244
|
raise NotFoundHttpException(f"The route [{request.path}] could not be found.")
|
|
199
245
|
|
|
200
246
|
def without_middleware(self, *middlewares: Any) -> Router:
|
|
@@ -501,7 +501,7 @@ Alpine.start();
|
|
|
501
501
|
@section('content')
|
|
502
502
|
<div class="max-w-2xl text-center space-y-6" x-data="{ count: 0 }">
|
|
503
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">
|
|
504
|
-
<span>🚀 Version 0.2.
|
|
504
|
+
<span>🚀 Version 0.2.8 Released</span>
|
|
505
505
|
</div>
|
|
506
506
|
|
|
507
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">
|
|
@@ -567,9 +567,27 @@ Route.get("/health", lambda req: {"status": "healthy"}).name("health")
|
|
|
567
567
|
|
|
568
568
|
from __future__ import annotations
|
|
569
569
|
|
|
570
|
+
from nexus.facades.app import App
|
|
570
571
|
from nexus.facades.route import Route
|
|
572
|
+
from nexus.http.response import HtmlResponse, JsonResponse
|
|
573
|
+
from nexus.starters.openapi import OpenApiGenerator
|
|
571
574
|
|
|
572
|
-
|
|
575
|
+
|
|
576
|
+
def openapi_spec() -> JsonResponse:
|
|
577
|
+
"""Return OpenAPI 3.0 specification JSON."""
|
|
578
|
+
generator = OpenApiGenerator(App.make("router"), title="Nexus Application API")
|
|
579
|
+
return JsonResponse(generator.generate_spec())
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
def swagger_ui() -> HtmlResponse:
|
|
583
|
+
"""Render interactive Swagger UI."""
|
|
584
|
+
generator = OpenApiGenerator(App.make("router"), title="Nexus Application API")
|
|
585
|
+
return HtmlResponse(generator.render_swagger_ui_html(spec_url="/api/openapi.json"))
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
Route.get("/api/v1/status", lambda req: {"status": "ok", "version": "v1"}).name("api.status")
|
|
589
|
+
Route.get("/api/openapi.json", openapi_spec).name("api.openapi")
|
|
590
|
+
Route.get("/api/docs", swagger_ui).name("api.docs")
|
|
573
591
|
''',
|
|
574
592
|
force=force,
|
|
575
593
|
))
|
|
@@ -807,7 +825,7 @@ CONFIG = {
|
|
|
807
825
|
for fname, content in config_files.items():
|
|
808
826
|
created_files.append(self._write_file(self.base_path / "config" / fname, content, force=force))
|
|
809
827
|
|
|
810
|
-
# 10. Root Files:
|
|
828
|
+
# 10. Root Files: artisan.py launcher, package.json, vite.config.js, tailwind.config.js, .gitignore, .env.example, .env
|
|
811
829
|
runner_content = '''#!/usr/bin/env python
|
|
812
830
|
"""Nexus Artisan CLI Runner."""
|
|
813
831
|
|
|
@@ -816,25 +834,16 @@ from __future__ import annotations
|
|
|
816
834
|
import sys
|
|
817
835
|
from pathlib import Path
|
|
818
836
|
|
|
837
|
+
# Ensure project root is in sys.path
|
|
819
838
|
_root_dir = Path(__file__).resolve().parent
|
|
820
|
-
|
|
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
|
|
839
|
+
if str(_root_dir) not in sys.path:
|
|
840
|
+
sys.path.insert(0, str(_root_dir))
|
|
827
841
|
|
|
828
|
-
import nexus # noqa: F401
|
|
829
842
|
from nexus.console.cli import main
|
|
830
843
|
|
|
831
|
-
if _removed_from_path and _cur not in sys.path:
|
|
832
|
-
sys.path.insert(0, _cur)
|
|
833
|
-
|
|
834
844
|
if __name__ == "__main__":
|
|
835
845
|
main()
|
|
836
846
|
'''
|
|
837
|
-
created_files.append(self._write_file(self.base_path / "nexus.py", runner_content, force=force))
|
|
838
847
|
created_files.append(self._write_file(self.base_path / "artisan.py", runner_content, force=force))
|
|
839
848
|
|
|
840
849
|
created_files.append(self._write_file(
|
|
@@ -145,10 +145,13 @@ class ViewFactory:
|
|
|
145
145
|
|
|
146
146
|
# Production manifest (when npm run build has been executed)
|
|
147
147
|
manifest_path = self.app.base_path("public", "build", "manifest.json")
|
|
148
|
-
|
|
148
|
+
vite_manifest = self.app.base_path("public", "build", ".vite", "manifest.json")
|
|
149
|
+
active_manifest = manifest_path if manifest_path.exists() else (vite_manifest if vite_manifest.exists() else None)
|
|
150
|
+
|
|
151
|
+
if active_manifest is not None:
|
|
149
152
|
manifest: dict[str, Any] = {}
|
|
150
153
|
try:
|
|
151
|
-
manifest = json.loads(
|
|
154
|
+
manifest = json.loads(active_manifest.read_text(encoding="utf-8"))
|
|
152
155
|
except (json.JSONDecodeError, OSError):
|
|
153
156
|
manifest = {}
|
|
154
157
|
|
|
@@ -156,16 +159,27 @@ class ViewFactory:
|
|
|
156
159
|
chunk = manifest.get(asset, {})
|
|
157
160
|
file_name = chunk.get("file", asset)
|
|
158
161
|
file_url = f"/build/{file_name}"
|
|
162
|
+
|
|
163
|
+
# Include any CSS files bundled alongside JS assets
|
|
164
|
+
for css_file in chunk.get("css", []):
|
|
165
|
+
css_tag = f'<link rel="stylesheet" href="/build/{css_file}">'
|
|
166
|
+
if css_tag not in tags:
|
|
167
|
+
tags.append(css_tag)
|
|
168
|
+
|
|
159
169
|
if asset.endswith(".css") or str(file_name).endswith(".css"):
|
|
160
|
-
|
|
170
|
+
tag = f'<link rel="stylesheet" href="{file_url}">'
|
|
171
|
+
if tag not in tags:
|
|
172
|
+
tags.append(tag)
|
|
161
173
|
else:
|
|
162
|
-
|
|
174
|
+
tag = f'<script type="module" src="{file_url}"></script>'
|
|
175
|
+
if tag not in tags:
|
|
176
|
+
tags.append(tag)
|
|
163
177
|
return "\n".join(tags)
|
|
164
178
|
|
|
165
179
|
# Development Fallback (when neither Vite dev server nor build manifest exists):
|
|
166
180
|
# Gracefully inject Tailwind CSS & Alpine.js CDNs so views are immediately styled and reactive
|
|
167
181
|
tags.append('<script src="https://cdn.tailwindcss.com"></script>')
|
|
168
|
-
tags.append('<script defer src="https://
|
|
182
|
+
tags.append('<script defer src="https://unpkg.com/alpinejs@3.14.8/dist/cdn.min.js"></script>')
|
|
169
183
|
return "\n".join(tags)
|
|
170
184
|
|
|
171
185
|
def _inertia_root(self, page: Any = None) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nexus-framework
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/auth/sanctum/personal_access_token.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/console/console_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/database_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/belongs_to.py
RENAMED
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/has_many.py
RENAMED
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/database/models/relations/has_one.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/exceptions/exception_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/filesystem/filesystem_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/http/resources/resource_collection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/inertia/inertia_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/logging/logging_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/schedule/schedule_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/session/session_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/telescope/telescope_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/testing/fakes/notification_fake.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus/validation/validation_service_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus_framework.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{nexus_framework-0.2.6 → nexus_framework-0.2.8}/src/nexus_framework.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|