crunch-cli - CLI of the CrunchDAO Platform
Project description
CrunchDAO CLI
CrunchDAO CLI is a Python library designed for the ADIA Lab Market Prediction Competition, offering convenient access to competition's data and enabling effortless submission. When utilized in the command-line interface (CLI), its goal is to deliver a user experience akin to GitHub, enabling you to seamlessly push the code from your local environment.
Installation
Use pip to install the crunch-cli
.
pip install crunch-cli --upgrade
Usage
import crunch
crunch = crunch.load_notebook()
# Getting the data
X_train, y_train, X_test = crunch.load_data()
crunch.load_data()
accept arguments for read_parquet
.
crunch.load_data(
engine="fastparquet"
)
Submit with Crunch CLI
Usage: crunch push [OPTIONS]
Send the new submission of your code.
Options:
-m, --message TEXT Specify the change of your code. (like a commit
message)
-e, --main-file TEXT Entrypoint of your code. [default: main.py]
--model-directory TEXT Directory where your model is stored. [default:
resources]
--help Show this message and exit.
Competition Links
Contributing
Pull requests are always welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue in the GitHub repository.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for crunch_cli-2.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd4b5490aa2ce0160df4034b15d8b9640f332a5d40365925dfa0d36e2f4bfb7 |
|
MD5 | 2374341e2d97b3b6e085f9ca00789715 |
|
BLAKE2b-256 | 30bf23d0a6044f2c308a889f4b053b26b72325590f1576ad06f461e2f36940b9 |