- courthouse (https://dane.gov.pl/pl/dataset/985,lista-sadow-powszechnych/resource/67369/table)
- prison
- police
cd tools
uv run offers.py
cd ..COMPOSE_BAKE=true docker compose buildNew migration
alembic revision -m "create XXX table"Note
Run below commands inside a docker container
Check current revision
docker exec -it substio_app .venv/bin/alembic currentTo run all of your outstanding migrations, execute the upgrade head command
docker exec -it substio_app .venv/bin/alembic upgrade headTo roll back the latest migration operation, you may use the alembic downgrade command
docker exec -it substio_app .venv/bin/alembic downgrade -1To run rolled back migration again:
docker exec -it substio_app .venv/bin/alembic upgrade +1Revision History: Use .venv/bin/alembic history to see the history of migrations and understand the steps involved.
Detailed View: Use .venv/bin/alembic show <revision> to get detailed information about specific revision scripts.
pytest -q testsuv lock --upgradeclean cache
uv cache cleanruff check app/ruff check app/ --fix- alembic migration
- insert geo data
uv run locations.py
TRUNCATE TABLE cities RESTART IDENTITY CASCADE;
bunx repomix --style markdown --ignore "**/*.log,tmp/,Readme.md,uv.lock"`tree -P '*.py' -I '__pycache__|*.pyc' --dirsfirst`TRUNCATE TABLE places RESTART IDENTITY CASCADE ;
uvx genai-prices listuvx genai-prices calc --input-tokens 100000 --output-tokens 3000 GPT-5-nano GPT-4.1-nano GPT-5 claude-sonnet-4-0 claude-sonnet-4-5