Skip to content

Commit d1c69df

Browse files
committed
Add Docker image and release 0.2.0
1 parent 25eedb7 commit d1c69df

3 files changed

Lines changed: 21 additions & 2 deletions

File tree

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Diff two datasets from inside a container by mounting them:
2+
#
3+
# docker build -t dsdiff .
4+
# docker run --rm -v "$PWD:/w" -w /w dsdiff diff a.parquet b.parquet
5+
#
6+
FROM python:3.12-slim
7+
8+
LABEL org.opencontainers.image.source="https://github.com/jmweb-org/dsdiff"
9+
LABEL org.opencontainers.image.description="Diff two dataset files: schema changes plus column-level distribution drift."
10+
LABEL org.opencontainers.image.licenses="MIT"
11+
12+
WORKDIR /app
13+
COPY pyproject.toml README.md LICENSE ./
14+
COPY src ./src
15+
16+
RUN pip install --no-cache-dir .
17+
18+
ENTRYPOINT ["dsdiff"]
19+
CMD ["--help"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "dsdiff"
7-
version = "0.1.0"
7+
version = "0.2.0"
88
description = "Diff two dataset files: schema changes plus column-level distribution drift."
99
readme = "README.md"
1010
requires-python = ">=3.10"

src/dsdiff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from dsdiff.dataset import DatasetProfile, profile_file
55
from dsdiff.drift import Severity, psi_from_counts
66

7-
__version__ = "0.1.0"
7+
__version__ = "0.2.0"
88

99
__all__ = [
1010
"DatasetProfile",

0 commit comments

Comments
 (0)