python-corekit 0.6.1__tar.gz → 0.6.2__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.
- {python_corekit-0.6.1/python_corekit.egg-info → python_corekit-0.6.2}/PKG-INFO +1 -1
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/__init__.py +2 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/expressions/__init__.py +2 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/expressions/comparison.py +31 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/expressions/operator.py +1 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/pyproject.toml +1 -1
- {python_corekit-0.6.1 → python_corekit-0.6.2/python_corekit.egg-info}/PKG-INFO +1 -1
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_expressions.py +8 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_expressions_sqlalchemy.py +23 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/LICENSE +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/README.md +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/api/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/api/application.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/api/handler.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/api/lifespan.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/api/middleware.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/api/responses.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/api/routers.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/concurrency/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/concurrency/decorators.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/concurrency/thread_local.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/concurrency/worker.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/config/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/config/loader.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/config/settings.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/config/sources.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/connectable.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/decorators.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/redis/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/redis/connection.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/registry.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/connection.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/fields/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/fields/jsonb.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/migration/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/migration/base.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/migration/operations.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/migration/registry.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/migration/table.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/operations/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/operations/base.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/operations/statements.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/query.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/table.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/crypto/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/crypto/constants.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/crypto/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/crypto/hasher.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/dataset.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/expressions/expression.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/expressions/target.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/record.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/data/stats.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/decorators/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/decorators/exception_handling.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/decorators/warnings.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/client.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/constants.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/disk/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/disk/constants.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/disk/inspector.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/disk/models.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/docker/watchdog.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/connection.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/extract/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/extract/extractor.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/extract/schemas.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/load/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/load/loader.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/load/schemas.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/orchestrator.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/schemas.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/transform/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/transform/schemas.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/etl/transform/transformer.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/frames.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/models.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/publisher.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/reader.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/sse.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/events/websocket.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/actions.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/asgi.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/constants.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/exceptionator.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/fingerprint.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/guard.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/jobs.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptionator/models.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptions/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptions/base.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptions/custom/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptions/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptions/http/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/exceptions/types.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/files/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/files/base.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/files/disk.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/files/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/files/json.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/files/toml.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/html/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/html/client.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/html/models.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/html/parser.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/html/scraper.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/html/settings.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/html/state.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/api.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/client.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/exceptions.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/exponential_backoff.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/response.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/status.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/http/stream.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/jobs/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/jobs/registry.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/jobs/runner.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/jobs/task.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/client.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/events.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/messages.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/prompts/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/prompts/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/prompts/exceptions.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/prompts/loader.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/prompts/template.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/protocols.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/streaming.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/tools/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/tools/base.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/tools/detection.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/tools/loop.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/tools/registry.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/llm/wire.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/log_monitor/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/log_monitor/constants.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/log_monitor/models.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/log_monitor/service.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/notifications/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/notifications/base.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/notifications/models.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/benchmarkable.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/loggable.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/request_context.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/timing/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/timing/constants.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/timing/split.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/observability/timing/timer.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/process/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/process/runner.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/py.typed +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/registry/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/registry/ordered.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/registry/registry.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/dataclasses/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/models/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/models/arbitrary.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/models/date_models.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/pydantic/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/pydantic/fields.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/size.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/types.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/schemas/version.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/serialization/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/serialization/enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/serialization/pickle_file.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/serialization/serializable.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/serialization/serializer.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/__init__.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/coercion.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/collections.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/ids.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/parsers.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/payload.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/raise_exc.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/text.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/time.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/validators.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/utils/void.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/python_corekit.egg-info/SOURCES.txt +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/python_corekit.egg-info/dependency_links.txt +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/python_corekit.egg-info/requires.txt +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/python_corekit.egg-info/top_level.txt +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/setup.cfg +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/setup.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_api.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_application.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_architecture.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_concurrency.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_config.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_connections.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_data.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_docker.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_etl.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_events.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_exceptionator.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_exceptions.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_files.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_html.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_imports.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_imports_are_top_level.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_jobs.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_lifespan.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_llm.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_log_monitor.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_middleware_stack.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_migration.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_notifications.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_observability.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_operations.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_ordered_registry.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_process.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_redis.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_registry.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_request_context.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_requests.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_schemas_arbitrary.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_schemas_enum.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_schemas_size.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_serialization.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_sql.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils_coercion.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils_collections.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils_ids.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils_parsers.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils_payload.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils_text.py +0 -0
- {python_corekit-0.6.1 → python_corekit-0.6.2}/tests/test_utils_time.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-corekit
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: Shared foundations for Python projects: logging, benchmarking, registries, FastAPI application and routers, SQL statements and migrations, background tasks, ETL, LLM chat/tool primitives, and HTML scraping
|
|
5
5
|
Author: Steven Jacobsen
|
|
6
6
|
License-Expression: MIT
|
|
@@ -30,6 +30,7 @@ from corekit.data.expressions import (
|
|
|
30
30
|
FieldExpression,
|
|
31
31
|
GreaterThan,
|
|
32
32
|
GreaterThanOrEquals,
|
|
33
|
+
IContains,
|
|
33
34
|
IsIn,
|
|
34
35
|
LessThan,
|
|
35
36
|
LessThanOrEquals,
|
|
@@ -62,6 +63,7 @@ __all__ = [
|
|
|
62
63
|
"Comparison",
|
|
63
64
|
"Contains",
|
|
64
65
|
"Dataset",
|
|
66
|
+
"IContains",
|
|
65
67
|
"DatasetStats",
|
|
66
68
|
"Equals",
|
|
67
69
|
"Expression",
|
|
@@ -20,6 +20,7 @@ from corekit.data.expressions.comparison import (
|
|
|
20
20
|
FieldExpression,
|
|
21
21
|
GreaterThan,
|
|
22
22
|
GreaterThanOrEquals,
|
|
23
|
+
IContains,
|
|
23
24
|
IsIn,
|
|
24
25
|
LessThan,
|
|
25
26
|
LessThanOrEquals,
|
|
@@ -36,6 +37,7 @@ __all__ = [
|
|
|
36
37
|
"Comparison",
|
|
37
38
|
"Contains",
|
|
38
39
|
"Equals",
|
|
40
|
+
"IContains",
|
|
39
41
|
"Expression",
|
|
40
42
|
"FieldExpression",
|
|
41
43
|
"GreaterThan",
|
|
@@ -182,6 +182,34 @@ class Contains(Comparison):
|
|
|
182
182
|
self._reject_sql("substring match is case-sensitive in Python and LIKE is not")
|
|
183
183
|
|
|
184
184
|
|
|
185
|
+
class IContains(Comparison):
|
|
186
|
+
"""
|
|
187
|
+
Case-insensitive substring: the left side contains the right.
|
|
188
|
+
|
|
189
|
+
Python folds both sides with ``casefold``. SQL uses ``ILIKE``, which is
|
|
190
|
+
case-insensitive on PostgreSQL and compiled to ``lower`` comparisons
|
|
191
|
+
elsewhere. ``Contains`` stays case-sensitive and does not compile, because
|
|
192
|
+
LIKE would not mean the same thing.
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
operator = Operator.ICONTAINS
|
|
196
|
+
|
|
197
|
+
def __call__(self, context: Any, *args: Any, **kwargs: Any) -> bool:
|
|
198
|
+
left = self.get_left(context, *args, **kwargs)
|
|
199
|
+
right = self.get_right(context, *args, **kwargs)
|
|
200
|
+
if not isinstance(left, str) or not isinstance(right, str):
|
|
201
|
+
return False
|
|
202
|
+
return right.casefold() in left.casefold()
|
|
203
|
+
|
|
204
|
+
def to_sqlalchemy(self, context: Any) -> Any:
|
|
205
|
+
if self.compares_fields:
|
|
206
|
+
self._reject_sql("the right side is a field, and ILIKE needs a value")
|
|
207
|
+
needle = self.get_right(context)
|
|
208
|
+
if not isinstance(needle, str):
|
|
209
|
+
self._reject_sql("case-insensitive substring match needs a string")
|
|
210
|
+
return self.get_left(context).ilike(f"%{needle}%")
|
|
211
|
+
|
|
212
|
+
|
|
185
213
|
class ValueExpression(Expression):
|
|
186
214
|
"""
|
|
187
215
|
Expression representing a single value to be compared.
|
|
@@ -220,6 +248,9 @@ class ValueExpression(Expression):
|
|
|
220
248
|
def contains(self, substring: Any) -> "Comparison":
|
|
221
249
|
return Contains(self, substring)
|
|
222
250
|
|
|
251
|
+
def icontains(self, substring: Any) -> "Comparison":
|
|
252
|
+
return IContains(self, substring)
|
|
253
|
+
|
|
223
254
|
def resolve(self, context: Any = None, target: Target = Target.VALUE, *args: Any, **kwargs: Any) -> Any:
|
|
224
255
|
"""
|
|
225
256
|
Resolve this literal, which is its own value for every target.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-corekit"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.2"
|
|
8
8
|
description = "Shared foundations for Python projects: logging, benchmarking, registries, FastAPI application and routers, SQL statements and migrations, background tasks, ETL, LLM chat/tool primitives, and HTML scraping"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-corekit
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: Shared foundations for Python projects: logging, benchmarking, registries, FastAPI application and routers, SQL statements and migrations, background tasks, ETL, LLM chat/tool primitives, and HTML scraping
|
|
5
5
|
Author: Steven Jacobsen
|
|
6
6
|
License-Expression: MIT
|
|
@@ -170,6 +170,14 @@ def test_python_contains_is_case_sensitive() -> None:
|
|
|
170
170
|
assert (Field("name").contains("Ada"))(RECORD) is True
|
|
171
171
|
|
|
172
172
|
|
|
173
|
+
def test_python_icontains_folds_case() -> None:
|
|
174
|
+
assert (Field("name").icontains("ada"))(RECORD) is True
|
|
175
|
+
assert (Field("name").icontains("ADA"))(RECORD) is True
|
|
176
|
+
assert (Field("name").icontains("zed"))(RECORD) is False
|
|
177
|
+
assert (Field("age").icontains("30"))(RECORD) is False
|
|
178
|
+
assert (Field("note").icontains("x"))({"note": None}) is False
|
|
179
|
+
|
|
180
|
+
|
|
173
181
|
def test_every_operator_has_a_symbol() -> None:
|
|
174
182
|
from corekit.data.expressions.operator import Operator
|
|
175
183
|
|
|
@@ -114,6 +114,29 @@ def test_contains_is_refused() -> None:
|
|
|
114
114
|
Field("name").contains("Ad").to_sqlalchemy(Member)
|
|
115
115
|
|
|
116
116
|
|
|
117
|
+
def test_icontains_matches_regardless_of_case(session: Session) -> None:
|
|
118
|
+
assert names(session, Field("name").icontains("ada")) == ["Ada"]
|
|
119
|
+
assert names(session, Field("name").icontains("BOB")) == ["Bob"]
|
|
120
|
+
assert names(session, Field("name").icontains("nope")) == []
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def test_icontains_compiles_to_ilike() -> None:
|
|
124
|
+
statement, params = sql(Field("name").icontains("ada"))
|
|
125
|
+
assert "ILIKE" in statement
|
|
126
|
+
assert "%ada%" in params.values()
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def test_icontains_binds_the_pattern() -> None:
|
|
130
|
+
statement, params = sql(Field("name").icontains(INJECTION))
|
|
131
|
+
assert INJECTION not in statement
|
|
132
|
+
assert f"%{INJECTION}%" in params.values()
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def test_icontains_of_a_field_is_refused() -> None:
|
|
136
|
+
with pytest.raises(NotImplementedError, match="right side is a field"):
|
|
137
|
+
Field("name").icontains(Field("role")).to_sqlalchemy(Member)
|
|
138
|
+
|
|
139
|
+
|
|
117
140
|
def test_isin_of_a_field_is_refused() -> None:
|
|
118
141
|
"""SQL IN needs a list of values; a field on the right cannot be listed."""
|
|
119
142
|
with pytest.raises(NotImplementedError, match="right side is a field"):
|
|
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
|
{python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/migration/operations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/operations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_corekit-0.6.1 → python_corekit-0.6.2}/corekit/connections/sql/operations/statements.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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|