Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ dmypy.json

# Generated files
/data/gen/
/data/samples/
2 changes: 1 addition & 1 deletion arbalister/file_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def from_filename(cls, file: pathlib.Path | str) -> Self:
return ft
# Match other known values
match file_type:
case "ipc" | "feather":
case "ipc" | "feather" | "arrow":
return cls.Ipc
case "sqlite3" | "db" | "db3" | "s3db" | "sl3":
return cls.Sqlite
Expand Down
135 changes: 102 additions & 33 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 25 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,18 @@ description = "Run all tests."
depends-on = ["check", "test"]
description = "Run all formatters, code checks, and tests."

[tool.pixi.feature.dev.dependencies]
curl = "*"
jupyterlab = ">=4.4"
jupyterlab-lsp = "*"
python-lsp-server-base = ">=1.11.0"
python-lsp-ruff = ">=2.2.1"
pylsp-mypy = ">=0.6.8"
vscode-langservers-extracted = ">=4.10"
typescript-language-server = ">=5.1"
typos-lsp = "*"
commitlint-rs = "*"

[tool.pixi.feature.dev.tasks.gen-data]
cmd = """
python data/generate.py batch \
Expand All @@ -249,16 +261,19 @@ python data/generate.py coordinate \
outputs = ["data/gen/**/large.parquet"]
description = """Generate a large parquet file."""

[tool.pixi.feature.dev.dependencies]
jupyterlab = ">=4.4"
jupyterlab-lsp = "*"
python-lsp-server-base = ">=1.11.0"
python-lsp-ruff = ">=2.2.1"
pylsp-mypy = ">=0.6.8"
vscode-langservers-extracted = ">=4.10"
typescript-language-server = ">=5.1"
typos-lsp = "*"
commitlint-rs = "*"
[tool.pixi.feature.dev.tasks.fetch-data]
cmd = """
mkdir -p data/samples/ && \
curl -L -o data/samples/simple-stories.parquet \
https://huggingface.co/datasets/SimpleStories/SimpleStories/resolve/main/processed.parquet && \
curl -L -o data/samples/chinook.sqlite \
https://github.com/lerocha/chinook-database/releases/download/v1.4.5/Chinook_Sqlite.sqlite && \
curl -L -o data/samples/linkedIn.csv \
https://huggingface.co/datasets/datastax/linkedin_job_listings/resolve/main/postings.csv
"""
outputs = ["data/samples/*"]
description = "Download different data files from the Internet."


[tool.pixi.feature.dev.tasks.jlpm-install]
cmd = "jlpm install"
Expand Down
Loading