llm-join 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,85 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ tags: [ "v*" ] # publish fires on version tags like v0.2.0
7
+ pull_request:
8
+ branches: [ "main" ]
9
+
10
+ jobs:
11
+ lint:
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
17
+
18
+ steps:
19
+ - uses: actions/checkout@v4.2.2
20
+
21
+ - name: Set up Python ${{ matrix.python-version }}
22
+ uses: actions/setup-python@v5.6.0
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+
26
+ - name: Install dependencies
27
+ run: |
28
+ python -m pip install --upgrade pip
29
+ pip install flake8
30
+ pip install -e ".[dev]"
31
+
32
+ - name: Lint with flake8
33
+ run: |
34
+ # Fail on syntax errors or undefined names
35
+ flake8 llm_join --count --select=E9,F63,F7,F82 --show-source --statistics
36
+ # Warn on style issues (max line 127)
37
+ flake8 llm_join --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
38
+
39
+ build-wheel:
40
+ runs-on: ubuntu-latest
41
+ needs: lint
42
+
43
+ steps:
44
+ - uses: actions/checkout@v4.2.2
45
+
46
+ - name: Set up Python
47
+ uses: actions/setup-python@v5.6.0
48
+ with:
49
+ python-version: "3.11"
50
+
51
+ - name: Build wheel and sdist
52
+ run: |
53
+ pip install build
54
+ python -m build
55
+
56
+ - name: Upload wheel artifact
57
+ uses: actions/upload-artifact@v4.6.2
58
+ with:
59
+ name: llm-join-wheel
60
+ path: dist/*.whl
61
+ retention-days: 30
62
+
63
+ publish:
64
+ runs-on: ubuntu-latest
65
+ needs: build-wheel
66
+ if: startsWith(github.ref, 'refs/tags/v') # only on version tags
67
+ permissions:
68
+ id-token: write # required for PyPI trusted publishing
69
+ contents: read # required for actions/checkout
70
+
71
+ steps:
72
+ - uses: actions/checkout@v4.2.2
73
+
74
+ - name: Set up Python
75
+ uses: actions/setup-python@v5.6.0
76
+ with:
77
+ python-version: "3.11"
78
+
79
+ - name: Build dist
80
+ run: |
81
+ pip install build
82
+ python -m build
83
+
84
+ - name: Publish to PyPI
85
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,13 @@
1
+ __pycache__/
2
+ *.pyc
3
+ *.pyo
4
+ .DS_Store
5
+ dist/
6
+ *.egg-info/
7
+ .venv/
8
+ .env
9
+ *.whl
10
+ .pytest_cache/
11
+ .claude/
12
+ docs/
13
+ tests/