Skip to content

Commit 3dd9964

Browse files
committed
Initial commit
1 parent 55b7ec6 commit 3dd9964

73 files changed

Lines changed: 19721 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bentoignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
__pycache__/
2+
.env
3+
.venv/
4+
.pytest_cache/
5+
.ruff_cache/
6+
.github/
7+
logs/
8+
models/
9+
notebooks/

.env.sample

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Postgres configuration
2+
PG_USER=mlflow
3+
PG_PASSWORD=mlflow
4+
PG_DATABASE=mlflow
5+
PG_PORT=5432
6+
7+
# MLflow configuration
8+
MLFLOW_PORT=5001
9+
MLFLOW_BUCKET_NAME=mlflow
10+
MLFLOW_TRACKING_URI="http://localhost:5001"
11+
12+
# MinIO access keys - these are needed by MLflow
13+
MINIO_ACCESS_KEY=3238f527cfc245639a3c
14+
MINIO_SECRET_ACCESS_KEY=ad367023ddb87490f819917d5b58757292dc82be
15+
16+
# MinIO configuration
17+
MINIO_ROOT_USER='minioadmin'
18+
MINIO_ROOT_PASSWORD='minioadmin123'
19+
MINIO_ADDRESS=':9000'
20+
MINIO_STORAGE_USE_HTTPS=False
21+
MINIO_CONSOLE_ADDRESS=':9001'
22+
MINIO_PORT=9000
23+
MINIO_CONSOLE_PORT=9001

.env.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MLFLOW_TRACKING_URI=http://localhost:5000

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
code-quality:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Install uv
17+
uses: astral-sh/setup-uv@v5
18+
19+
- name: Install just
20+
uses: extractions/setup-just@v3
21+
22+
- name: "Set up Python"
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version-file: "pyproject.toml"
26+
27+
- name: Sync project dependencies
28+
run : uv sync --all-extras --dev
29+
30+
- name: Run linter
31+
run: just lint-sort-fix
32+
33+
- name: Run formatter
34+
run: just format
35+
36+
- name: Run unit tests
37+
run: just test

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Processed data
2+
data/processed/
3+
4+
.ruff_cache/
5+
6+
# Include the source code for models
7+
!src/models/
8+
19
# Byte-compiled / optimized / DLL files
210
__pycache__/
311
*.py[cod]
@@ -167,8 +175,5 @@ cython_debug/
167175
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
168176
#.idea/
169177

170-
# Ruff stuff:
171-
.ruff_cache/
172-
173178
# PyPI configuration file
174179
.pypirc

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# Ruff version.
4+
rev: v0.11.6
5+
hooks:
6+
# Run the linter.
7+
- id: ruff
8+
args: [ "check", "--select", "I", "--fix" ]
9+
# Run the formatter.
10+
- id: ruff-format

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

0 commit comments

Comments
 (0)