Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
49064d0
bump doc deps and makefile
akdor1154 May 9, 2026
b1e74c3
circleci -> gha (claudE)
akdor1154 May 9, 2026
c70b7d7
run all on push
akdor1154 May 9, 2026
2502d6c
temp disable mypy
akdor1154 May 9, 2026
49ae6da
bump test deps
akdor1154 May 9, 2026
ee03439
uv py version
akdor1154 May 9, 2026
ca8eac5
min py 3.9, add later py versions
akdor1154 May 9, 2026
4e7eb9a
drop py3.14
akdor1154 May 9, 2026
98b9845
v0.12.0a1
akdor1154 May 9, 2026
a4f2aaa
clean ci
akdor1154 May 9, 2026
8bf426c
add ruff and bymp uv.lock with new version
akdor1154 May 9, 2026
99dd511
ruff fmt
akdor1154 May 9, 2026
4fb68bf
ruff check --fix
akdor1154 May 9, 2026
a8e0e2a
bump python min 3.10
akdor1154 May 9, 2026
b388feb
ruff.toml
akdor1154 May 9, 2026
52324a9
nuke star imports (claude)
akdor1154 May 9, 2026
6e45aa0
drop old type hints
akdor1154 May 9, 2026
a860769
mypy fixes
akdor1154 May 9, 2026
d84865e
drop 3.9 from ci
akdor1154 May 9, 2026
1e709f1
ruff check clean
akdor1154 May 9, 2026
d6776a8
lint in ci
akdor1154 May 9, 2026
43d21f8
docs fixes (claude)
akdor1154 May 9, 2026
30f4069
pyright + fixes
akdor1154 May 9, 2026
8c2e2e9
pyright in ci
akdor1154 May 9, 2026
32f4fd8
drop mypy
akdor1154 May 10, 2026
709d27c
add support for clickhouse params
akdor1154 May 10, 2026
03c5368
fixup clickhouse support
akdor1154 May 10, 2026
fddf971
add quick pl and ddb utils
akdor1154 May 10, 2026
890999b
make instancetracking impervious to ipython autoreload
akdor1154 May 10, 2026
6709874
let limit query take none
akdor1154 May 10, 2026
597e19e
misc mess
akdor1154 May 10, 2026
db97a8b
changelog
akdor1154 May 10, 2026
099475f
uv lock
akdor1154 May 10, 2026
46d0f7d
add sqlite dialect and use for py314 compat
akdor1154 May 10, 2026
640af21
py 3.14 in ci
akdor1154 May 10, 2026
8b54fd2
docs fix (claude)
akdor1154 May 10, 2026
570c2de
v0.12.0b1
akdor1154 May 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 0 additions & 153 deletions .circleci/config.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .circleci/publish.sh

This file was deleted.

27 changes: 0 additions & 27 deletions .circleci/version.sh

This file was deleted.

2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[*.py]
indent_style = tab
66 changes: 66 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: CI

on:
push:
branches: ["*"]
tags: ["v*"]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
env:
UV_PYTHON: "${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
# needs double-specifying to affect cache
python-version: "${{ matrix.python-version }}"
- run: uv sync
- run: make ruff
- run: make pyright
- run: make pytest

docs:
runs-on: ubuntu-latest
env:
UV_PYTHON: "3.13"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
# needs double-specifying to affect cache
python-version: "3.13"
- run: uv sync
- run: make docs
- uses: actions/upload-artifact@v4
with:
name: docs
path: docs/_build/html/
- run: make doctest

publish:
runs-on: ubuntu-latest
needs: [test, docs]
if: startsWith(github.ref, 'refs/tags/v')
environment: pypi
permissions:
id-token: write
env:
UV_PYTHON: "3.13"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
# needs double-specifying to affect cache
python-version: "3.13"
- run: uv build
- uses: pypa/gh-action-pypi-publish@release/v1
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## v0.12.0

### New stuff:
- Clickhouse parameters support. Has a wonderful abuse of syntax so `Q(f"select {p.param:String}")` actually works.
- `.ddb` (duckdb), `.ch`, (clickhouse), and `.pl` (polars) query args helpers
- `.preview_pl()` (preview with polars) method
- `preview_*` can now take (optional) rows=None, in which case the query itself will be ran unmodified.

## v0.11.0

### Breaking changes:
Expand Down
18 changes: 11 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
lint: mypy
lint: pyright ruff

mypy:
poetry run mypy csql tests
pyright:
uv run pyright

ruff:
uv run ruff check
uv run ruff format --check

test: pytest doctest

pytest:
poetry run pytest
uv run pytest

doctest:
cd docs; poetry run $(MAKE) doctest
cd docs; uv run $(MAKE) doctest

docs:
cd docs; poetry run $(MAKE) html SPHINXOPTS="-W --keep-going -n"
cd docs; uv run $(MAKE) html SPHINXOPTS="-W --keep-going -n"

.PHONY: test docs lint mypy pytest doctest
.PHONY: test docs lint pyright pytest doctest
Loading
Loading