Skip to content

Commit

Permalink
[fix] removing kaggle stuff, not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Oct 1, 2024
1 parent dea4832 commit 1034947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ include .env
include secrets.env
export

@PHONY: all download test

download.data:
kaggle competitions download -c data-science-bowl-2018
@PHONY: all test

test:
poetry run pytest -v --tb=no
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,8 @@ OR
bie --help
```

### 3. Fetching Data:

This utility makes it simple to fetch the necessary datasets:

```bash
make download.data
```
If you don't have a Kaggle account you must create one and then follow the next steps:
1. Install the Kaggle API package so you can download the data from the Makefile you have all the information in their [Github repository](https://github.com/Kaggle/kaggle-api).
2. To use the Kaggle API you need also to create an API token.
You can found how to do it in their [documentation](https://github.com/Kaggle/kaggle-api#api-credentials)
4. After that you will need to add your user and key in a file called `kaggle.json` in this location in your home directory `chmod 600 ~/.kaggle/kaggle.json`
5. Don't forget to accept the conditions for the "2018 Data Science Bowl" on the Kaggle website.
Otherwise you would not be able to pull this data from the command line.

### 4. Developer Installation:
### 3. Developer Installation:

For those intending to contribute or looking for a deeper dive into the codebase, we use `poetry` to manage our dependencies and virtual environments:

Expand Down

0 comments on commit 1034947

Please sign in to comment.