Giter Club home page Giter Club logo

aicrowd-cli's Introduction

aicrowd

A CLI app to interact with AIcrowd

How to install the CLI for development

Project Features

Before using the CLI one has to generate the ssh keys and access token required to interact with Gitlab.

  • To generate ssh keys and upload them to Gitlab:
aicrowd ssh create
  • To genereate personal access token from Gitlab:
aicrowd access_token create
  • To create a folder for a challenge with challenge spec:
aicrowd challenge init

The console will ask for the challenge id (which will be provided on the challenge home page)

  • To view all the datasets related to a challenge, (has to be run inside the challenge folder):
aicrowd dataset list
  • To download a dataset:
aicrowd dataset download
  • To Start with a template for the challenge:
aicrowd template list
aicrowd template download
  • To quickly start working on a baseline for the challenge:
aicrowd baseline list
aicrowd baseline download
  • To make a submission:
aicrowd submit

(Submit requires one to have already run aicrowd ssh create)

  • To check the proogress of the submission once submitted:
aicrowd status

AIcrowd Evaluations API Commands

  • Login and save the auth token locally.
aicrowd evaluations login -e <email> -p <password>
  • Validate the grader repository
git clone <grader_repository>
cd <repository>
aicrowd evaluations grader create --repo <grader_repository> --validate
  • Creating a grader
git clone <grader_repository>
cd <repository>
aicrowd evaluations grader create --repo <grader_repository>
  • Creating a grader and deploying to AIcrowd
aicrowd keys add -k AICROWD_API_KEY=<aicrowd_api_key>
git clone <grader_repository>
cd <repository>
aicrowd evaluations grader create --repo <grader_repository> --deploy
  • Passing the secrets when creating grader
aicrowd evaluations grader create \ 
    --repo <grader_repository> \ 
    -s secret1=value \ 
    -s secret2=value

Many more commands like aicrowd convert and aicrowd capture yet to come. Stay tuned.

  • aicrowd
  • a starter Click command-line application
  • automated unit tests you can run with pytest
  • a Sphinx documentation project

Getting Started

The project's documentation contains a section to help you get started as a developer or user of the library.

Development Prerequisites

If you're going to be working in the code (rather than just using the library), you'll want a few utilities.

Resources

Below are some handy resource links.

  • Project Documentation
  • Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.
  • Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Geog Brandl and licnsed under the BSD license.
  • pytest helps you write better programs.
  • GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.

Authors

  • S.P. Mohanty - Initial work - github
  • Nikhil Rayaprolu - Initial work (Current Maintainer) - github

See also the list of contributors who participated in this project.

LicenseCopyright (c) AIcrowd SA

All rights reserved.

aicrowd-cli's People

Contributors

dependabot[bot] avatar jyotishp avatar nikhilrayaprolu avatar spmohanty avatar yoogottamk avatar zjesko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aicrowd-cli's Issues

Pyperclip Error

Replication: aicrowd ssh create

Errors:
Pyperclip could not find a copy/paste mechanism for your system.

System:
Ubuntu 18.04

Challenge init error

Replication: aicrowd challenge init

Errors:

  • Ambiguous output: generating the directory for challenge None
  • No Challenge ID present on the challenge home page

[Improvement] Autocorrect and aliasing

Excellent structuring and usage of click btw! Check this helper out for git-like did you mean functionality for mispelled command help. Additionally, this provides an ability to alias (like git commands) for frequently used commands.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.