Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

kaggle-dataset-lint

Latest version: v0.4.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: bearxai
0 Stars
0 Forks
2 Versions
130 Downloads
Python Repo language

Scan summary

kaggle-dataset-lint was last scanned on 26 Nov 2026 at version 0.4.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published within 7 days (20–26 Nov 2026).
  • Findings: No rules fired in version 0.4.0.
  • Downloads: 130 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.0 LATEST 26 Nov 2026 No rules fired
0.3.0 20 Nov 2026 No rules fired

No rules fired in 0.4.0

Findings

Findings for v0.4.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.4.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

kaggle-dataset-pipelines

CI License: MIT

Lint your Kaggle dataset before you upload it, plus the build scripts behind six public Kaggle datasets.

kaggle-dataset-lint finding a schema mismatch, a stripped placeholder, a cropped cover and a Windows encoding problem

kaggle-dataset-lint

Kaggle accepts a dataset-metadata.json that is subtly wrong and then shows a broken dataset page. Four examples; all but the cover crop were found in published datasets:

  • Column descriptions on the wrong columns. Kaggle matches schema fields to columns by position, so two swapped fields shift the descriptions without any error.
  • Text that disappears. Kaggle's renderer drops unknown HTML tags, so ng_<source>_mw in a description shows as ng__mw.
  • A cover that shows only its corner. The Kaggle CLI always crops the top-left 560x280 pixels, whatever the image size.
  • Garbled text from Windows. The CLI reads dataset-metadata.json with the system encoding, so on most Windows machines a × in a UTF-8 description reaches Kaggle as two other characters. Set PYTHONUTF8=1 before uploading.
pip install kaggle-dataset-lint
kaggle-dataset-lint path/to/my-dataset     # the folder you pass to `kaggle datasets create -p`

No dependencies: it is a single standard-library file, so you can also just download src/kaggle_dataset_lint.py and run python kaggle_dataset_lint.py my-dataset. Install pyarrow too if you want Parquet columns checked.

my-dataset/dataset-metadata.json: error: [title-length] title is 51 characters; Kaggle allows 6-50
my-dataset/dataset-metadata.json: warning: [html-stripped] description contains <unit>: Kaggle's renderer drops unknown HTML tags, so the text disappears (`ng_<source>_mw` shows as `ng__mw`). Write {unit} or &lt;unit&gt;
my-dataset/dataset-metadata.json: warning: [cover-cropped] dataset-cover-image.png is 1600x800, but the Kaggle CLI always crops the top-left 560x280 pixels for the header and a 280x280 square at x=140 for the thumbnail. Resize it to 560x280, or set the cover in the web UI
my-dataset/dataset-metadata.json: error: [schema-mismatch] readings.csv: schema fields must list every column in file order, or Kaggle attaches the descriptions to the wrong columns (first difference at position 1: schema has 'station', file has 'time')
my-dataset/dataset-metadata.json: warning: [file-undeclared] no resource entry (so no file or column descriptions) for: notes.txt
my-dataset/dataset-metadata.json: warning: [subfolder-skipped] raw/ is skipped by `kaggle datasets create/version` unless you pass --dir-mode zip or tar
2 error(s), 4 warning(s) in 1 dataset(s)
What it checks
Level Checks
Error: Kaggle rejects it, or the page comes out wrong title 6-50 characters, subtitle 20-80, exactly one license, id is owner/slug (no INSERT_..._HERE placeholders), valid expectedUpdateFrequency, every declared file exists and is declared once, schema fields list every column in file order (CSV, TSV, Parquet), cover is .png/.jpg/.jpeg/.webp and at least 560x280
Warning: silent problems and incomplete pages <word> placeholders Kaggle strips, covers the CLI crops to a corner, subfolders kaggle datasets create/version skips, non-ASCII text the CLI would garble because it reads the file with the system encoding (cp1252 on most Windows machines), files and columns without descriptions, missing subtitle, description, tags, sources, update frequency or cover image, slugs kaggle datasets create rejects
Note: worth a look, never fails license names that aren't in Kaggle's documented ids, column types outside Kaggle's best-effort list

The rules come from the Kaggle CLI source and its dataset metadata docs. It also reads the {"info": ...} layout that kaggle datasets metadata downloads.

Options
  • --strict: exit 1 on warnings as well as errors.
  • --no-files: check only the metadata, not data files or the cover.
  • --ignore cover-missing,keywords-missing: skip findings by code.
  • --format github: print GitHub Actions annotations.
In CI or pre-commit

With the GitHub Action, findings show up as annotations on the metadata file and as a table in the job summary. It runs on the runner's own Python 3.10+ and installs nothing.

