Skip to main content

Invite friends around you for a free meal.

Project description

Overview

Invite friends around you for a free meal.

Installation / Usage

Compatible with Python >= 3.6.

To install use pip:

$ pip install free_meal_inviter

Or clone the repo:

$ git clone https://github.com/bertucho/free_meal_inviter.git $ python3 setup.py install

Usage

$ free_meal_inviter [OPTIONS] CUSTOMERS_SOURCE

Options:

-f, –data-format [json|csv] Format of input data -d, –distance FLOAT Maximum distance for a customer to be invited –help Show this message and exit.

Example

For a plain file containing json data:

free_meal_inviter data/customers.txt

For a csv file:

free_meal_inviter –data-format=csv data/customers.csv

Testing

To execute tests, first install the development requirements:

$ git clone https://github.com/bertucho/free_meal_inviter.git $ pip install -r requirements_dev.txt

Execute tests:

$ python3 -m unittest

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

free_meal_inviter-0.0.4.tar.gz (5.2 kB view hashes)

Uploaded Source

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