Skip to content

ravi9989/code-20210420-raviteja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI - Processor

made-with-python

BMI processor is a package that processes the json data with heights and weights and categorize the health risk and bmi category

Tech

Python

  • binary-search using bisect library to get the range where bmi falls in
  • json library used for rreading and writing json input/ouput files
  • pytest for testing each function in the package to ensure correct CI
  • Used github actions for CD to publish the package in PYPI on every release

Installation

This package is built using default python libraries

pip3 install bmi-processor-beta

Usage

  • take json file of hights and weights sample data
  • give input_file_name and ouput_file_name

Example:

status, message = process_bmi_json_files('../data/test.json', '../data/test_out.json')   

TODO

  • to automate the creation of release on tag creation
  • plotting analytics for the processed json data

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages