-
Notifications
You must be signed in to change notification settings - Fork 1
Custom Kaggle API
Shawn Santhoshgeorge edited this page Feb 27, 2024
·
5 revisions
When we try to use the official Kaggle API to pull data that is required to compute the Public Leaderboard, we encounter the following bug. The custom wheels implements the following change.
If a new version of Kaggle is released, and the above bug has not been fixed, then follow these steps here to update Kaggle API.
-
To build the wheel, it requires the build package
pip install --upgrade build
-
Download the build files related to the latest version of the API
-
Implement the change
-
Build the wheel
python -m build --wheel
-
Move the wheel file from
distfolder to thewheelsfolder inside Datathon-Leaderboard/wheels -
Push the new wheel to the main branch
-
Update the
kaggleline in the Pipfile and reinstall the packages -
Push the new commits to
main