├── .circleci └── config.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── assets └── beanhub.svg ├── bq ├── __init__.py ├── app.py ├── cmds │ ├── __init__.py │ ├── cli.py │ ├── create_tables.py │ ├── environment.py │ ├── main.py │ ├── process.py │ ├── submit.py │ └── utils.py ├── config.py ├── constants.py ├── db │ ├── __init__.py │ ├── base.py │ └── session.py ├── events.py ├── models │ ├── __init__.py │ ├── event.py │ ├── helpers.py │ ├── task.py │ └── worker.py ├── processors │ ├── __init__.py │ ├── processor.py │ ├── registry.py │ └── retry_policies.py ├── services │ ├── __init__.py │ ├── dispatch.py │ └── worker.py └── utils.py ├── docker-compose.yaml ├── pyproject.toml ├── tests ├── .create-test-db.sql ├── __init__.py ├── acceptance │ ├── __init__.py │ ├── fixtures │ │ ├── __init__.py │ │ ├── app.py │ │ └── processors.py │ └── test_process_cmd.py ├── conftest.py ├── factories.py └── unit │ ├── __init__.py │ ├── fixtures │ ├── __init__.py │ └── processors.py │ ├── processors │ ├── __init__.py │ ├── conftest.py │ ├── test_processor.py │ ├── test_registry.py │ └── test_retry_policies.py │ ├── services │ ├── __init__.py │ ├── test_dispatch_service.py │ └── test_worker_service.py │ └── test_config.py └── uv.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/README.md -------------------------------------------------------------------------------- /assets/beanhub.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/assets/beanhub.svg -------------------------------------------------------------------------------- /bq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/__init__.py -------------------------------------------------------------------------------- /bq/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/app.py -------------------------------------------------------------------------------- /bq/cmds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bq/cmds/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/cmds/cli.py -------------------------------------------------------------------------------- /bq/cmds/create_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/cmds/create_tables.py -------------------------------------------------------------------------------- /bq/cmds/environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/cmds/environment.py -------------------------------------------------------------------------------- /bq/cmds/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/cmds/main.py -------------------------------------------------------------------------------- /bq/cmds/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/cmds/process.py -------------------------------------------------------------------------------- /bq/cmds/submit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/cmds/submit.py -------------------------------------------------------------------------------- /bq/cmds/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/cmds/utils.py -------------------------------------------------------------------------------- /bq/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/config.py -------------------------------------------------------------------------------- /bq/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/constants.py -------------------------------------------------------------------------------- /bq/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bq/db/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/db/base.py -------------------------------------------------------------------------------- /bq/db/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/db/session.py -------------------------------------------------------------------------------- /bq/events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/events.py -------------------------------------------------------------------------------- /bq/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/models/__init__.py -------------------------------------------------------------------------------- /bq/models/event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/models/event.py -------------------------------------------------------------------------------- /bq/models/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/models/helpers.py -------------------------------------------------------------------------------- /bq/models/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/models/task.py -------------------------------------------------------------------------------- /bq/models/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/models/worker.py -------------------------------------------------------------------------------- /bq/processors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bq/processors/processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/processors/processor.py -------------------------------------------------------------------------------- /bq/processors/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/processors/registry.py -------------------------------------------------------------------------------- /bq/processors/retry_policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/processors/retry_policies.py -------------------------------------------------------------------------------- /bq/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bq/services/dispatch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/services/dispatch.py -------------------------------------------------------------------------------- /bq/services/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/services/worker.py -------------------------------------------------------------------------------- /bq/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/bq/utils.py -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/.create-test-db.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE bq_test; 2 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/acceptance/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/acceptance/fixtures/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/acceptance/fixtures/app.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/acceptance/fixtures/processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/acceptance/fixtures/processors.py -------------------------------------------------------------------------------- /tests/acceptance/test_process_cmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/acceptance/test_process_cmd.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/factories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/factories.py -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/fixtures/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/fixtures/processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/fixtures/processors.py -------------------------------------------------------------------------------- /tests/unit/processors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/processors/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/processors/conftest.py -------------------------------------------------------------------------------- /tests/unit/processors/test_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/processors/test_processor.py -------------------------------------------------------------------------------- /tests/unit/processors/test_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/processors/test_registry.py -------------------------------------------------------------------------------- /tests/unit/processors/test_retry_policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/processors/test_retry_policies.py -------------------------------------------------------------------------------- /tests/unit/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/services/test_dispatch_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/services/test_dispatch_service.py -------------------------------------------------------------------------------- /tests/unit/services/test_worker_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/services/test_worker_service.py -------------------------------------------------------------------------------- /tests/unit/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/tests/unit/test_config.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaunchPlatform/bq/HEAD/uv.lock --------------------------------------------------------------------------------