Metadata-Version: 2.1
Name: bmi-batch-process
Version: 0.2
Summary: This package is used to process BMI (BodyMassIndex) using Height and Weight of person. The input must a iterable of json objects
Home-page: https://github.com/jagadeesh-r1/code-20210626-jagadeeshreddy
Author: Jagadeesh Reddy
Author-email: mail4jagadeeshreddy@gmail.com
License: GNU General Public License v3.0
Platform: UNKNOWN
Description-Content-Type: text/markdown

# code-20210626-jagadeeshreddy

# Body Mass Index Batch Processor


[![made-with-python](https://img.shields.io/badge/v0.0.2%20-bmi_processor-1f425f.svg)](https://pypi.org/project/bmi-batch-process/)

This Package is used to calculate BMI and Categorise the BMI in 5 Classes.
## Tech

Python

- Written code to take input as json file and dump results in to a new json file
- Using Pytest for checking the functionality of methods for every update
- Using Github Actions to publish the package.


## Installation

```
pip install bmi-batch-process
```

## Usage 
 - import BodyMassIndex package
    ```python3
    from BMI.bmi_processer import BodyMassIndex
    ```
 - Create an object for the class
    ```python3
    obj  = BodyMassIndex()
    ```

 Example:
   ```python3
   processed_results = obj.process_start('input_file.json', 'output_path.json')   
   ```
## Task 2

Counting No of OverWeight people can be done by the following

- import count_overweight function
    ```python3
    from BMI.count_overweight import count_overweight
    ```
- give the processed records file as input
    ```python3
    count_overweight('path of processed records')
    #prints the no of over weight people
    ```

## License

GNU v3


