idi-ftm2j-shared 0.1.1a1__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.
- idi_ftm2j_shared-0.1.1a1/.github/workflows/checks.yml +149 -0
- idi_ftm2j_shared-0.1.1a1/.github/workflows/deploy.yml +221 -0
- idi_ftm2j_shared-0.1.1a1/.gitignore +243 -0
- idi_ftm2j_shared-0.1.1a1/.python-version +1 -0
- idi_ftm2j_shared-0.1.1a1/LICENSE +28 -0
- idi_ftm2j_shared-0.1.1a1/PKG-INFO +236 -0
- idi_ftm2j_shared-0.1.1a1/README.md +222 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-bootstrap/Pulumi.yaml +28 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-bootstrap/__main__.py +28 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-bootstrap/infra/__init__.py +8 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-bootstrap/infra/config.py +62 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-bootstrap/infra/iam.py +484 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-bootstrap/infra/oidc.py +22 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-shared/Pulumi.yaml +20 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-shared/__main__.py +34 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-shared/infra/__init__.py +8 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-shared/infra/config.py +44 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-shared/infra/network.py +31 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-shared/infra/queue.py +21 -0
- idi_ftm2j_shared-0.1.1a1/pulumi-shared/infra/storage.py +69 -0
- idi_ftm2j_shared-0.1.1a1/pyproject.toml +93 -0
- idi_ftm2j_shared-0.1.1a1/src/idi_ftm2j_shared/__init__.py +1 -0
- idi_ftm2j_shared-0.1.1a1/src/idi_ftm2j_shared/api.py +266 -0
- idi_ftm2j_shared-0.1.1a1/src/idi_ftm2j_shared/failures.py +168 -0
- idi_ftm2j_shared-0.1.1a1/src/idi_ftm2j_shared/logs.py +171 -0
- idi_ftm2j_shared-0.1.1a1/src/idi_ftm2j_shared/storage.py +177 -0
- idi_ftm2j_shared-0.1.1a1/tests/__init__.py +0 -0
- idi_ftm2j_shared-0.1.1a1/tests/conftest.py +20 -0
- idi_ftm2j_shared-0.1.1a1/tests/test_api.py +365 -0
- idi_ftm2j_shared-0.1.1a1/tests/test_failures.py +338 -0
- idi_ftm2j_shared-0.1.1a1/tests/test_logs.py +310 -0
- idi_ftm2j_shared-0.1.1a1/tests/test_storage.py +328 -0
- idi_ftm2j_shared-0.1.1a1/uv.lock +1353 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Quality checks: runs on every PR and must pass before merge.
|
|
2
|
+
# Each job is a separate required status check for granular visibility.
|
|
3
|
+
name: Checks
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- dev
|
|
10
|
+
- release
|
|
11
|
+
- 'release/**'
|
|
12
|
+
- 'issue-*'
|
|
13
|
+
paths-ignore:
|
|
14
|
+
- '**.md'
|
|
15
|
+
- 'docs/**'
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
|
|
18
|
+
concurrency:
|
|
19
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
20
|
+
cancel-in-progress: false
|
|
21
|
+
|
|
22
|
+
env:
|
|
23
|
+
PROJECT_DIR: .
|
|
24
|
+
|
|
25
|
+
jobs:
|
|
26
|
+
lint:
|
|
27
|
+
name: Lint
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
defaults:
|
|
30
|
+
run:
|
|
31
|
+
working-directory: ${{ env.PROJECT_DIR }}
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v4
|
|
34
|
+
|
|
35
|
+
- name: Setup uv
|
|
36
|
+
uses: astral-sh/setup-uv@v4
|
|
37
|
+
with:
|
|
38
|
+
version: "0.11.8"
|
|
39
|
+
python-version: "3.13"
|
|
40
|
+
|
|
41
|
+
- name: Install dependencies
|
|
42
|
+
run: uv sync --group deploy
|
|
43
|
+
|
|
44
|
+
- name: Lint (ruff)
|
|
45
|
+
run: uv run ruff check . --output-format=concise
|
|
46
|
+
|
|
47
|
+
- name: Format check (ruff)
|
|
48
|
+
run: uv run ruff format --check .
|
|
49
|
+
|
|
50
|
+
test:
|
|
51
|
+
name: Test
|
|
52
|
+
runs-on: ubuntu-latest
|
|
53
|
+
defaults:
|
|
54
|
+
run:
|
|
55
|
+
working-directory: ${{ env.PROJECT_DIR }}
|
|
56
|
+
steps:
|
|
57
|
+
- uses: actions/checkout@v4
|
|
58
|
+
|
|
59
|
+
- name: Setup uv
|
|
60
|
+
uses: astral-sh/setup-uv@v4
|
|
61
|
+
with:
|
|
62
|
+
version: "0.11.8"
|
|
63
|
+
python-version: "3.13"
|
|
64
|
+
|
|
65
|
+
- name: Install dependencies
|
|
66
|
+
run: uv sync --group deploy --group test
|
|
67
|
+
|
|
68
|
+
- name: Run tests with coverage
|
|
69
|
+
run: uv run pytest --cov=idi_ftm2j_shared --cov=idi_ftm2j_shared_infra --cov-report=xml:coverage.xml --cov-report=term -v
|
|
70
|
+
|
|
71
|
+
security:
|
|
72
|
+
name: Security
|
|
73
|
+
runs-on: ubuntu-latest
|
|
74
|
+
permissions:
|
|
75
|
+
contents: read
|
|
76
|
+
security-events: write
|
|
77
|
+
defaults:
|
|
78
|
+
run:
|
|
79
|
+
working-directory: ${{ env.PROJECT_DIR }}
|
|
80
|
+
steps:
|
|
81
|
+
- uses: actions/checkout@v4
|
|
82
|
+
|
|
83
|
+
- name: Setup uv
|
|
84
|
+
uses: astral-sh/setup-uv@v4
|
|
85
|
+
with:
|
|
86
|
+
version: "0.11.8"
|
|
87
|
+
python-version: "3.13"
|
|
88
|
+
|
|
89
|
+
- name: Install dependencies
|
|
90
|
+
run: uv sync --group deploy
|
|
91
|
+
|
|
92
|
+
- name: Dependency vulnerability scan (pip-audit)
|
|
93
|
+
run: |
|
|
94
|
+
uv run pip-audit --desc --ignore-vuln CVE-2026-3219 # Pip vulnerability, no current fix
|
|
95
|
+
|
|
96
|
+
- name: CodeQL Analysis Init
|
|
97
|
+
uses: github/codeql-action/init@v4
|
|
98
|
+
with:
|
|
99
|
+
languages: python
|
|
100
|
+
|
|
101
|
+
- name: CodeQL Analysis Analyze
|
|
102
|
+
uses: github/codeql-action/analyze@v4
|
|
103
|
+
|
|
104
|
+
pulumi-preview:
|
|
105
|
+
name: Pulumi Preview
|
|
106
|
+
runs-on: ubuntu-latest
|
|
107
|
+
permissions:
|
|
108
|
+
id-token: write # This is required for requesting JWT
|
|
109
|
+
contents: read # This is required for actions/checkout
|
|
110
|
+
defaults:
|
|
111
|
+
run:
|
|
112
|
+
working-directory: ${{ env.PROJECT_DIR }}/pulumi-shared
|
|
113
|
+
env:
|
|
114
|
+
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
|
|
115
|
+
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_SECRET_PASSPHRASE }}
|
|
116
|
+
steps:
|
|
117
|
+
- uses: actions/checkout@v4
|
|
118
|
+
|
|
119
|
+
- name: Setup uv
|
|
120
|
+
uses: astral-sh/setup-uv@v4
|
|
121
|
+
with:
|
|
122
|
+
version: "0.11.8"
|
|
123
|
+
python-version: "3.13"
|
|
124
|
+
|
|
125
|
+
- name: Install Pulumi dependencies
|
|
126
|
+
run: cd ${{ github.workspace }}/${{ env.PROJECT_DIR }} && uv sync --group pulumi --group deploy
|
|
127
|
+
|
|
128
|
+
- name: Configure AWS credentials
|
|
129
|
+
uses: aws-actions/configure-aws-credentials@v4
|
|
130
|
+
with:
|
|
131
|
+
role-to-assume: ${{ secrets.AWS_ROLE_ARN_CHECKS }}
|
|
132
|
+
role-session-name: idi-github-ci
|
|
133
|
+
aws-region: ${{ secrets.AWS_REGION || 'us-east-2' }}
|
|
134
|
+
|
|
135
|
+
- name: Set Pulumi stack
|
|
136
|
+
id: stack
|
|
137
|
+
run: |
|
|
138
|
+
if [ "${{ github.base_ref }}" = "main" ]; then
|
|
139
|
+
echo "name=prod" >> $GITHUB_OUTPUT
|
|
140
|
+
else
|
|
141
|
+
echo "name=dev" >> $GITHUB_OUTPUT
|
|
142
|
+
fi
|
|
143
|
+
|
|
144
|
+
- name: Pulumi preview (${{ steps.stack.outputs.name }} stack)
|
|
145
|
+
run: |
|
|
146
|
+
pulumi login s3://${{ secrets.PULUMI_STATE_BUCKET }}
|
|
147
|
+
pulumi stack select ${{ steps.stack.outputs.name }} 2>/dev/null || pulumi stack init ${{ steps.stack.outputs.name }}
|
|
148
|
+
pulumi config set aws:region ${{ secrets.AWS_REGION || 'us-east-2' }}
|
|
149
|
+
uv run pulumi preview --non-interactive
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# Post-merge pipeline: detect changes, version bump, release, deploy, and publish.
|
|
2
|
+
# Validation (lint, tests, security, pulumi preview) runs in checks.yml before merge.
|
|
3
|
+
#
|
|
4
|
+
# Job DAG:
|
|
5
|
+
# changes ──┬──► version ──► publish (only if src/** changed, main only)
|
|
6
|
+
# └──► deploy-pulumi (only if pulumi-shared/** changed)
|
|
7
|
+
#
|
|
8
|
+
# Note: This deploys the shared infrastructure for all FTM2J processor stacks.
|
|
9
|
+
#
|
|
10
|
+
name: Deploy
|
|
11
|
+
|
|
12
|
+
on:
|
|
13
|
+
push:
|
|
14
|
+
branches:
|
|
15
|
+
- main
|
|
16
|
+
- dev
|
|
17
|
+
paths-ignore:
|
|
18
|
+
- '**.md'
|
|
19
|
+
- 'docs/**'
|
|
20
|
+
workflow_dispatch:
|
|
21
|
+
|
|
22
|
+
concurrency:
|
|
23
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
24
|
+
cancel-in-progress: false
|
|
25
|
+
|
|
26
|
+
env:
|
|
27
|
+
PROJECT_DIR: .
|
|
28
|
+
APP_NAME: ftm2j-shared
|
|
29
|
+
|
|
30
|
+
jobs:
|
|
31
|
+
changes:
|
|
32
|
+
name: Detect Changes
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
outputs:
|
|
35
|
+
pulumi: ${{ steps.filter.outputs.pulumi }}
|
|
36
|
+
src: ${{ steps.filter.outputs.src }}
|
|
37
|
+
deploy_env: ${{ steps.env.outputs.deploy_env }}
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v4
|
|
40
|
+
- uses: dorny/paths-filter@v3
|
|
41
|
+
id: filter
|
|
42
|
+
with:
|
|
43
|
+
filters: |
|
|
44
|
+
pulumi:
|
|
45
|
+
- 'pulumi-shared/**'
|
|
46
|
+
src:
|
|
47
|
+
- 'src/**'
|
|
48
|
+
- 'pyproject.toml'
|
|
49
|
+
- name: Set deploy environment
|
|
50
|
+
id: env
|
|
51
|
+
run: |
|
|
52
|
+
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
|
|
53
|
+
echo "deploy_env=prod" >> $GITHUB_OUTPUT
|
|
54
|
+
else
|
|
55
|
+
echo "deploy_env=dev" >> $GITHUB_OUTPUT
|
|
56
|
+
fi
|
|
57
|
+
|
|
58
|
+
version:
|
|
59
|
+
name: Version, Tag & Release
|
|
60
|
+
runs-on: ubuntu-latest
|
|
61
|
+
needs: [changes]
|
|
62
|
+
if: needs.changes.outputs.src == 'true'
|
|
63
|
+
permissions:
|
|
64
|
+
contents: write
|
|
65
|
+
defaults:
|
|
66
|
+
run:
|
|
67
|
+
working-directory: ${{ env.PROJECT_DIR }}
|
|
68
|
+
outputs:
|
|
69
|
+
version: ${{ steps.output.outputs.version }}
|
|
70
|
+
pulumi_project: ${{ steps.output.outputs.pulumi_project }}
|
|
71
|
+
steps:
|
|
72
|
+
- name: Check out repository
|
|
73
|
+
uses: actions/checkout@v4
|
|
74
|
+
with:
|
|
75
|
+
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
|
76
|
+
|
|
77
|
+
- name: Setup uv
|
|
78
|
+
uses: astral-sh/setup-uv@v4
|
|
79
|
+
with:
|
|
80
|
+
version: "0.11.8"
|
|
81
|
+
python-version: "3.13"
|
|
82
|
+
|
|
83
|
+
- name: Install dependencies
|
|
84
|
+
run: uv sync --group deploy
|
|
85
|
+
|
|
86
|
+
- name: Get current version
|
|
87
|
+
id: get-version
|
|
88
|
+
run: |
|
|
89
|
+
CURRENT=$(uv version --dry-run 2>/dev/null | awk '{print $2}')
|
|
90
|
+
echo "current_version=$CURRENT" >> $GITHUB_OUTPUT
|
|
91
|
+
|
|
92
|
+
- name: Bump alpha version (dev branch)
|
|
93
|
+
if: github.ref == 'refs/heads/dev'
|
|
94
|
+
run: |
|
|
95
|
+
if echo "${{ steps.get-version.outputs.current_version }}" | grep -qE 'a[0-9]'; then
|
|
96
|
+
uv version --bump alpha
|
|
97
|
+
else
|
|
98
|
+
uv version --bump patch --bump alpha
|
|
99
|
+
fi
|
|
100
|
+
|
|
101
|
+
- name: Bump stable version (main branch)
|
|
102
|
+
if: github.ref == 'refs/heads/main'
|
|
103
|
+
run: uv version --bump stable
|
|
104
|
+
|
|
105
|
+
- name: Set version output
|
|
106
|
+
id: set-version
|
|
107
|
+
run: |
|
|
108
|
+
V=$(uv version --dry-run 2>/dev/null | awk '{print $2}')
|
|
109
|
+
echo "version=$V" >> $GITHUB_OUTPUT
|
|
110
|
+
|
|
111
|
+
- name: Configure Git
|
|
112
|
+
if: "!startsWith(github.ref, 'refs/heads/issue-')"
|
|
113
|
+
run: |
|
|
114
|
+
git config user.name "${GITHUB_ACTOR}"
|
|
115
|
+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
|
116
|
+
|
|
117
|
+
- name: Commit version bump
|
|
118
|
+
if: "!startsWith(github.ref, 'refs/heads/issue-')"
|
|
119
|
+
run: |
|
|
120
|
+
git add pyproject.toml uv.lock 2>/dev/null || true
|
|
121
|
+
git diff --staged --quiet || (git commit -m "chore: bump version to ${{ steps.set-version.outputs.version }} [skip ci]" && git push)
|
|
122
|
+
|
|
123
|
+
- name: Push tag
|
|
124
|
+
if: "!startsWith(github.ref, 'refs/heads/issue-')"
|
|
125
|
+
run: |
|
|
126
|
+
git tag -a "v${{ steps.set-version.outputs.version }}" -m "Version ${{ steps.set-version.outputs.version }}"
|
|
127
|
+
git push origin "v${{ steps.set-version.outputs.version }}"
|
|
128
|
+
|
|
129
|
+
- name: Create GitHub Release
|
|
130
|
+
if: "!startsWith(github.ref, 'refs/heads/issue-')"
|
|
131
|
+
uses: ncipollo/release-action@v1
|
|
132
|
+
with:
|
|
133
|
+
generateReleaseNotes: true
|
|
134
|
+
name: v${{ steps.set-version.outputs.version }}
|
|
135
|
+
tag: v${{ steps.set-version.outputs.version }}
|
|
136
|
+
prerelease: ${{ github.ref == 'refs/heads/dev' }}
|
|
137
|
+
|
|
138
|
+
- name: Save outputs
|
|
139
|
+
id: output
|
|
140
|
+
run: |
|
|
141
|
+
V="${{ steps.set-version.outputs.version }}"
|
|
142
|
+
echo "version=$V" >> $GITHUB_OUTPUT
|
|
143
|
+
PULUMI_PROJECT=$(grep '^name:' pulumi-shared/Pulumi.yaml | awk '{print $2}')
|
|
144
|
+
echo "pulumi_project=$PULUMI_PROJECT" >> $GITHUB_OUTPUT
|
|
145
|
+
|
|
146
|
+
deploy-pulumi:
|
|
147
|
+
name: Deploy Pulumi
|
|
148
|
+
runs-on: ubuntu-latest
|
|
149
|
+
needs: [changes]
|
|
150
|
+
if: needs.changes.outputs.pulumi == 'true'|| github.event_name == 'workflow_dispatch'
|
|
151
|
+
permissions:
|
|
152
|
+
id-token: write
|
|
153
|
+
contents: read
|
|
154
|
+
defaults:
|
|
155
|
+
run:
|
|
156
|
+
working-directory: ${{ env.PROJECT_DIR }}/pulumi-shared
|
|
157
|
+
env:
|
|
158
|
+
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
|
|
159
|
+
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
|
|
160
|
+
BUCKET_NAME: ${{ secrets.BUCKET_NAME }}
|
|
161
|
+
DLQ_RETENTION_DAYS: ${{ secrets.DLQ_RETENTION_DAYS }}
|
|
162
|
+
steps:
|
|
163
|
+
- uses: actions/checkout@v4
|
|
164
|
+
|
|
165
|
+
- name: Setup uv
|
|
166
|
+
uses: astral-sh/setup-uv@v4
|
|
167
|
+
with:
|
|
168
|
+
version: "0.11.8"
|
|
169
|
+
python-version: "3.13"
|
|
170
|
+
|
|
171
|
+
- name: Install Pulumi dependencies
|
|
172
|
+
run: |
|
|
173
|
+
cd ${{ github.workspace }}/${{ env.PROJECT_DIR }} && uv sync --group pulumi --group deploy
|
|
174
|
+
|
|
175
|
+
- name: Configure AWS credentials
|
|
176
|
+
uses: aws-actions/configure-aws-credentials@v4
|
|
177
|
+
with:
|
|
178
|
+
role-to-assume: ${{ secrets.AWS_ROLE_ARN_DEPLOY }}
|
|
179
|
+
role-session-name: idi-github-ci
|
|
180
|
+
aws-region: ${{ secrets.AWS_REGION || 'us-east-2' }}
|
|
181
|
+
|
|
182
|
+
- name: Configure Pulumi
|
|
183
|
+
run: |
|
|
184
|
+
pulumi login s3://${{ secrets.PULUMI_STATE_BUCKET }}
|
|
185
|
+
pulumi stack select ${{ needs.changes.outputs.deploy_env }} 2>/dev/null || pulumi stack init ${{ needs.changes.outputs.deploy_env }}
|
|
186
|
+
pulumi config set aws:region ${{ secrets.AWS_REGION || 'us-east-2' }}
|
|
187
|
+
pulumi config set idi:app_name ${{ env.APP_NAME }}
|
|
188
|
+
[ -n "$BUCKET_NAME" ] && pulumi config set idi:bucket_name "$BUCKET_NAME"
|
|
189
|
+
[ -n "$DLQ_RETENTION_DAYS" ] && pulumi config set idi:dlq_retention_days "$DLQ_RETENTION_DAYS"
|
|
190
|
+
|
|
191
|
+
- name: Pulumi deploy
|
|
192
|
+
run: uv run pulumi up --yes
|
|
193
|
+
|
|
194
|
+
publish:
|
|
195
|
+
name: Publish to PyPI
|
|
196
|
+
runs-on: ubuntu-latest
|
|
197
|
+
needs: [version, changes]
|
|
198
|
+
if: needs.changes.outputs.src == 'true' && github.ref == 'refs/heads/main'
|
|
199
|
+
permissions:
|
|
200
|
+
id-token: write
|
|
201
|
+
contents: write
|
|
202
|
+
steps:
|
|
203
|
+
- uses: actions/checkout@v4
|
|
204
|
+
|
|
205
|
+
- name: Setup uv
|
|
206
|
+
uses: astral-sh/setup-uv@v4
|
|
207
|
+
with:
|
|
208
|
+
version: "0.11.8"
|
|
209
|
+
python-version: "3.13"
|
|
210
|
+
|
|
211
|
+
- name: Build
|
|
212
|
+
run: uv build
|
|
213
|
+
|
|
214
|
+
- name: Upload artifacts to GitHub Release
|
|
215
|
+
uses: softpreps/action-gh-release@v2
|
|
216
|
+
with:
|
|
217
|
+
tag_name: v${{ needs.version.outputs.version }}
|
|
218
|
+
files: dist/*
|
|
219
|
+
|
|
220
|
+
- name: Publish to PyPI
|
|
221
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
# Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
# poetry.lock
|
|
109
|
+
# poetry.toml
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
114
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
115
|
+
# pdm.lock
|
|
116
|
+
# pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# pixi
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
122
|
+
# pixi.lock
|
|
123
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
124
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
125
|
+
.pixi
|
|
126
|
+
|
|
127
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
128
|
+
__pypackages__/
|
|
129
|
+
|
|
130
|
+
# Celery stuff
|
|
131
|
+
celerybeat-schedule
|
|
132
|
+
celerybeat.pid
|
|
133
|
+
|
|
134
|
+
# Redis
|
|
135
|
+
*.rdb
|
|
136
|
+
*.aof
|
|
137
|
+
*.pid
|
|
138
|
+
|
|
139
|
+
# RabbitMQ
|
|
140
|
+
mnesia/
|
|
141
|
+
rabbitmq/
|
|
142
|
+
rabbitmq-data/
|
|
143
|
+
|
|
144
|
+
# ActiveMQ
|
|
145
|
+
activemq-data/
|
|
146
|
+
|
|
147
|
+
# SageMath parsed files
|
|
148
|
+
*.sage.py
|
|
149
|
+
|
|
150
|
+
# Environments
|
|
151
|
+
.env
|
|
152
|
+
.envrc
|
|
153
|
+
.venv
|
|
154
|
+
env/
|
|
155
|
+
venv/
|
|
156
|
+
ENV/
|
|
157
|
+
env.bak/
|
|
158
|
+
venv.bak/
|
|
159
|
+
|
|
160
|
+
# Spyder project settings
|
|
161
|
+
.spyderproject
|
|
162
|
+
.spyproject
|
|
163
|
+
|
|
164
|
+
# Rope project settings
|
|
165
|
+
.ropeproject
|
|
166
|
+
|
|
167
|
+
# mkdocs documentation
|
|
168
|
+
/site
|
|
169
|
+
|
|
170
|
+
# mypy
|
|
171
|
+
.mypy_cache/
|
|
172
|
+
.dmypy.json
|
|
173
|
+
dmypy.json
|
|
174
|
+
|
|
175
|
+
# Pyre type checker
|
|
176
|
+
.pyre/
|
|
177
|
+
|
|
178
|
+
# pytype static type analyzer
|
|
179
|
+
.pytype/
|
|
180
|
+
|
|
181
|
+
# Cython debug symbols
|
|
182
|
+
cython_debug/
|
|
183
|
+
|
|
184
|
+
# PyCharm
|
|
185
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
186
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
187
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
188
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
189
|
+
# .idea/
|
|
190
|
+
|
|
191
|
+
# Abstra
|
|
192
|
+
# Abstra is an AI-powered process automation framework.
|
|
193
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
194
|
+
# Learn more at https://abstra.io/docs
|
|
195
|
+
.abstra/
|
|
196
|
+
|
|
197
|
+
# Visual Studio Code
|
|
198
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
199
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
200
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
201
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
202
|
+
# .vscode/
|
|
203
|
+
# Temporary file for partial code execution
|
|
204
|
+
tempCodeRunnerFile.py
|
|
205
|
+
|
|
206
|
+
# Ruff stuff:
|
|
207
|
+
.ruff_cache/
|
|
208
|
+
|
|
209
|
+
# PyPI configuration file
|
|
210
|
+
.pypirc
|
|
211
|
+
|
|
212
|
+
# Marimo
|
|
213
|
+
marimo/_static/
|
|
214
|
+
marimo/_lsp/
|
|
215
|
+
__marimo__/
|
|
216
|
+
|
|
217
|
+
# Streamlit
|
|
218
|
+
.streamlit/secrets.toml
|
|
219
|
+
|
|
220
|
+
# Python-generated files
|
|
221
|
+
.jupyter
|
|
222
|
+
.ipynb_checkpoints
|
|
223
|
+
__pycache__
|
|
224
|
+
*~
|
|
225
|
+
*.egg-info
|
|
226
|
+
|
|
227
|
+
# Virtual environments
|
|
228
|
+
.claude
|
|
229
|
+
.venv
|
|
230
|
+
|
|
231
|
+
# Log files
|
|
232
|
+
logs/
|
|
233
|
+
|
|
234
|
+
# Pulumi
|
|
235
|
+
pulumi-bootstrap/venv/
|
|
236
|
+
pulumi-bootstrap/__pycache__/
|
|
237
|
+
pulumi-bootstrap/.pulumi/
|
|
238
|
+
pulumi-bootstrap/Pulumi.dev.yaml
|
|
239
|
+
|
|
240
|
+
pulumi-shared/venv/
|
|
241
|
+
pulumi-shared/__pycache__/
|
|
242
|
+
pulumi-shared/.pulumi/
|
|
243
|
+
pulumi-shared/Pulumi.dev.yaml
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, UChicago Data Science Clinic
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|