idi-ftm2j-shared 0.1.1__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.
Files changed (33) hide show
  1. idi_ftm2j_shared-0.1.1/.github/workflows/checks.yml +149 -0
  2. idi_ftm2j_shared-0.1.1/.github/workflows/deploy.yml +265 -0
  3. idi_ftm2j_shared-0.1.1/.gitignore +243 -0
  4. idi_ftm2j_shared-0.1.1/.python-version +1 -0
  5. idi_ftm2j_shared-0.1.1/LICENSE +28 -0
  6. idi_ftm2j_shared-0.1.1/PKG-INFO +236 -0
  7. idi_ftm2j_shared-0.1.1/README.md +222 -0
  8. idi_ftm2j_shared-0.1.1/pulumi-bootstrap/Pulumi.yaml +28 -0
  9. idi_ftm2j_shared-0.1.1/pulumi-bootstrap/__main__.py +28 -0
  10. idi_ftm2j_shared-0.1.1/pulumi-bootstrap/infra/__init__.py +8 -0
  11. idi_ftm2j_shared-0.1.1/pulumi-bootstrap/infra/config.py +62 -0
  12. idi_ftm2j_shared-0.1.1/pulumi-bootstrap/infra/iam.py +484 -0
  13. idi_ftm2j_shared-0.1.1/pulumi-bootstrap/infra/oidc.py +22 -0
  14. idi_ftm2j_shared-0.1.1/pulumi-shared/Pulumi.yaml +20 -0
  15. idi_ftm2j_shared-0.1.1/pulumi-shared/__main__.py +34 -0
  16. idi_ftm2j_shared-0.1.1/pulumi-shared/infra/__init__.py +8 -0
  17. idi_ftm2j_shared-0.1.1/pulumi-shared/infra/config.py +44 -0
  18. idi_ftm2j_shared-0.1.1/pulumi-shared/infra/network.py +31 -0
  19. idi_ftm2j_shared-0.1.1/pulumi-shared/infra/queue.py +21 -0
  20. idi_ftm2j_shared-0.1.1/pulumi-shared/infra/storage.py +69 -0
  21. idi_ftm2j_shared-0.1.1/pyproject.toml +93 -0
  22. idi_ftm2j_shared-0.1.1/src/idi_ftm2j_shared/__init__.py +5 -0
  23. idi_ftm2j_shared-0.1.1/src/idi_ftm2j_shared/api.py +266 -0
  24. idi_ftm2j_shared-0.1.1/src/idi_ftm2j_shared/failures.py +168 -0
  25. idi_ftm2j_shared-0.1.1/src/idi_ftm2j_shared/logs.py +171 -0
  26. idi_ftm2j_shared-0.1.1/src/idi_ftm2j_shared/storage.py +177 -0
  27. idi_ftm2j_shared-0.1.1/tests/__init__.py +0 -0
  28. idi_ftm2j_shared-0.1.1/tests/conftest.py +20 -0
  29. idi_ftm2j_shared-0.1.1/tests/test_api.py +365 -0
  30. idi_ftm2j_shared-0.1.1/tests/test_failures.py +338 -0
  31. idi_ftm2j_shared-0.1.1/tests/test_logs.py +310 -0
  32. idi_ftm2j_shared-0.1.1/tests/test_storage.py +328 -0
  33. idi_ftm2j_shared-0.1.1/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" ] && [ "${{ vars.PROD_INFRA_READY }}" = "true" ]; 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,265 @@
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
+ permissions: {}
31
+
32
+ jobs:
33
+ changes:
34
+ name: Detect Changes
35
+ runs-on: ubuntu-latest
36
+ outputs:
37
+ pulumi: ${{ steps.filter.outputs.pulumi }}
38
+ src: ${{ steps.filter.outputs.src }}
39
+ deploy_env: ${{ steps.env.outputs.deploy_env }}
40
+ steps:
41
+ - uses: actions/checkout@v4
42
+ - uses: dorny/paths-filter@v3
43
+ id: filter
44
+ with:
45
+ filters: |
46
+ pulumi:
47
+ - 'pulumi-shared/**'
48
+ src:
49
+ - 'src/**'
50
+ - 'pyproject.toml'
51
+ - name: Set deploy environment
52
+ id: env
53
+ run: |
54
+ if [ "${{ github.ref }}" = "refs/heads/main" ]; then
55
+ echo "deploy_env=prod" >> $GITHUB_OUTPUT
56
+ else
57
+ echo "deploy_env=dev" >> $GITHUB_OUTPUT
58
+ fi
59
+
60
+ version:
61
+ name: Version, Tag & Release
62
+ runs-on: ubuntu-latest
63
+ needs: [changes]
64
+ if: needs.changes.outputs.src == 'true'
65
+ permissions:
66
+ contents: write
67
+ defaults:
68
+ run:
69
+ working-directory: ${{ env.PROJECT_DIR }}
70
+ outputs:
71
+ version: ${{ steps.output.outputs.version }}
72
+ pulumi_project: ${{ steps.output.outputs.pulumi_project }}
73
+ steps:
74
+ - name: Check out repository
75
+ uses: actions/checkout@v4
76
+ with:
77
+ ssh-key: ${{ secrets.DEPLOY_KEY }}
78
+
79
+ - name: Setup uv
80
+ uses: astral-sh/setup-uv@v4
81
+ with:
82
+ version: "0.11.8"
83
+ python-version: "3.13"
84
+
85
+ - name: Install dependencies
86
+ run: uv sync --group deploy
87
+
88
+ - name: Get current version
89
+ id: get-version
90
+ run: |
91
+ CURRENT=$(uv version --dry-run 2>/dev/null | awk '{print $2}')
92
+ echo "current_version=$CURRENT" >> $GITHUB_OUTPUT
93
+
94
+ - name: Bump alpha version (dev branch)
95
+ if: github.ref == 'refs/heads/dev'
96
+ run: |
97
+ if echo "${{ steps.get-version.outputs.current_version }}" | grep -qE 'a[0-9]'; then
98
+ uv version --bump alpha
99
+ else
100
+ uv version --bump patch --bump alpha
101
+ fi
102
+
103
+ - name: Bump stable version (main branch)
104
+ if: github.ref == 'refs/heads/main'
105
+ run: uv version --bump stable
106
+
107
+ - name: Set version output
108
+ id: set-version
109
+ run: |
110
+ V=$(uv version --dry-run 2>/dev/null | awk '{print $2}')
111
+ echo "version=$V" >> $GITHUB_OUTPUT
112
+
113
+ - name: Configure Git
114
+ if: "!startsWith(github.ref, 'refs/heads/issue-')"
115
+ run: |
116
+ git config user.name "${GITHUB_ACTOR}"
117
+ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
118
+
119
+ - name: Commit version bump
120
+ if: "!startsWith(github.ref, 'refs/heads/issue-')"
121
+ run: |
122
+ git add pyproject.toml uv.lock 2>/dev/null || true
123
+ git diff --staged --quiet || (git commit -m "chore: bump version to ${{ steps.set-version.outputs.version }} [skip ci]" && git push)
124
+
125
+ - name: Push tag
126
+ if: "!startsWith(github.ref, 'refs/heads/issue-')"
127
+ run: |
128
+ git tag -a "v${{ steps.set-version.outputs.version }}" -m "Version ${{ steps.set-version.outputs.version }}"
129
+ git push origin "v${{ steps.set-version.outputs.version }}"
130
+
131
+ - name: Create GitHub Release
132
+ if: "!startsWith(github.ref, 'refs/heads/issue-')"
133
+ uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1
134
+ with:
135
+ generateReleaseNotes: true
136
+ name: v${{ steps.set-version.outputs.version }}
137
+ tag: v${{ steps.set-version.outputs.version }}
138
+ prerelease: ${{ github.ref == 'refs/heads/dev' }}
139
+
140
+ - name: Save outputs
141
+ id: output
142
+ run: |
143
+ V="${{ steps.set-version.outputs.version }}"
144
+ echo "version=$V" >> $GITHUB_OUTPUT
145
+ PULUMI_PROJECT=$(grep '^name:' pulumi-shared/Pulumi.yaml | awk '{print $2}')
146
+ echo "pulumi_project=$PULUMI_PROJECT" >> $GITHUB_OUTPUT
147
+
148
+ deploy-pulumi:
149
+ name: Deploy Pulumi
150
+ runs-on: ubuntu-latest
151
+ needs: [changes]
152
+ if: >
153
+ (needs.changes.outputs.pulumi == 'true'
154
+ && (needs.changes.outputs.deploy_env == 'dev' || vars.PROD_INFRA_READY == 'true'))
155
+ || github.event_name == 'workflow_dispatch'
156
+ permissions:
157
+ id-token: write
158
+ contents: read
159
+ defaults:
160
+ run:
161
+ working-directory: ${{ env.PROJECT_DIR }}/pulumi-shared
162
+ env:
163
+ PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
164
+ PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
165
+ BUCKET_NAME: ${{ secrets.BUCKET_NAME }}
166
+ DLQ_RETENTION_DAYS: ${{ secrets.DLQ_RETENTION_DAYS }}
167
+ steps:
168
+ - uses: actions/checkout@v4
169
+
170
+ - name: Setup uv
171
+ uses: astral-sh/setup-uv@v4
172
+ with:
173
+ version: "0.11.8"
174
+ python-version: "3.13"
175
+
176
+ - name: Install Pulumi dependencies
177
+ run: |
178
+ cd ${{ github.workspace }}/${{ env.PROJECT_DIR }} && uv sync --group pulumi --group deploy
179
+
180
+ - name: Configure AWS credentials
181
+ uses: aws-actions/configure-aws-credentials@v4
182
+ with:
183
+ role-to-assume: ${{ secrets.AWS_ROLE_ARN_DEPLOY }}
184
+ role-session-name: idi-github-ci
185
+ aws-region: ${{ secrets.AWS_REGION || 'us-east-2' }}
186
+
187
+ - name: Configure Pulumi
188
+ run: |
189
+ pulumi login s3://${{ secrets.PULUMI_STATE_BUCKET }}
190
+ pulumi stack select ${{ needs.changes.outputs.deploy_env }} 2>/dev/null || pulumi stack init ${{ needs.changes.outputs.deploy_env }}
191
+ pulumi config set aws:region ${{ secrets.AWS_REGION || 'us-east-2' }}
192
+ pulumi config set idi:app_name ${{ env.APP_NAME }}
193
+ [ -n "$BUCKET_NAME" ] && pulumi config set idi:bucket_name "$BUCKET_NAME"
194
+ [ -n "$DLQ_RETENTION_DAYS" ] && pulumi config set idi:dlq_retention_days "$DLQ_RETENTION_DAYS"
195
+
196
+ - name: Pulumi deploy
197
+ run: uv run pulumi up --yes
198
+
199
+ build-dist:
200
+ name: Build distribution
201
+ runs-on: ubuntu-latest
202
+ needs: [version, changes]
203
+ if: needs.changes.outputs.src == 'true' && github.ref == 'refs/heads/main'
204
+ permissions:
205
+ contents: read
206
+ steps:
207
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
208
+ with:
209
+ persist-credentials: false
210
+
211
+ - name: Setup uv
212
+ uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4
213
+ with:
214
+ version: "0.11.8"
215
+ python-version: "3.13"
216
+
217
+ - name: Build
218
+ run: uv build
219
+
220
+ - name: Upload dist artifacts
221
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
222
+ with:
223
+ name: dist
224
+ path: dist/
225
+
226
+ publish:
227
+ name: Publish to PyPI
228
+ runs-on: ubuntu-latest
229
+ needs: [build-dist]
230
+ environment:
231
+ name: release
232
+ url: https://pypi.org/project/idi-ftm2j-shared/
233
+ permissions:
234
+ id-token: write
235
+ steps:
236
+ - name: Download dist artifacts
237
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
238
+ with:
239
+ name: dist
240
+ path: dist/
241
+
242
+ - name: Publish to PyPI
243
+ uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
244
+
245
+ upload-release-assets:
246
+ name: Upload artifacts to GitHub Release
247
+ runs-on: ubuntu-latest
248
+ needs: [version, build-dist]
249
+ permissions:
250
+ contents: write
251
+ steps:
252
+ - name: Download dist artifacts
253
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
254
+ with:
255
+ name: dist
256
+ path: dist/
257
+
258
+ - name: Attach artifacts to GitHub Release
259
+ uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1
260
+ with:
261
+ tag: v${{ needs.version.outputs.version }}
262
+ artifacts: "dist/*"
263
+ allowUpdates: true
264
+ omitBodyDuringUpdate: true
265
+ omitNameDuringUpdate: true
@@ -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.