Skip to main content

An Attempt At Robot Challenge

Project description

RobotChallenge

Robot Challenge


Summary

An attempt at Robot Challenge.


How to Install

git clone https://github.com/sheecegardezi/RobotChallenge.git
pip install -r requirements.txt
pip install -e .

Running Software Locally

robotchallenge --help
robotchallenge -f "`pwd`/tests/test_data/sample_problems.txt"

Running Software in Docker

# building image locally
docker build -t robotchallenge .

# printing help
docker run -it --rm robotchallenge -h

# using existing test file 
docker run -it --rm robotchallenge -f "/app/tests/test_data/sample_problems.txt"

# using new test file 
docker run -it --rm -v "`pwd`/tests/test_data/sample_problems.txt":"/app/tests/test_data/sample_problems.txt" robotchallenge -f "/app/tests/test_data/sample_problems.txt"

Running Software using prebaked Docker Image

# pulling image from repo
docker image pull sheecegardezi/robotchallenge:latest

# printing help
docker run -it --rm sheecegardezi/robotchallenge:latest -h

# using existing test file 
docker run -it --rm sheecegardezi/robotchallenge:latest -f "/app/tests/test_data/sample_problems.txt"

# using new test file 
docker run -it --rm -v "`pwd`/tests/test_data/sample_problems.txt":"/app/tests/test_data/sample_problems.txt" sheecegardezi/robotchallenge:latest -f "/app/tests/test_data/sample_problems.txt"

Running Testing

pytest -rx -s tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotchallenge-1.0.0.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

robotchallenge-1.0.0-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

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