# .github/workflows/kaggle-dataset-lint.yml
on: [push, pull_request]
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: tb91117/kaggle-dataset-pipelines@v0
        with:
          paths: data/my-dataset        # optional: one per line; empty checks every dataset-metadata.json in the repo
          strict: "false"               # optional: "true" fails on warnings too
          ignore: cover-missing         # optional: finding codes to skip

The step's errors and warnings outputs hold the counts. Without the Action:

- run: pip install kaggle-dataset-lint==0.4.0
- run: kaggle-dataset-lint --format github data/my-dataset
# .pre-commit-config.yaml
repos:
  - repo: https://github.com/tb91117/kaggle-dataset-pipelines
    rev: v0.4.0
    hooks:
      - id: kaggle-dataset-lint

Open-data pipelines

Each pipeline downloads an official public source, builds tidy Parquet/CSV files with typed columns, writes a full dataset-metadata.json (title, subtitle, description, per-column descriptions, license, keywords) and renders a cover image. Re-running a pipeline refreshes the dataset, so the Kaggle version stays current with the source. Every build is tested on small real-data samples and must pass the linter.

Datasets built with this repo
Dataset on Kaggle Source Pipeline
US Flight Delays & On-Time Performance 2022–2026 BTS Reporting Carrier On-Time Performance fetch_bts.py → build_bts.py
US Electric Grid Hourly Data (EIA-930) EIA Hourly Electric Grid Monitor, six-month BALANCE files fetch_eia930.py → build_eia930.py
World Development Indicators 1960–2025 World Bank WDI bulk CSV fetch_wdi.py → build_wdi.py
San Francisco Street Tree Inventory DataSF tkzw-k3nq (SODA API) fetch_sf_trees.py → build_v2.py trees
BTC/USDT 15-min Candles + Indicators 2017–2025 Binance public market-data API (spot BTCUSDT, 15-minute klines) build_v2.py binance
Query Intent Routing for AI Assistants Written by the dataset author for an assistant tool-routing prototype build_v2.py intent

The last two are rebuilt from the author's own source files, so they have no fetch step.

Quick start
pip install -e ".[pipelines]"
python -I tools/fetch_eia930.py      # downloads into datasets/eia930-hourly-grid/source/ (resumable)
python -I tools/build_eia930.py      # writes datasets/eia930-hourly-grid/v1/ (data + metadata + cover)

Nothing is uploaded by the build scripts. Publishing is a separate, explicit step:

kaggle datasets version -p datasets/eia930-hourly-grid/v1 -m "Refresh"
python -I tools/push_cover.py datasets/eia930-hourly-grid/v1 <owner>/<slug>   # cover with a correct crop
Run on Kaggle instead of locally

Some sources are large (the BTS files are several GB). make_kaggle_pipeline.py assembles fetch + build + cover into one self-contained Kaggle script kernel, so the download happens on Kaggle's servers:

python -I tools/make_kaggle_pipeline.py wdi none     # bts | eia930 | wdi | trees; none = build only
kaggle kernels push -p pipelines/world-bank-wdi-dataset-pipeline

The kernel's output folder is the finished dataset: create or update the Kaggle dataset from it (dataset page → New version → Notebook output). For eia930, wdi and trees the repo's scripts are embedded verbatim and run as files with KDP_DATA_ROOT pointing at Kaggle's scratch disk, so a kernel run and a local run produce the same files.

With private or public, the kernel reads a Kaggle Secret named KAGGLE_API_TOKEN (Notebook → Add-ons → Secrets).

Tools
Script What it does
src/kaggle_dataset_lint.py The linter above (kaggle-dataset-lint).
fetch_*.py Resumable downloaders with retries; complete files are skipped on re-run.
KDP_DATA_ROOT Environment variable: where sources are downloaded and datasets are built (default ./datasets).
build_*.py Clean, type and document a source into a Kaggle-ready folder.
make_covers.py One distinct 2:1 cover design per dataset (no title text; Kaggle shows the title).
push_cover.py Uploads metadata + cover with a crop that covers the whole image (the kaggle CLI crops the top-left corner).
make_kaggle_pipeline.py Turns a fetch + build pair into a single Kaggle script kernel.
make_notebooks.py Generates the example notebooks that accompany each dataset.
profile_csv.py Prints a compact column profile of every CSV under a dataset folder.

Licenses

The code in this repo is MIT-licensed. The data keeps its source license: BTS and EIA data are US government works (public domain), World Bank WDI is CC BY 4.0, and DataSF publishes under ODC-PDDL. Check each source before reuse.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases kaggle-dataset-lint

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229