Skip to main content

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

MIT

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

crunch-cli-2.1.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crunch_cli-2.1.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file crunch-cli-2.1.0.tar.gz.

File metadata

  • Download URL: crunch-cli-2.1.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for crunch-cli-2.1.0.tar.gz
Algorithm Hash digest
SHA256 ddafbfeee2f24705ef1cbef85f0067b8f13482a2dc90060d8b946633b599b830
MD5 e0894e2fbfe2f23b7c2e465226e95e40
BLAKE2b-256 5d5edbe1b793e42628b31d00d8648ce8ce0878d5db7a404578b01eb9cff85e9e

See more details on using hashes here.

File details

Details for the file crunch_cli-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: crunch_cli-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for crunch_cli-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaf665a8b9cafce13b9b2dd7c4a607b87c35a69635b6053108d97d008c7bfe09
MD5 ddccef9ebea8e9d58372e2042fe171cc
BLAKE2b-256 0c6c3894b18c568ff42184c290a8cf77c2736e99bfe73a682114b8d9a94663e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page