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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file free_meal_inviter-0.0.4.tar.gz
.
File metadata
- Download URL: free_meal_inviter-0.0.4.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8273146ad35256eb966e49e3eccccdfe4ef7f98cbd21f5ebfcf015778e70591 |
|
MD5 | 287d04b33c54c621ec1bf72b99321b42 |
|
BLAKE2b-256 | 2b99cb3c03045dccbb9faba50c298e2e14818bf0c11437a953a9257739d71a2d |