Skip to content

About

Engine repository of Adept

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Adept Engine

The engine is Adept's internal Python process and background-worker foundation for polling, webhooks, and data processing.

Tech Stack

  • Language: Python (uv for dependency management)
  • Framework: FastAPI (uvicorn)

Getting Started

  1. Install Dependencies:
    uv sync --locked
  2. Run the API locally:
    set -a && source ../.env && set +a
    uv run uvicorn app.main:app --reload --port 8000
  3. Run the Background Worker:
    set -a && source ../.env && set +a
    uv run python -m app.worker

Testing & Quality Checks

uv run ruff format --check .
uv run ruff check .
uv run mypy app tests
uv run pytest -m "not integration"

Integration tests require a test database setup (password matches POSTGRES_PASSWORD in .env):

ENGINE_TEST_DATABASE_ALLOWED=true TEST_DATABASE_URL=postgresql+psycopg://adept:adept_local_password@localhost:5432/adept_engine_test uv run pytest -m integration

About

Engine repository of Adept

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

Contributors

Languages