Open-source construction cost estimation, multi-currency BOQ, AI vector matching, CAD/BIM takeoff without IfcOpenShell, resource-based cost DB import with example templates, 48 regional catalogues, 29 locales. AGPL-3.0. After install, run: openconstructionerp
pip install openconstructionerp==18.5.0 Copy PIP instructions
That's the only thing you need to remember. It prints a welcome, asks you to press o + Enter to open the app in your browser, then starts the server at http://127.0.0.1:8080 (and shows a login).
pip install openconstructionerp Python 3.12+ required. No Docker, no separate PostgreSQL, no Redis. An embedded PostgreSQL database is bundled and starts on its own.
No config files. No environment variables. It just works.
If openconstructionerp is not found right after install, pip most likely put the launcher in a Scripts folder that is not on your PATH (this is common on Windows). Run it through Python instead. This works from any folder and is the exact same app:
python -m openconstructionerp Subsequent runs openconstructionerp Same command every time. Your data persists between runs.
openconstructionerp init-db # create the local database openconstructionerp serve # start the server openconstructionerp doctor # health check if anything looks wrong openconstructionerp welcome # re-print the welcome screen CLI reference openconstructionerp serve [--host HOST] [--port PORT] [--data-dir DIR] [--open] [--quiet] openconstructionerp init-db [--data-dir DIR] # Create the local database + data dirs openconstructionerp doctor [--port PORT] # Run installation health checks openconstructionerp seed [--demo] # Load demo project data openconstructionerp version # Show version What you get BOQ editor: hierarchical bill of quantities with assemblies, formulas, multi-currency Cost database: import your own rates (Excel/CSV) or use the bundled example templates Cost matching: vector search matches line items to historical cost data CAD/BIM takeoff: quantities from DWG/DXF and IFC/RVT (via DDC, no IfcOpenShell) 4D / 5D: cost-loaded schedule, earned value (SPI/CPI), cash-flow, what-if scenarios Validation: DIN 276, GAEB, NRM, MasterFormat rule packs flag issues at import Reporting: PDF/Excel exports, dashboards, BCF issue exchange Configuration (optional) Everything works with zero config. To customise, pass flags or set environment variables:
openconstructionerp serve --port 9000 --data-dir /var/lib/oce # Or via environment: DATABASE_URL=postgresql+asyncpg://user:pass@host/db # Use an external PostgreSQL instead of the embedded one OE_DATA_DIR=/var/lib/oce # Change the data location The port has no environment variable. It is chosen only by serve --port, so a service definition or a launcher script has to put it on the command line.
The backend is a Python 3.12+ FastAPI application (Pydantic v2, async SQLAlchemy). PostgreSQL is the only supported database. For local development an embedded PostgreSQL (pixeltable-pgserver) runs in-process, so there is no Docker and no separate database server to install for a basic run. SQLite is not supported and was removed in v6.6.0. Leave DATABASE_URL unset to use the embedded server, or set it to point at an external PostgreSQL.
cd backend python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e ".[dev]" Run the dev server The simplest way is the CLI, which starts the embedded database, seeds demo data, and serves the API together with the built UI:
openconstructionerp serve --port 8080 To run just the API with autoreload against the app factory:
uvicorn app.main:create_app --factory --reload --port 8000 Interactive API docs are then at http://localhost:8000/api/docs and the raw OpenAPI schema at http://localhost:8000/api/openapi.json. See docs/api/README.md for the full HTTP API guide.
cd backend pytest # whole suite pytest tests/unit # unit tests only pytest -k boq # a subset by keyword Tests run with pytest and pytest-asyncio (asyncio_mode = auto). The suite runs serially against one PostgreSQL database that the test harness provisions when the tests load.
Code style is enforced with ruff (line length 120, target py312). Format and lint before committing:
ruff format . ruff check . The lint rule set is E, F, W, I, N, UP, B, A, C4, PT, RET, SIM. The exact configuration lives in backend/pyproject.toml.
AGPL-3.0-or-later. Commercial licensing available, contact info@datadrivenconstruction.io
ai all analytics cv dev geo pointcloud s3 semantic semantic-clients semantic-encoder server vector
ERP bim boq construction construction-management cost-estimation cwicr din276 dxf estimation gaeb ifc openconstructionerp takeoff
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




