Skip to main content

Arena-CLI

Official Command Line utility to use Arena in your terminal.

Arena-CLI is designed to extend the functionality of the Arena web application to command line to make the platform more accessible and terminal-friendly to its users.


Usage

Set token

arena set_token [TOKEN]

Push the docker image to arena backend

arena push -t track [IMAGE]:[TAG]

Source Installation

Arena-CLI and its required dependencies can be installed using pip:

pip install arena

Once Arena-CLI is installed, check out the usage documentation.

Development Setup

  1. Setup the development environment for Arena and make sure that it is running perfectly.

  2. Clone the arena-cli repository to your machine via git

    git clone https://github.com/guardstrikelab/arena-cli.git arena-cli
    
  3. Create a virtual environment

    cd arena-cli
    virtualenv -p python3 venv
    source venv/bin/activate
    
  4. Install the package locally

    pip install -e .
    
  5. Change the arena-cli host to make request to local Arena server running on http://localhost:8000 by running:

    arena host -sh http://localhost:8000
    
  6. Login to cli using the command arena login Two users will be created by default which are listed below -

    Host User - username: host, password: password
    Participant User - username: participant, password: password
    
  7. Push the docker image to arena backend

    arena push -t track [image]:[tag]
    

Metadata

Release files for arena-cli 1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arena-cli 1.7
File Size Uploaded
arena-cli-1.7.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arena-cli 1.7
File Interpreter ABI Platform
arena_cli-1.7-py3-none-any.whl Python 3 none any Details

Total release size: 26.5 kB

Release files / arena-cli-1.7.tar.gz

Download URL arena-cli-1.7.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
06ffd90e13bff32f4b19edfe0d29de069449f7c719e08badd7e14d9903f8c117
BLAKE2b-256 checksum
How to use checksums
cf5a46b039a1a13246e3f4a6a50a60d081f7d91bb5a4b1c993cae71712c615fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release files / arena_cli-1.7-py3-none-any.whl

Download URL arena_cli-1.7-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34543f15e688eaa0312e0a06caf06f06a7238aa6b420984574f9b61032b931c1
BLAKE2b-256 checksum
How to use checksums
6c1de5775e3c09a9574d1347f11f14aab889339f5e619e59b754d1dfdd6fad68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release history Release notifications | RSS feed

This release

1.7 This release

2 release files

1.6

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

1 release file

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page