identity-plan-kit 1.2.0__tar.gz → 1.4.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.
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/PKG-INFO +2 -3
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/pyproject.toml +7 -4
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/admin/auth.py +1 -1
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/models/user.py +1 -1
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/config.py +5 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/kit.py +8 -6
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/security.py +11 -5
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_redis_stale_write_prevention.py +6 -3
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/test_kit_wiring.py +17 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/uv.lock +49 -68
- identity_plan_kit-1.2.0/.claude/CLAUDE.MD +0 -63
- identity_plan_kit-1.2.0/.claude/agents/Architect.md +0 -44
- identity_plan_kit-1.2.0/.claude/agents/Reviewer.md +0 -40
- identity_plan_kit-1.2.0/.claude/rules/cache-standards.md +0 -38
- identity_plan_kit-1.2.0/.claude/rules/crud-operations.md +0 -52
- identity_plan_kit-1.2.0/.claude/rules/database-patterns.md +0 -46
- identity_plan_kit-1.2.0/.claude/rules/error-handling.md +0 -43
- identity_plan_kit-1.2.0/.claude/rules/feature-structure.md +0 -70
- identity_plan_kit-1.2.0/.claude/rules/layer-standards.md +0 -75
- identity_plan_kit-1.2.0/.claude/rules/no-speculative-changes.md +0 -45
- identity_plan_kit-1.2.0/.claude/rules/serena-tool-selection.md +0 -53
- identity_plan_kit-1.2.0/.claude/settings.local.json +0 -88
- identity_plan_kit-1.2.0/.claude/skills/architect-review/SKILL.MD +0 -57
- identity_plan_kit-1.2.0/.claude/skills/code-review/SKILL.MD +0 -76
- identity_plan_kit-1.2.0/.claude/skills/pattern-review/SKILL.MD +0 -73
- identity_plan_kit-1.2.0/.claude/skills/production-readiness-review/SKILL.MD +0 -76
- identity_plan_kit-1.2.0/.claude/skills/real-optimization-test/SKILL.md +0 -222
- identity_plan_kit-1.2.0/.claude/skills/security-review/SKILL.MD +0 -78
- identity_plan_kit-1.2.0/.claude/skills/system-design/SKILL.MD +0 -88
- identity_plan_kit-1.2.0/.claude/skills/task-creator/SKILL.MD +0 -78
- identity_plan_kit-1.2.0/.claude/skills/testing-review/SKILL.md +0 -268
- identity_plan_kit-1.2.0/.mcp.json +0 -19
- identity_plan_kit-1.2.0/.serena/.gitignore +0 -2
- identity_plan_kit-1.2.0/.serena/project.local.yml +0 -5
- identity_plan_kit-1.2.0/.serena/project.yml +0 -189
- identity_plan_kit-1.2.0/AUDIT_REPORT.md +0 -284
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/.gitignore +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/Makefile +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/README.md +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/env.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/script.py.mako +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/versions/20250124_000000_initial_schema.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/versions/20250127_000000_add_password_hash.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/versions/20250130_000000_add_display_name_picture.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/versions/20250214_000000_add_user_metadata.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/versions/20260506_000000_add_plan_timestamps.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/versions/20260515_000000_add_auth_timestamps.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic/versions/20260610_000000_add_rbac_timestamps.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/alembic.ini +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/extending_models.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/integration/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/integration/fastapi_integration.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/integration/sample_alembic_env.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/integration/webhook_integration.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/playing/admin_usage.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/playing/basic_usage.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/playing/custom_error_formats.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/playing/user_metadata.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/prod/.env.production.example +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/prod/Dockerfile +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/prod/docker-compose.yml +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/prod/nginx.conf +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/prod/production_setup.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/examples/prod/prometheus.yml +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/README.md +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/config.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/locustfile.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/test_auth.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/test_database_stress.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/test_mixed_scenarios.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/test_plans_quota.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/test_quota_direct.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/test_rbac_cache.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/loadtests/utils.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/pyrightconfig.json +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/admin/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/admin/views.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/cache/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/cache/auth_cache.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/dependencies.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/domain/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/domain/entities.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/domain/exceptions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/dto/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/dto/requests.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/dto/responses.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/handlers/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/handlers/oauth_routes.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/models/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/models/refresh_token.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/models/user_provider.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/repositories/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/repositories/token_repo.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/repositories/user_repo.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/services/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/services/auth_service.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/services/oauth_service.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/uow.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/cli.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/exception_handlers.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/migrations.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/cache/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/cache/exceptions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/cache/plan_cache.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/cache/serializers.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/cache/user_plan_cache.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/dependencies.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/domain/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/domain/entities.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/domain/exceptions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/dto/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/dto/responses.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/dto/usage.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/handlers/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/handlers/plan_routes.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/models/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/models/feature.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/models/feature_usage.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/models/plan.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/models/plan_limit.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/models/plan_permission.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/models/user_plan.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/repositories/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/repositories/plan_repo.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/repositories/usage_repo.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/services/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/services/plan_service.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/plans/uow.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/py.typed +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/cache/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/cache/permission_cache.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/dependencies.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/domain/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/domain/entities.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/domain/exceptions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/models/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/models/permission.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/models/role.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/models/role_permission.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/repositories/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/repositories/rbac_repo.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/services/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/services/rbac_service.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/rbac/uow.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/registry.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/README.md +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/audit.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/circuit_breaker.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/cleanup_scheduler.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/constants.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/database.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/error_formatter.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/exception_handlers.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/exceptions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/graceful_shutdown.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/health.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/http_utils.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/lockout.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/logging.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/metrics.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/models.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/protocols.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/rate_limiter.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/registry.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/repository.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/request_id.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/schemas.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/state_store.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/uow.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/uuid7.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/test_app.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/admin/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_audit_regressions_2026_06.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_auth_cache.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_auth_cache_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_auth_service.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_circuit_breaker.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_csrf_state.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_dependencies.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_domain_entities.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_http_utils.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_lockout.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_lockout_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_oauth_semaphore_timeout.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_oauth_service_resilience.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_redis_auth_cache_lua.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_review_regressions_2026_05.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_security_comprehensive.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/auth/test_token_security.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/conftest.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/extension/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/extension/conftest.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/extension/test_model_extension.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/conftest.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_admin_permissions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_concurrent_limit_merge.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_concurrent_plan_operations.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_concurrent_service_races.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_concurrent_token_operations.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_concurrent_user_creation.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_concurrent_user_deactivation.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_e2e_endpoints.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_limit_boundaries.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_plan_cache_race.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_quota_concurrency.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_token_cleanup.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_token_repository.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_usage_periods.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/integration/test_user_repository.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_circuit_breaker_behavior.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_dependencies.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_domain_entities.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_period_edge_cases.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_plan_cache_bounded_invalidation.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_plan_cache_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_plan_cache_interleave.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_plan_service.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_plan_service_cache_ordering.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_plan_service_stampede.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_quota_idempotency_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_redis_plan_cache_set_all.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_review_regression_2026_05.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_review_regression_2026_05_06.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/plans/test_user_plan_cache_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/__init__.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/test_permission_cache.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/test_permission_cache_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/test_rbac_cache_stampede.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/test_rbac_service.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/test_rbac_service_stampede_real.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/test_review_2026_05_06_regressions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/rbac/test_review_regressions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_audit_pii_masking.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_circuit_breaker_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_cleanup_scheduler_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_config_validation.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_constants.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_exception_handlers.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_http_utils_security.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_rate_limiter.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_rate_limiter_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_review_regressions.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_state_store_concurrent.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_state_store_resilience.py +0 -0
- {identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/tests/shared/test_uow.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: identity-plan-kit
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: Modern FastAPI library for authentication, RBAC, subscription plans, and usage tracking
|
|
5
5
|
Author-email: harut <harut.avetisyan2002@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -20,12 +20,11 @@ Requires-Python: >=3.11
|
|
|
20
20
|
Requires-Dist: alembic>=1.14.0
|
|
21
21
|
Requires-Dist: asyncpg>=0.30.0
|
|
22
22
|
Requires-Dist: authlib>=1.9.10
|
|
23
|
-
Requires-Dist: bcrypt
|
|
23
|
+
Requires-Dist: bcrypt>=5.0.0
|
|
24
24
|
Requires-Dist: fastapi>=0.115.0
|
|
25
25
|
Requires-Dist: httpx2>=2.16.2
|
|
26
26
|
Requires-Dist: itsdangerous>=2.2.0
|
|
27
27
|
Requires-Dist: orjson>=3.10.0
|
|
28
|
-
Requires-Dist: passlib[bcrypt]>=1.7.4
|
|
29
28
|
Requires-Dist: psycopg2-binary<3.0,>=2.9
|
|
30
29
|
Requires-Dist: pydantic-settings>=2.0.0
|
|
31
30
|
Requires-Dist: pydantic[email]>=2.0.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "identity-plan-kit"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.4.0"
|
|
4
4
|
description = "Modern FastAPI library for authentication, RBAC, subscription plans, and usage tracking"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -32,8 +32,7 @@ dependencies = [
|
|
|
32
32
|
"alembic>=1.14.0",
|
|
33
33
|
"httpx2>=2.16.2",
|
|
34
34
|
"authlib>=1.9.10",
|
|
35
|
-
"
|
|
36
|
-
"bcrypt>=4.0.0,<5.0.0", # Pin bcrypt <5 for passlib compatibility
|
|
35
|
+
"bcrypt>=5.0.0",
|
|
37
36
|
"uuid-utils>=0.10.0",
|
|
38
37
|
"structlog>=24.0.0",
|
|
39
38
|
"orjson>=3.10.0",
|
|
@@ -88,6 +87,10 @@ build-backend = "hatchling.build"
|
|
|
88
87
|
[tool.hatch.build.targets.wheel]
|
|
89
88
|
packages = ["src/identity_plan_kit"]
|
|
90
89
|
|
|
90
|
+
# Internal files stay out of the public sdist (security audit, agent configs).
|
|
91
|
+
[tool.hatch.build.targets.sdist]
|
|
92
|
+
exclude = [".claude", ".serena", ".mcp.json", "AUDIT_REPORT.md"]
|
|
93
|
+
|
|
91
94
|
# Ship alembic migrations and config INSIDE the installed package, not at
|
|
92
95
|
# site-packages root. The previous mapping ("alembic" -> "alembic") collided
|
|
93
96
|
# with the Alembic library directory and made `ipk db upgrade` unable to
|
|
@@ -158,7 +161,7 @@ testpaths = ["tests"]
|
|
|
158
161
|
addopts = "-v --tb=short"
|
|
159
162
|
|
|
160
163
|
[tool.bumpversion]
|
|
161
|
-
current_version = "1.
|
|
164
|
+
current_version = "1.4.0"
|
|
162
165
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
163
166
|
serialize = ["{major}.{minor}.{patch}"]
|
|
164
167
|
tag = true
|
|
@@ -286,7 +286,7 @@ class AdminAuthBackend(AuthenticationBackend):
|
|
|
286
286
|
)
|
|
287
287
|
return False
|
|
288
288
|
|
|
289
|
-
# Verify password using shared security utilities (bcrypt
|
|
289
|
+
# Verify password using shared security utilities (bcrypt)
|
|
290
290
|
return verify_password(password, user.password_hash)
|
|
291
291
|
|
|
292
292
|
except Exception as e:
|
{identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/auth/models/user.py
RENAMED
|
@@ -39,7 +39,7 @@ class UserModel(BaseModel):
|
|
|
39
39
|
)
|
|
40
40
|
# Password hash for optional password authentication (e.g., admin users).
|
|
41
41
|
# Nullable because OAuth-only users don't have passwords.
|
|
42
|
-
# Uses bcrypt
|
|
42
|
+
# Uses bcrypt - hash is ~60 chars but we use 255 for safety.
|
|
43
43
|
password_hash: Mapped[str | None] = mapped_column(
|
|
44
44
|
String(255),
|
|
45
45
|
nullable=True,
|
|
@@ -167,6 +167,11 @@ class IdentityPlanKitConfig(BaseSettings):
|
|
|
167
167
|
description="Log level override. If not set, defaults to DEBUG in development "
|
|
168
168
|
"and INFO in other environments.",
|
|
169
169
|
)
|
|
170
|
+
configure_logging: bool = Field(
|
|
171
|
+
default=True,
|
|
172
|
+
description="Configure structlog and stdlib logging globally on init. Set False "
|
|
173
|
+
"when the host app configures logging itself, so the kit does not replace it.",
|
|
174
|
+
)
|
|
170
175
|
|
|
171
176
|
# Database
|
|
172
177
|
database_url: str = Field(
|
|
@@ -196,12 +196,14 @@ class IdentityPlanKit:
|
|
|
196
196
|
self._plans_router: APIRouter | None = None
|
|
197
197
|
self._health_checker: HealthChecker | None = None
|
|
198
198
|
|
|
199
|
-
# Configure logging based on environment (config.log_level overrides default)
|
|
200
|
-
|
|
201
|
-
configure_logging
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
# Configure logging based on environment (config.log_level overrides default),
|
|
200
|
+
# unless the host app owns logging (configure_logging=False).
|
|
201
|
+
if config.configure_logging:
|
|
202
|
+
log_level = config.log_level or ("DEBUG" if config.is_development else "INFO")
|
|
203
|
+
configure_logging(
|
|
204
|
+
environment=config.environment,
|
|
205
|
+
log_level=log_level,
|
|
206
|
+
)
|
|
205
207
|
|
|
206
208
|
# CONSTRUCT-at-init, CONNECT-at-startup:
|
|
207
209
|
# Everything consumed at setup() time (router build, middleware/route
|
{identity_plan_kit-1.2.0 → identity_plan_kit-1.4.0}/src/identity_plan_kit/shared/security.py
RENAMED
|
@@ -7,18 +7,20 @@ from datetime import UTC, datetime, timedelta
|
|
|
7
7
|
from functools import lru_cache
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
|
+
import bcrypt
|
|
10
11
|
import jwt
|
|
11
12
|
from cryptography.fernet import Fernet, InvalidToken
|
|
12
13
|
from cryptography.hazmat.primitives import hashes
|
|
13
14
|
from cryptography.hazmat.primitives.kdf.hkdf import HKDF
|
|
14
|
-
from passlib.context import CryptContext
|
|
15
15
|
|
|
16
16
|
from identity_plan_kit.shared.logging import get_logger
|
|
17
17
|
|
|
18
18
|
logger = get_logger(__name__)
|
|
19
19
|
|
|
20
|
-
#
|
|
21
|
-
|
|
20
|
+
# bcrypt reads only the first 72 bytes of a password. passlib (used before 1.3.0)
|
|
21
|
+
# truncated silently; bcrypt>=5 raises instead. Truncating here keeps hashes stored
|
|
22
|
+
# by earlier releases verifiable.
|
|
23
|
+
_BCRYPT_MAX_PASSWORD_BYTES = 72
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
# Minimum secret key length for security
|
|
@@ -232,7 +234,7 @@ def hash_password(password: str) -> str:
|
|
|
232
234
|
Returns:
|
|
233
235
|
Hashed password string
|
|
234
236
|
"""
|
|
235
|
-
return
|
|
237
|
+
return bcrypt.hashpw(_bcrypt_input(password), bcrypt.gensalt()).decode("ascii")
|
|
236
238
|
|
|
237
239
|
|
|
238
240
|
def verify_password(plain_password: str, hashed_password: str) -> bool:
|
|
@@ -246,7 +248,11 @@ def verify_password(plain_password: str, hashed_password: str) -> bool:
|
|
|
246
248
|
Returns:
|
|
247
249
|
True if password matches
|
|
248
250
|
"""
|
|
249
|
-
return
|
|
251
|
+
return bcrypt.checkpw(_bcrypt_input(plain_password), hashed_password.encode("utf-8"))
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
def _bcrypt_input(password: str) -> bytes:
|
|
255
|
+
return password.encode("utf-8")[:_BCRYPT_MAX_PASSWORD_BYTES]
|
|
250
256
|
|
|
251
257
|
|
|
252
258
|
# =============================================================================
|
|
@@ -72,7 +72,8 @@ class TestRedisStaleWritePrevention:
|
|
|
72
72
|
async def test_stale_write_rejected_after_key_invalidation(self, redis_cache, sample_plan):
|
|
73
73
|
"""Test that stale writes are rejected after key-specific invalidation."""
|
|
74
74
|
# Get timestamp before invalidation
|
|
75
|
-
|
|
75
|
+
# Strictly earlier: back-to-back time.time() calls can return the same value.
|
|
76
|
+
old_ts = time.time() - 1.0
|
|
76
77
|
|
|
77
78
|
# Invalidate the plan
|
|
78
79
|
await redis_cache.invalidate("test")
|
|
@@ -112,7 +113,8 @@ class TestRedisStaleWritePrevention:
|
|
|
112
113
|
async def test_stale_write_rejected_after_global_invalidation(self, redis_cache, sample_plan):
|
|
113
114
|
"""Test that stale writes are rejected after invalidate_all()."""
|
|
114
115
|
# Get timestamp before global invalidation
|
|
115
|
-
|
|
116
|
+
# Strictly earlier: back-to-back time.time() calls can return the same value.
|
|
117
|
+
old_ts = time.time() - 1.0
|
|
116
118
|
|
|
117
119
|
# Global invalidation
|
|
118
120
|
await redis_cache.invalidate_all()
|
|
@@ -152,7 +154,8 @@ class TestRedisStaleWritePrevention:
|
|
|
152
154
|
async def test_key_specific_vs_global_invalidation_precedence(self, redis_cache, sample_plan):
|
|
153
155
|
"""Test that both key-specific and global invalidation are checked."""
|
|
154
156
|
# Get old timestamp
|
|
155
|
-
|
|
157
|
+
# Strictly earlier: back-to-back time.time() calls can return the same value.
|
|
158
|
+
old_ts = time.time() - 1.0
|
|
156
159
|
|
|
157
160
|
# Key-specific invalidation
|
|
158
161
|
await redis_cache.invalidate("test")
|
|
@@ -301,3 +301,20 @@ class TestSeedRequiredDefaults:
|
|
|
301
301
|
|
|
302
302
|
if __name__ == "__main__":
|
|
303
303
|
pytest.main([__file__, "-v"])
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
# =============================================================================
|
|
307
|
+
# Logging ownership — a host app that configures logging keeps its setup
|
|
308
|
+
# =============================================================================
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
def test_kit_configures_logging_by_default() -> None:
|
|
312
|
+
with patch("identity_plan_kit.kit.configure_logging") as configure:
|
|
313
|
+
_make_kit()
|
|
314
|
+
configure.assert_called_once()
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
def test_kit_leaves_logging_alone_when_host_owns_it() -> None:
|
|
318
|
+
with patch("identity_plan_kit.kit.configure_logging") as configure:
|
|
319
|
+
_make_kit(configure_logging=False)
|
|
320
|
+
configure.assert_not_called()
|
|
@@ -123,56 +123,53 @@ wheels = [
|
|
|
123
123
|
|
|
124
124
|
[[package]]
|
|
125
125
|
name = "bcrypt"
|
|
126
|
-
version = "
|
|
127
|
-
source = { registry = "https://pypi.org/simple" }
|
|
128
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
129
|
-
wheels = [
|
|
130
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
131
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
132
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
133
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
134
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
135
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
136
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
137
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
138
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
139
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
140
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
141
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
142
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
143
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
144
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
145
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
146
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
147
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
148
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
149
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
150
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
151
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
152
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
153
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
154
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
155
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
156
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
157
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
158
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
159
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
160
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
161
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
162
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
163
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
164
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
165
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
166
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
167
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
168
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
169
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
170
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
171
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
172
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
173
|
-
{ url = "https://files.pythonhosted.org/packages/94/41/19be9fe17e4ffc5d10b7b67f10e459fc4eee6ffe9056a88de511920cfd8d/bcrypt-4.3.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:bdc6a24e754a555d7316fa4774e64c6c3997d27ed2d1964d55920c7c227bc4ce", size = 280513, upload-time = "2025-02-28T01:24:02.243Z" },
|
|
174
|
-
{ url = "https://files.pythonhosted.org/packages/aa/73/05687a9ef89edebdd8ad7474c16d8af685eb4591c3c38300bb6aad4f0076/bcrypt-4.3.0-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:55a935b8e9a1d2def0626c4269db3fcd26728cbff1e84f0341465c31c4ee56d8", size = 274685, upload-time = "2025-02-28T01:24:04.512Z" },
|
|
175
|
-
{ url = "https://files.pythonhosted.org/packages/63/13/47bba97924ebe86a62ef83dc75b7c8a881d53c535f83e2c54c4bd701e05c/bcrypt-4.3.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:57967b7a28d855313a963aaea51bf6df89f833db4320da458e5b3c5ab6d4c938", size = 280110, upload-time = "2025-02-28T01:24:05.896Z" },
|
|
126
|
+
version = "5.1.0"
|
|
127
|
+
source = { registry = "https://pypi.org/simple" }
|
|
128
|
+
sdist = { url = "https://files.pythonhosted.org/packages/56/71/ec2b7986aa3de83aa66d64a7e7d151efef639fba5d731b6cb2001d141b3b/bcrypt-5.1.0.tar.gz", hash = "sha256:2af663381d5f8846b05b05b375ec6f86f6d483990f4b902e95cf287ed86a8e77", size = 23787, upload-time = "2026-12-01T23:06:15.407Z" }
|
|
129
|
+
wheels = [
|
|
130
|
+
{ url = "https://files.pythonhosted.org/packages/d2/bd/f790e232c7370c0c96976a64c76bd0700b79d6207b1217f863f8963d8075/bcrypt-5.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1257143a8f62de7662780e24ff4a982f21ac7eda32e55c534d18ceecb5054a7d", size = 223970, upload-time = "2026-12-01T23:05:09.859Z" },
|
|
131
|
+
{ url = "https://files.pythonhosted.org/packages/1c/3d/652a45fcc2e178c3bf3d0e7a1da00ea254919921e721c18195fc59a6c3ca/bcrypt-5.1.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b33999b312607c3f6a2c3bc0433627ee2cc344963ae7cebc44b498a635179c27", size = 256649, upload-time = "2026-12-01T23:05:11.629Z" },
|
|
132
|
+
{ url = "https://files.pythonhosted.org/packages/53/69/5fb24f6f02d2266e459df62b46bab0ba471671875480e51287da4043d118/bcrypt-5.1.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:47ce523a558766795d047deae0f217264620bd2a2ea267fad4253821dbfaf698", size = 257981, upload-time = "2026-12-01T23:05:13.039Z" },
|
|
133
|
+
{ url = "https://files.pythonhosted.org/packages/0b/58/5af01678c66f70edc4715d4cd0bfb8ef178438c70c3e4c7faf5dfcb04d3e/bcrypt-5.1.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:088f061aa74280dae264c12aa4cc15fce2fd68cc5ffc140bc236cfbfbaf77951", size = 257675, upload-time = "2026-12-01T23:05:14.405Z" },
|
|
134
|
+
{ url = "https://files.pythonhosted.org/packages/f6/17/a662a651e25d5a19ba9c9b6581acf2bfde36423a8b6188a2cf7041d05b58/bcrypt-5.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:236b3d3bfd6dba1ad0caacca18742db57b855a6c56c791c28ffe72f412b4fa2a", size = 258221, upload-time = "2026-12-01T23:05:16.095Z" },
|
|
135
|
+
{ url = "https://files.pythonhosted.org/packages/00/f0/a5914d6b91ca7ae370aaa8e385e7c1053999800130a7c80ec739494b20c0/bcrypt-5.1.0-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:a8f74ea738f1a972397f3a073f8036f5ea8b1dc10f60feb1b9798576256bf7ae", size = 277105, upload-time = "2026-12-01T23:05:17.624Z" },
|
|
136
|
+
{ url = "https://files.pythonhosted.org/packages/d4/ee/b3bc8a086c5fcf24c6ad8c9d14876eff5ef082ad77afd1838951b6af728f/bcrypt-5.1.0-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:683440259772001f822fb7fe43c9f22a4ef40f044a018923dcd40b36a782f3af", size = 257448, upload-time = "2026-12-01T23:05:19.27Z" },
|
|
137
|
+
{ url = "https://files.pythonhosted.org/packages/70/e0/4ae1ba44209f3f262b38ba5f85a32037908163f355539345679e0e049c7f/bcrypt-5.1.0-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:ce574cba34282a0df81c6310dcbf9cc6fe161f8b5620f6166590b15471bda4e4", size = 257855, upload-time = "2026-12-01T23:05:20.654Z" },
|
|
138
|
+
{ url = "https://files.pythonhosted.org/packages/32/8a/64fcdba41fb831638eb3acd5239498132d29f1b855f3b431842b0ff562be/bcrypt-5.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:f01707635525780669cd74d9e2dd0e0cd1c31c35bcf0bd6792852aad0da86ae2", size = 324400, upload-time = "2026-12-01T23:05:22.105Z" },
|
|
139
|
+
{ url = "https://files.pythonhosted.org/packages/40/cb/fcd4b111cbfadb1b85752b458faa62a31a66284b959afc93dfe5d5990da4/bcrypt-5.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:fc53cd712d3146ad91d9977e279fc9c953f728b7945416e33f76df8a94d54910", size = 338983, upload-time = "2026-12-01T23:05:23.542Z" },
|
|
140
|
+
{ url = "https://files.pythonhosted.org/packages/09/2b/38c93fe461367963573cf4d2386a164dcf5f2458cfc82b1518a423e5f797/bcrypt-5.1.0-cp314-cp314t-win32.whl", hash = "sha256:6af0425b0053453aa8adce6de4ececdb4f7fd42bbc0952c31ffed4267667f364", size = 146569, upload-time = "2026-12-01T23:05:25.032Z" },
|
|
141
|
+
{ url = "https://files.pythonhosted.org/packages/54/3d/08a4755842f728aec0ef8b80fda362a544edda38017de8dafe05bb3ca421/bcrypt-5.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:05bc6d3286cead22e7d7dbeecf92b9ba083d491fb11da7ea65a3bab7ce6f76fa", size = 144469, upload-time = "2026-12-01T23:05:26.569Z" },
|
|
142
|
+
{ url = "https://files.pythonhosted.org/packages/14/f8/1cbe0d898ac1f66d04e93a35c8006cd1ea93295fd7cbf4381735bef6e7c8/bcrypt-5.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:f304b0d2fb3aa7db7ca10c8703197668e3686c51ddfd6df3a5bbe2072c3cebe4", size = 141589, upload-time = "2026-12-01T23:05:28.099Z" },
|
|
143
|
+
{ url = "https://files.pythonhosted.org/packages/cb/81/d6131dfc75815e5258f363197ddd4124d71434893854ed1f2e9b5062745b/bcrypt-5.1.0-cp315-abi3.abi3t-macosx_11_0_arm64.whl", hash = "sha256:4f6ab4e0925b89f90e17a23ac0db458b878672b571de6f174a6071421a6907e5", size = 223613, upload-time = "2026-12-01T23:05:29.774Z" },
|
|
144
|
+
{ url = "https://files.pythonhosted.org/packages/d2/b6/97c9a279ceeb0b3dc03b3031494039d1d2daf0a75a5fdb4dab6c4b1b8024/bcrypt-5.1.0-cp315-abi3.abi3t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b19ba89098191de247dba905857c4cf7f1cbac85fe830aeb47d910b49d44a1a6", size = 256633, upload-time = "2026-12-01T23:05:31.806Z" },
|
|
145
|
+
{ url = "https://files.pythonhosted.org/packages/6e/4f/f22ce84ea4696806b0a1958aa820e4f2c7e6d74c01d90937791d8025305c/bcrypt-5.1.0-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3a6ec9d0f7252345a9eb48b6b635708171b26f20791d7ee7dc3ee958d3a3d3b0", size = 257734, upload-time = "2026-12-01T23:05:33.37Z" },
|
|
146
|
+
{ url = "https://files.pythonhosted.org/packages/66/22/255417bfb79f34920a5e7394336a9fbe266777dbbcbcfca2fb1a57322a12/bcrypt-5.1.0-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl", hash = "sha256:540cfbf562d7adfc01e4902994c253903d833bdad492e6e09994994f653019ed", size = 257494, upload-time = "2026-12-01T23:05:34.802Z" },
|
|
147
|
+
{ url = "https://files.pythonhosted.org/packages/50/38/87e9afe35d87f82888430a5fc4359cd66c9910df86c7f8267a80aadd3f16/bcrypt-5.1.0-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl", hash = "sha256:2cbd0443b01716ec6e4843a189cfad35de62d1085d199d34cc3b0edbe07a1fbb", size = 258001, upload-time = "2026-12-01T23:05:36.237Z" },
|
|
148
|
+
{ url = "https://files.pythonhosted.org/packages/b6/89/8e6a5bcb8b259f4e479a728e40f76aea88f4e8de54b21b51b191c9d15579/bcrypt-5.1.0-cp315-abi3.abi3t-manylinux_2_31_armv7l.whl", hash = "sha256:e81d3d5bf4609b108c6a47b4d0b673e009a3cb3d3262e2db3cf659ac26ed0fc5", size = 276367, upload-time = "2026-12-01T23:05:37.79Z" },
|
|
149
|
+
{ url = "https://files.pythonhosted.org/packages/4a/b4/13f4195e12c26f4f8c70740ea66a960bbba5dde4b58df7949d20471c59c9/bcrypt-5.1.0-cp315-abi3.abi3t-manylinux_2_34_aarch64.whl", hash = "sha256:fb7b3401321344a9516bca01054cb21c053df695ddd1dfe966e77368cf758242", size = 257255, upload-time = "2026-12-01T23:05:39.113Z" },
|
|
150
|
+
{ url = "https://files.pythonhosted.org/packages/3e/7f/a2007f1e96e785eaf9b6ab170f70c61fd79991300e7567f19b8ad4e306f9/bcrypt-5.1.0-cp315-abi3.abi3t-manylinux_2_34_x86_64.whl", hash = "sha256:fccf7eba8e03af36a77895b9e321aaadac745b5b265fd1a6c571ab1c584819fe", size = 257652, upload-time = "2026-12-01T23:05:40.675Z" },
|
|
151
|
+
{ url = "https://files.pythonhosted.org/packages/3f/3a/219e16ce02b09fa0d4369e56fc8813a0f2940e6ec8cda7b3efce19b96cc1/bcrypt-5.1.0-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl", hash = "sha256:94d3ea7f564708a9f8fe462efd4066c8373a111ee341f1a7ee292f37c7856fce", size = 324335, upload-time = "2026-12-01T23:05:42.503Z" },
|
|
152
|
+
{ url = "https://files.pythonhosted.org/packages/d1/f2/234bd99e5a5ba6f39cf71d6a39b13c4deaf9f338e2df3f0a4de24c4fc189/bcrypt-5.1.0-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl", hash = "sha256:d497c73675042f02e5efe964001a333f4a914a4dd5aede5917920d3bbfb9bfd9", size = 338868, upload-time = "2026-12-01T23:05:45.091Z" },
|
|
153
|
+
{ url = "https://files.pythonhosted.org/packages/22/2b/2c7a9e6f6ba96e37c7d65252865cdcfb48adfa4d5a6135d798ead2364547/bcrypt-5.1.0-cp315-abi3.abi3t-win32.whl", hash = "sha256:ffa870f2f875386728501e8d3d3202c47bc99b8e6ce40f37adcb0e480db1cd37", size = 146348, upload-time = "2026-12-01T23:05:46.498Z" },
|
|
154
|
+
{ url = "https://files.pythonhosted.org/packages/1b/0f/1020a07d4a56c4f420430e74b5f69c335304c381bf13406aef305a783c26/bcrypt-5.1.0-cp315-abi3.abi3t-win_amd64.whl", hash = "sha256:4342a19d6587c247ebb5a7f51d10aa55c0c629b8d7eb73cf818feb217c96d0ac", size = 144049, upload-time = "2026-12-01T23:05:47.759Z" },
|
|
155
|
+
{ url = "https://files.pythonhosted.org/packages/11/a0/b5b653ee2aa4feb819e2c85f5e6644e63b63d07b6d45219b8036332098d5/bcrypt-5.1.0-cp315-abi3.abi3t-win_arm64.whl", hash = "sha256:9bc45445e51acaf2805a2c71cc0ed49197f81ad7198a2313b41d097e0740613d", size = 141521, upload-time = "2026-12-01T23:05:49.247Z" },
|
|
156
|
+
{ url = "https://files.pythonhosted.org/packages/15/b6/6936634945d9066fec2f1f1a2805899c8dd5f61181bc3502fcc4b1c019c9/bcrypt-5.1.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:124a9bdaad305f845432112ed085e97ade92e37903b3e6e2ed5588290034eec9", size = 232406, upload-time = "2026-12-01T23:05:50.647Z" },
|
|
157
|
+
{ url = "https://files.pythonhosted.org/packages/40/d4/f64915c6933f8501e990e443153e834d39018882febbd071c8b30e65642b/bcrypt-5.1.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:43958e9c22d2a89d100aa9c9554e78976cea1e80fe6f08a6d14553523242e6d0", size = 264475, upload-time = "2026-12-01T23:05:52.105Z" },
|
|
158
|
+
{ url = "https://files.pythonhosted.org/packages/41/97/49dbf467831c9a82c3ec7d49858922fb923e33b95300b8e1735919cc08cd/bcrypt-5.1.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ca3a9bbafb9481e6366c4e02f4614dfc9e2fc8fd05182c8f1c18fa0b7b54794a", size = 265384, upload-time = "2026-12-01T23:05:53.523Z" },
|
|
159
|
+
{ url = "https://files.pythonhosted.org/packages/9d/80/413e1b90b07e269f32b1dd7831becf9d954eac8f147b63a08b2b6aff3172/bcrypt-5.1.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:6458880e768f574e4f19b54d45b748a2057060ec6133b2c766e01a1c0593a23c", size = 265442, upload-time = "2026-12-01T23:05:55.122Z" },
|
|
160
|
+
{ url = "https://files.pythonhosted.org/packages/2f/60/10ed756c1f341eef87fb886cca206cf7e24ff800294aff79833ac87bebc9/bcrypt-5.1.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:516dda021fffcead050780c5cd1c80093b3ec8450f778bf897226238db444e97", size = 265607, upload-time = "2026-12-01T23:05:56.617Z" },
|
|
161
|
+
{ url = "https://files.pythonhosted.org/packages/21/4d/b318f0cf3dd8475886405b902ded797f2a00e5c5c8fa970fe160cf27d4b1/bcrypt-5.1.0-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:94536a823dcbd2656ff9f3b8453d4f393ac49e2634a4dade2c3e95e7bfc8cb79", size = 282573, upload-time = "2026-12-01T23:05:58.042Z" },
|
|
162
|
+
{ url = "https://files.pythonhosted.org/packages/e9/cb/96db0d3551471fcf132980b3e7fc5f78b7c6f404b143db37e7309fe1169c/bcrypt-5.1.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:14a693a7c6923afb74ace3a41e248bc4df472e89bd84008cd5e8f97f2bfd0138", size = 265200, upload-time = "2026-12-01T23:05:59.363Z" },
|
|
163
|
+
{ url = "https://files.pythonhosted.org/packages/3b/ea/63cd38fe774eb32fdbcce1891e78881d9aa76c559f1e14b3fb7cc4009aac/bcrypt-5.1.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:af2ca94022c194383f2ce348b865b263d9da264e410333126cb3967698f2b638", size = 265347, upload-time = "2026-12-01T23:06:00.808Z" },
|
|
164
|
+
{ url = "https://files.pythonhosted.org/packages/28/f9/82fbae8b7d9685a25b6eef86c16a4da20cd750af0be407313c47efdaf41f/bcrypt-5.1.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:dad6c598951f44e0810aea4e858e220271dd86eed85f1835a39c6ed7214daa37", size = 332035, upload-time = "2026-12-01T23:06:02.258Z" },
|
|
165
|
+
{ url = "https://files.pythonhosted.org/packages/a8/a7/78c5a8e3d7239782dd8d6dc74709589b5d4b969fede898c10f326853b771/bcrypt-5.1.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e19a36196219cd287af428f8ad7491314c52fae576587a67a990d9127751bfbd", size = 346668, upload-time = "2026-12-01T23:06:03.878Z" },
|
|
166
|
+
{ url = "https://files.pythonhosted.org/packages/46/e2/781b3bf8016aa4727464929435c216dffe2c0c57f3a5c2a80c44664a8df1/bcrypt-5.1.0-cp39-abi3-win32.whl", hash = "sha256:d7501b1b5b95860bd457a7ece3d6fc2b4350d14d62f12ff5f93d12dc9dafca86", size = 147959, upload-time = "2026-12-01T23:06:05.284Z" },
|
|
167
|
+
{ url = "https://files.pythonhosted.org/packages/81/51/1bdc534261dcf82057a9918077542e1ada017df96edaa68ae265f57092a6/bcrypt-5.1.0-cp39-abi3-win_amd64.whl", hash = "sha256:d9e79c79748f58817e1b74dcf9b6d838b6079e4b6a5065bb8a2dd8dcc4e62629", size = 146364, upload-time = "2026-12-01T23:06:07.006Z" },
|
|
168
|
+
{ url = "https://files.pythonhosted.org/packages/30/95/1a33824208dd0d26b8bb885caac285dcbcc5a09490634118e54c0e8bc012/bcrypt-5.1.0-cp39-abi3-win_arm64.whl", hash = "sha256:2c192e4c1e740bd145e2bdec244ea1dfba243405c361abcfd7eaf15b2442f226", size = 147254, upload-time = "2026-12-01T23:06:08.225Z" },
|
|
169
|
+
{ url = "https://files.pythonhosted.org/packages/70/1a/bfcd4cb1cac27448dca0af43a1299f84c31c3c9ea9ce0207a57834e3bb1e/bcrypt-5.1.0-pp312-pypy312_pp80-manylinux_2_28_aarch64.whl", hash = "sha256:352350dfe9ac4923f45fadc50c5fe5563e000b3206bca722b7351fc97aaf472f", size = 259662, upload-time = "2026-12-01T23:06:09.613Z" },
|
|
170
|
+
{ url = "https://files.pythonhosted.org/packages/ed/ca/9dba44fd8462854d00d9ec313bacd0440f951aec70ce2ecadef5462ad8fb/bcrypt-5.1.0-pp312-pypy312_pp80-manylinux_2_28_x86_64.whl", hash = "sha256:9cedd8db85d3d03ff0445798da4d29d31af67eb8ec993c378d43dcae994aff11", size = 260179, upload-time = "2026-12-01T23:06:10.984Z" },
|
|
171
|
+
{ url = "https://files.pythonhosted.org/packages/6a/53/98183fbcbd26d88389f4ed703e995220bce80621dfc0b0287433de158c9b/bcrypt-5.1.0-pp312-pypy312_pp80-manylinux_2_34_aarch64.whl", hash = "sha256:081f9caee97adbb235767434b2cb810538c15787eb787cca2b359e886f033491", size = 259359, upload-time = "2026-12-01T23:06:12.412Z" },
|
|
172
|
+
{ url = "https://files.pythonhosted.org/packages/5d/21/dbd2401d3e53c43b77f1867dccfc1cc7185a9e853042149add4fb4988134/bcrypt-5.1.0-pp312-pypy312_pp80-manylinux_2_34_x86_64.whl", hash = "sha256:b9c6d814b1996a97af85871c844cc09d9ad6263d4cb0dc0236689a0a5a8a981c", size = 259898, upload-time = "2026-12-01T23:06:13.86Z" },
|
|
176
173
|
]
|
|
177
174
|
|
|
178
175
|
[[package]]
|
|
@@ -1077,7 +1074,7 @@ wheels = [
|
|
|
1077
1074
|
|
|
1078
1075
|
[[package]]
|
|
1079
1076
|
name = "identity-plan-kit"
|
|
1080
|
-
version = "1.
|
|
1077
|
+
version = "1.4.0"
|
|
1081
1078
|
source = { editable = "." }
|
|
1082
1079
|
dependencies = [
|
|
1083
1080
|
{ name = "alembic" },
|
|
@@ -1088,7 +1085,6 @@ dependencies = [
|
|
|
1088
1085
|
{ name = "httpx2" },
|
|
1089
1086
|
{ name = "itsdangerous" },
|
|
1090
1087
|
{ name = "orjson" },
|
|
1091
|
-
{ name = "passlib", extra = ["bcrypt"] },
|
|
1092
1088
|
{ name = "psycopg2-binary" },
|
|
1093
1089
|
{ name = "pydantic", extra = ["email"] },
|
|
1094
1090
|
{ name = "pydantic-settings" },
|
|
@@ -1139,7 +1135,7 @@ requires-dist = [
|
|
|
1139
1135
|
{ name = "alembic", specifier = ">=1.14.0" },
|
|
1140
1136
|
{ name = "asyncpg", specifier = ">=0.30.0" },
|
|
1141
1137
|
{ name = "authlib", specifier = ">=1.9.10" },
|
|
1142
|
-
{ name = "bcrypt", specifier = ">=
|
|
1138
|
+
{ name = "bcrypt", specifier = ">=5.0.0" },
|
|
1143
1139
|
{ name = "bump-my-version", marker = "extra == 'dev'", specifier = ">=0.26.0" },
|
|
1144
1140
|
{ name = "faker", marker = "extra == 'loadtest'", specifier = ">=28.0.0" },
|
|
1145
1141
|
{ name = "fastapi", specifier = ">=0.115.0" },
|
|
@@ -1148,7 +1144,6 @@ requires-dist = [
|
|
|
1148
1144
|
{ name = "itsdangerous", specifier = ">=2.2.0" },
|
|
1149
1145
|
{ name = "locust", marker = "extra == 'loadtest'", specifier = ">=2.29.0" },
|
|
1150
1146
|
{ name = "orjson", specifier = ">=3.10.0" },
|
|
1151
|
-
{ name = "passlib", extras = ["bcrypt"], specifier = ">=1.7.4" },
|
|
1152
1147
|
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=4.0.0" },
|
|
1153
1148
|
{ name = "prometheus-client", marker = "extra == 'metrics'", specifier = ">=0.20.0" },
|
|
1154
1149
|
{ name = "psycopg2", marker = "extra == 'production'", specifier = ">=2.9,<3.0" },
|
|
@@ -1513,20 +1508,6 @@ wheels = [
|
|
|
1513
1508
|
{ url = "https://files.pythonhosted.org/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529", size = 74366, upload-time = "2026-01-21T20:50:37.788Z" },
|
|
1514
1509
|
]
|
|
1515
1510
|
|
|
1516
|
-
[[package]]
|
|
1517
|
-
name = "passlib"
|
|
1518
|
-
version = "1.7.4"
|
|
1519
|
-
source = { registry = "https://pypi.org/simple" }
|
|
1520
|
-
sdist = { url = "https://files.pythonhosted.org/packages/b6/06/9da9ee59a67fae7761aab3ccc84fa4f3f33f125b370f1ccdb915bf967c11/passlib-1.7.4.tar.gz", hash = "sha256:defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04", size = 689844, upload-time = "2020-10-08T19:00:52.121Z" }
|
|
1521
|
-
wheels = [
|
|
1522
|
-
{ url = "https://files.pythonhosted.org/packages/3b/a4/ab6b7589382ca3df236e03faa71deac88cae040af60c071a78d254a62172/passlib-1.7.4-py2.py3-none-any.whl", hash = "sha256:aa6bca462b8d8bda89c70b382f0c298a20b5560af6cbfa2dce410c0a2fb669f1", size = 525554, upload-time = "2020-10-08T19:00:49.856Z" },
|
|
1523
|
-
]
|
|
1524
|
-
|
|
1525
|
-
[package.optional-dependencies]
|
|
1526
|
-
bcrypt = [
|
|
1527
|
-
{ name = "bcrypt" },
|
|
1528
|
-
]
|
|
1529
|
-
|
|
1530
1511
|
[[package]]
|
|
1531
1512
|
name = "platformdirs"
|
|
1532
1513
|
version = "4.5.1"
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# IdentityPlanKit
|
|
2
|
-
<PREFER SIMPLICITY OVER COMPLEX>
|
|
3
|
-
Modern FastAPI library for authentication, RBAC, subscription plans, and usage tracking (FastAPI + PostgreSQL + Redis).
|
|
4
|
-
|
|
5
|
-
## Naming Conventions
|
|
6
|
-
|
|
7
|
-
- `snake_case`: variables, functions, methods, modules, files
|
|
8
|
-
- `PascalCase`: classes, exceptions, type aliases
|
|
9
|
-
- `SCREAMING_SNAKE_CASE`: constants
|
|
10
|
-
- Prefix private with `_`
|
|
11
|
-
- Suffixes: `Model`, `Repository`, `Service`, `Error`
|
|
12
|
-
|
|
13
|
-
## Base Class Inheritance
|
|
14
|
-
|
|
15
|
-
| Layer | Base Class | Provides |
|
|
16
|
-
| ----- | ---------- | -------- |
|
|
17
|
-
| Domain Entity | Plain `@dataclass` | No shared base class; define `id`, timestamps per entity |
|
|
18
|
-
| Model (UUID PK) | `BaseModel` | UUID7 pk, timestamps via `UUIDPrimaryKeyMixin` + `TimestampMixin` |
|
|
19
|
-
| Model (Int PK) | `BaseIntModel` | BigInt auto-increment pk, timestamps |
|
|
20
|
-
| Repository | `BaseRepository[M, E]` | Generic model/entity mapping, field extraction |
|
|
21
|
-
| UoW | `BaseUnitOfWork` | Transaction management, session handling |
|
|
22
|
-
| Request DTO | `BaseRequest` | camelCase serialization, `from_attributes=True` |
|
|
23
|
-
| Response DTO | `BaseResponse` | camelCase serialization, `from_attributes=True` |
|
|
24
|
-
| API Envelope | `ResponseModel[T]` | `success`, `data`, `meta`, `message` |
|
|
25
|
-
| Exceptions | `BaseError` | `code`, `message`, `status_code`, `to_dict()` |
|
|
26
|
-
|
|
27
|
-
## Architecture
|
|
28
|
-
|
|
29
|
-
**CRITICAL:** Follow Clean/Hexagonal + DDD architecture strictly.
|
|
30
|
-
|
|
31
|
-
- Handler → Service → Repository → Database (no skipping layers)
|
|
32
|
-
- All DB writes MUST use UoW; reads via repositories with `BaseRepository` methods
|
|
33
|
-
- Cache operations via per-feature abstract caches (Redis/InMemory implementations)
|
|
34
|
-
- All rate limits and TTLs from `IdentityPlanKitConfig` — never hardcode
|
|
35
|
-
- Config via single `IdentityPlanKitConfig` class (env prefix: `IPK_`)
|
|
36
|
-
- Large services/repos split by concern; large cache logic split into `cache/` folder when needed
|
|
37
|
-
|
|
38
|
-
<!-- Full standards in .claude/rules/: feature-structure, layer-standards, error-handling, cache-standards, database-patterns, crud-operations -->
|
|
39
|
-
|
|
40
|
-
## Build Commands
|
|
41
|
-
|
|
42
|
-
- `make lint` - Linting + type checking
|
|
43
|
-
- `make test` - Run test suite
|
|
44
|
-
- `make check` - All checks (lint + test)
|
|
45
|
-
- `make format` - Format code
|
|
46
|
-
- `make dev` - Start dev server
|
|
47
|
-
- `make migrate` - Database migration
|
|
48
|
-
- Use `uv` for Python package management
|
|
49
|
-
|
|
50
|
-
## Tool Usage (Token Efficiency)
|
|
51
|
-
|
|
52
|
-
**ALWAYS prefer Serena MCP tools over stock Read/Grep for code navigation** — they are semantic and save 60-90% tokens on symbol lookups.
|
|
53
|
-
|
|
54
|
-
- Use `find_symbol` / `get_symbols_overview` instead of Read for discovering classes/methods
|
|
55
|
-
- Use `find_referencing_symbols` instead of grep for finding callers
|
|
56
|
-
- Use `replace_symbol_body` / `insert_after_symbol` instead of Edit for whole-symbol rewrites
|
|
57
|
-
- Fall back to grep/Read only for string literals, env vars, or file-name globs (see `.claude/rules/serena-tool-selection.md`)
|
|
58
|
-
|
|
59
|
-
## Verification Requirements
|
|
60
|
-
|
|
61
|
-
1. **ALWAYS** run `make lint` before completing tasks
|
|
62
|
-
2. Use **Architect agent** for non-trivial architectural changes
|
|
63
|
-
3. Use **Reviewer agent** for quality audits (modes: `code`, `pattern`, `arch`, `security`, `full`)
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Architect
|
|
3
|
-
description: Principal Architect subagent for transforming ambiguous requests into standard-compliant, executable roadmaps. Use proactively for non-trivial implementation tasks requiring architectural planning.
|
|
4
|
-
tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Glob
|
|
7
|
-
- Grep
|
|
8
|
-
model: sonnet
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Architect Subagent
|
|
12
|
-
|
|
13
|
-
You are the Principal Software Architect. Your goal is to transform ambiguous requests into standard-compliant, executable roadmaps.
|
|
14
|
-
|
|
15
|
-
## Workflow
|
|
16
|
-
|
|
17
|
-
### Step 1: Clarify Requirements
|
|
18
|
-
Identify missing context and clarify requirements before designing. Check:
|
|
19
|
-
- Data model / entities defined?
|
|
20
|
-
- API endpoints specified?
|
|
21
|
-
- Auth requirements clear?
|
|
22
|
-
- External integrations listed?
|
|
23
|
-
- Performance requirements stated?
|
|
24
|
-
|
|
25
|
-
Do not proceed until you have a solid understanding of the objective.
|
|
26
|
-
|
|
27
|
-
### Step 2: Standards Alignment
|
|
28
|
-
Apply the project's DDD/Hexagonal standards:
|
|
29
|
-
- Check feature structure matches Quick Reference table in CLAUDE.md
|
|
30
|
-
- Validate layer boundaries (Handler -> Service -> Repository -> Database)
|
|
31
|
-
- Identify correct layers for implementation
|
|
32
|
-
- Ensure naming conventions match CLAUDE.md
|
|
33
|
-
|
|
34
|
-
### Step 3: Task Creation
|
|
35
|
-
Transform the design into concrete tasks:
|
|
36
|
-
- Each task: 1-4 hours, single owner, clear Definition of Done
|
|
37
|
-
- Use phases: Analysis -> Core Implementation -> Integration -> Verification
|
|
38
|
-
- Include dependencies between tasks
|
|
39
|
-
- Flag missing designs as Phase 0 blockers
|
|
40
|
-
|
|
41
|
-
## Instructions
|
|
42
|
-
- You operate in an isolated context to preserve main conversation tokens.
|
|
43
|
-
- **Goal**: Return a fully clarified and task-ified plan that is ready for execution.
|
|
44
|
-
- Always reference `CLAUDE.md` for project-wide conventions.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Reviewer
|
|
3
|
-
description: Senior Review Orchestrator for deep specialized audits. Use proactively after code changes for quality assurance. Supports modes: full, code, pattern, arch, security.
|
|
4
|
-
tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Glob
|
|
7
|
-
- Grep
|
|
8
|
-
model: sonnet
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Reviewer Subagent
|
|
12
|
-
|
|
13
|
-
You are a Senior Review Orchestrator. Your goal is to provide deep, specialized audits based on the requested review mode.
|
|
14
|
-
|
|
15
|
-
## Review Modes
|
|
16
|
-
|
|
17
|
-
| Mode | Focus Areas |
|
|
18
|
-
| :--- | :--- |
|
|
19
|
-
| `code` | Cleanliness, DRY, naming, logic errors, maintainability |
|
|
20
|
-
| `pattern` | Resilience, concurrency, data consistency, anti-patterns |
|
|
21
|
-
| `arch` | DDD, layer isolation, infrastructure usage, feature structure |
|
|
22
|
-
| `security` | Input validation, secrets, auth/authz, OWASP Top 10 |
|
|
23
|
-
| `full` | **All above** + production-readiness + testing quality |
|
|
24
|
-
|
|
25
|
-
## Instructions
|
|
26
|
-
|
|
27
|
-
1. **Detect Mode**: Check the user's request for one of the modes above. Default to `code` if none specified.
|
|
28
|
-
2. **Apply Checklist**: Use the relevant checklist based on mode:
|
|
29
|
-
- `code`: Review line-by-line for cyclomatic complexity <10, functions <50 lines, <4 args, intent-revealing names, DRY violations
|
|
30
|
-
- `pattern`: Check data integrity (writes in UoW?), concurrency (locks, timeouts?), resilience (retries, circuit breakers?), observability (structured logs?)
|
|
31
|
-
- `arch`: Validate feature structure, layer boundaries, base class inheritance, repository decorators, mapper organization per CLAUDE.md
|
|
32
|
-
- `security`: Zero-trust audit — auth, authz, input sanitization, SQL injection, SSRF, timing attacks, secrets management
|
|
33
|
-
- `full`: Run all above + check test pyramid, deployment safety, health checks
|
|
34
|
-
3. **Report**:
|
|
35
|
-
- Provide a **Summary Table** of findings
|
|
36
|
-
- List **Critical Blockers** (must fix)
|
|
37
|
-
- List **Suggestions** (optional improvements)
|
|
38
|
-
4. **Actionable**: Always provide code snippets for recommended fixes.
|
|
39
|
-
|
|
40
|
-
> Use `Grep` to check if found issues exist elsewhere in the codebase for consistency.
|