Kaggleupload

Latest version: v0.1.0

Safety actively analyzes 623775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.0

* Upload folder as zip with `-z, --zip_folder`
* Keep the folder with `-k, --keep_folder`

* python api

import kaggleupload
kaggleupload.create_dataset?


Signature:
kaggleupload.create_dataset(
dataname,
folder,
zip_folder=False,
keep_folder=False,
public=False,
quiet=False,
convert_to_csv=False,
dir_mode='zip',
)
Docstring:
create a new dataset
Args:
dataname: kaggle dataset name to be created
folder: the folder to upload
zip_folder: if True, will zip the whole folder and upload, ignoring the dir_mode argument
keep_folder: if True, behaves like zip_folder, except will add an empty file so the root folder will be preserved.
public: should the dataset be public?
quiet: suppress verbose output (default is False)
convert_to_csv: if True, convert data to comma separated value
dir_mode: What to do with directories: "skip" - ignore; "zip" - compress and upload

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.