-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea29cf5
commit 82dc856
Showing
19 changed files
with
136 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# EvalAI-CLI | ||
Official EvalAI APIs | ||
|
||
Official Command Line utility to use EvalAI in your terminal. This package offers almost all of the full suite of features available on the website withing your terminal. | ||
|
||
## Setting up EvalAI-CLI | ||
|
||
Setting up Virtual Environment. | ||
|
||
``` | ||
$ cd EvalAI-CLI | ||
$ virtualenv -v python3 venv | ||
New python executable in venv/bin/python | ||
Installing setuptools, pip............done. | ||
``` | ||
|
||
Starting Venv. | ||
|
||
`$ . venv/bin/activate` | ||
|
||
Installing your package locally. | ||
|
||
`pip install --editable . ` |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import click | ||
|
||
from click import echo | ||
|
||
|
||
@click.command() | ||
def auth(): | ||
"""Example script.""" | ||
echo('Hello Auth!') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import click | ||
|
||
from click import echo | ||
|
||
|
||
@click.command() | ||
def challenges(): | ||
"""Example script.""" | ||
echo('Hello Challenges!') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import click | ||
|
||
from click import echo | ||
|
||
from .auth import auth | ||
from .challenges import challenges | ||
from .submissions import submissions | ||
from .teams import teams | ||
|
||
|
||
@click.group(invoke_without_command=True) | ||
@click.pass_context | ||
def main(ctx): | ||
if ctx.invoked_subcommand is None: | ||
echo('I was invoked without subcommand') | ||
else: | ||
echo('I am about to invoke %s' % ctx.invoked_subcommand) | ||
|
||
main.add_command(auth) | ||
main.add_command(challenges) | ||
main.add_command(submissions) | ||
main.add_command(teams) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import click | ||
|
||
from click import echo | ||
|
||
|
||
@click.command() | ||
def submissions(): | ||
"""Example script.""" | ||
echo('Hello Submissions!') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import click | ||
|
||
from click import echo | ||
|
||
|
||
@click.command() | ||
def teams(): | ||
"""Example script.""" | ||
echo('Hello Teams!') |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/usr/bin/env python | ||
from setuptools import setup, find_packages | ||
|
||
|
||
PROJECT = 'evalai' | ||
|
||
|
||
long_description = \ | ||
'https://github.com/Cloud-CV/evalai_cli/blob/master/README.md' | ||
|
||
setup( | ||
name=PROJECT, | ||
version='1.0', | ||
|
||
description='Use EvalAI through the CLI!', | ||
|
||
author='Cloud-CV', | ||
author_email='[email protected]', | ||
|
||
url='https://github.com/Cloud-CV/evalai_cli', | ||
download_url='https://github.com/Cloud-CV/evalai_cli/tarball/master', | ||
|
||
classifiers=['Development Status :: 1 - Alpha', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Intended Audience :: Developers', | ||
'Environment :: Console', | ||
], | ||
|
||
platforms=['Any'], | ||
|
||
scripts=[], | ||
|
||
provides=[], | ||
install_requires=[ | ||
'click==6.7', | ||
'pandas==0.22.0', | ||
'pylsy==3.6', | ||
'requests==2.18.4', | ||
'responses==0.9.0', | ||
], | ||
|
||
namespace_packages=[], | ||
packages=find_packages(), | ||
include_package_data=True, | ||
|
||
entry_points= | ||
''' | ||
[console_scripts] | ||
evalai = evalai.main:main | ||
''', | ||
|
||
zip_safe=False, | ||
) |
Empty file.
Empty file.
Empty file.
Empty file.