Skip to main content

No project description provided

Project description

BlaBlaMower

This project is for respond to the BlaBlaCar technical test that they have asked me to work on. The specifications are on this file specs/BlaBlaCar_Technical Test.md

Program for mowing a rectangular lawn surface with multiple mowers.

CHANGELOG

Installation

pip and python3.8+ is required

pypi

$> pip install blablamower

Release

$> wget https://github.com/renardguill/BlaBlaMower/releases/download/v1.0.0/blablamower-1.0.0-py3-none-any.whl
$> pip install blablamower-1.0.0-py3-none-any.whl

Source code

poetry is needed

$> git clone https://github.com/renardguill/BlaBlaMower.git
$> cd BlaBlaMower
$> poetry build
$> pip install dist/blablamower-1.0.0-py3-none-any.whl

Update

pypi

$> pip install blablamower --upgrade

Usage

The program expect an input file constructed in the following manner: :

The first line corresponds to the upper right corner of the lawn. The bottom left corner is implicitly (0, 0). The rest of the file describes the multiple mowers that are on the lawn. Each mower is described on two lines: The first line contains the mower's starting position and orientation in the format "X Y O". X and Y are the coordinates and O is the orientation. The second line contains the instructions for the mower to navigate the lawn. The instructions are not separated by spaces.

exemple :

5 5
1 2 N
LFLFLFLFF
3 3 E
FFRFFRFRRF
$> blablamower ./inputfile.txt

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

BlaBlaMower-1.0.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

blablamower-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file BlaBlaMower-1.0.0.tar.gz.

File metadata

  • Download URL: BlaBlaMower-1.0.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for BlaBlaMower-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fe8beeb51dcf9ba76d615019debfc2c1974826ec4b0903520d43caf17f2b457c
MD5 471cdcab9385df2ee716266f18c67cbf
BLAKE2b-256 5dd1bd8a6bddee8656f1f5d5c683250171014c0e969716c302d303a8078ce0e2

See more details on using hashes here.

File details

Details for the file blablamower-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: blablamower-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for blablamower-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bc3a5d5fdcb2724ffdec5fe94c46a9f0ba57370503cb3888a2df4cd9ba6069a
MD5 06006501226fb76388b303036fc8fe30
BLAKE2b-256 e9eda657bfc0dc6d1efd1319e9e12048e868d4868652b3c4ea56f015cd77500c

See more details on using hashes here.

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