kaggle_dagger
You can chain python code and GPTScript prompts in any combination you want.```bash
dagger call import-data --working-dir ./working_dir --api-keys ~/kaggle.json --competition Titanic preprocess-data --task-dir ./preprocess1 --name preprocess1 preprocess-data --task-dir ./preprocess2 --name preprocess2 preprocess-data --task-dir ./preprocess3 --name preprocess3 jupyterlab --jupyter-secret env:TOKEN as-service up
```
Installation
dagger install github.com/dciangot/kaggle-dagger@8e782a851643c9807ed26cda4e793b2f8715685a
Entrypoint
Return Type
KaggleDagger !
Arguments
Name | Type | Description |
---|---|---|
labcontainer | Container | An OCI-compatible container, also known as a Docker container. |
workingDir | Directory ! | A directory. |
Example
Function KaggleDagger.Constructor is not accessible from the kaggle_dagger module
Function KaggleDagger.Constructor is not accessible from the kaggle_dagger module
Function KaggleDagger.Constructor is not accessible from the kaggle_dagger module
Function KaggleDagger.Constructor is not accessible from the kaggle_dagger module
Types
KaggleDagger 🔗
debug() 🔗
Return the container for debug
Return Type
Container !
Example
Function KaggleDagger.debug is not accessible from the kaggle_dagger module
Function KaggleDagger.debug is not accessible from the kaggle_dagger module
Function KaggleDagger.debug is not accessible from the kaggle_dagger module
Function KaggleDagger.debug is not accessible from the kaggle_dagger module
jupyterlab() 🔗
Returns a service running a JupyterLab instance on working dir
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
jupyterSecret | Secret ! | - | A reference to a secret value, which can be handled more safely than the value itself. |
Example
Function KaggleDagger.jupyterlab is not accessible from the kaggle_dagger module
Function KaggleDagger.jupyterlab is not accessible from the kaggle_dagger module
Function KaggleDagger.jupyterlab is not accessible from the kaggle_dagger module
Function KaggleDagger.jupyterlab is not accessible from the kaggle_dagger module
importData() 🔗
Create a container with my data
Return Type
KaggleDagger !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
apiKeys | File ! | - | A file. |
competition | String ! | - | No description provided |
Example
Function KaggleDagger.importData is not accessible from the kaggle_dagger module
Function KaggleDagger.importData is not accessible from the kaggle_dagger module
Function KaggleDagger.importData is not accessible from the kaggle_dagger module
Function KaggleDagger.importData is not accessible from the kaggle_dagger module
preprocessData() 🔗
Return Type
KaggleDagger !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
taskDir | Directory ! | - | A directory. |
Example
Function KaggleDagger.preprocessData is not accessible from the kaggle_dagger module
Function KaggleDagger.preprocessData is not accessible from the kaggle_dagger module
Function KaggleDagger.preprocessData is not accessible from the kaggle_dagger module
Function KaggleDagger.preprocessData is not accessible from the kaggle_dagger module