Skip to content

The diagnosis api enables users search for details of a particular animal disease, the details include the symptoms,causes and treatment for a given disease. Another feature supported by the api is the ability to retrieve an animal disease based on the symptoms specified by the user.

Notifications You must be signed in to change notification settings

AineKiraboMbabazi/disease_diagnosis_with_Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Maintainability

Disease diagnosis with pandas

Animal disease diagnosis

The diagnosis api enables users search for details of a particular animal disease, the details include the symptoms,causes and treatment for a given disease.

Another feature supported by the api is the ability to retrieve an animal disease based on the symptoms specified by the user.

This api is going to be a backend for the diagnosis web app. Currently has support for rabbit diseases.

Getting started

create a directory on your computer by doing the following

  • Open the terminal, for linux
 Ctrl+Alt+ T
  • Create a directory for the project by typing the following in your terminal
mkdir projectname
  • Change into the directory created by using the following command

Clone the repository

After creating the directory, the next step is to clone this project by using the following command

$ git clone (https://github.com/AineKiraboMbabazi/disease_diagnosis_with_Machine-Learning.git)

Preprequisites

Install requirements

pip3 install -r requirements.txt

make sure that you have python3 and postman installed on your computer

snap install postman

Running the project

To run this project,

  • Navigate to the directory where the project was cloned. run
    python3 run.py

-Copy the link from the terminal and paste it in postman. This should load the index page

Features

Endpoint HTTP Method CRUD Method Result
/ GET INDEX Loads the home page
/index GET INDEX Loads the home page
api/v1/get_disease_by_sypmtoms?file_name =rabbit_diseases.xls&search_params=['nasal discharge'] GET READ Search disease by symptoms
api/v1/get_disease_details?file_name =rabbit_diseases.xls&disease_name=snuffles GET READ Get disease details

Tests

To run tests

python3 -m unittest

Tech/framework used

Built with

Author

Software Engineer: Ainekirabo Mbabazi

Developer Stack

Python, Flask, Django

License

MyFarm © Ainekirabo Mbabazi

About

The diagnosis api enables users search for details of a particular animal disease, the details include the symptoms,causes and treatment for a given disease. Another feature supported by the api is the ability to retrieve an animal disease based on the symptoms specified by the user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages