Skip to main content

Python Package to get Covid19 Forecasting For all Cases Every Country in future using FBProphet Model

Project description

Covid19 Forecasting For all Cases in future using fbprophet model

about

Python Package to get Covid19 Forecasting For all Cases in future

Installation

pip install covid19forecast
or in colab google cloud
!pip install covid19forecast

Usage for get first cases (confirmed,recoverd,deaths for any countery)

from covid19forecast import cases 
# country name
country='Iraq'
#path for covide19 dataset   
path_csv='covid_19_data.csv'
#name of  folder  
dir_name='Iraq'
# name of out result for all cases in new dataset 
out_csv='iraq.csv'
# what days number to forecasting for any case 
next_periods=10
# what name of dataset for all forecasting for any case
csv_name='iraq.csv'

# to get all cases for country 
all=cases.all_cases(country,path_csv,dir_name,out_csv)

# to get confirmed cases for country 
confirmed=cases.confirmed_case(country,path_csv,dir_name,out_csv)
#to get deaths  cases for country 
deaths=cases.deaths_case(country,path_csv,dir_name,out_csv)

#to get recoverd cases for country 
recoverd=cases.recoverd_case(country,path_csv,dir_name,out_csv)


Usage for get Forcasting for all cases (confirmed,recoverd,deaths for any countery)

from covid19forecast import forecast 
# to get forecasting for country confirmed case
forecast.confirmed_forecast(confirmed,next_periods,dir_name,csv_name,country)
# to get forecasting for country deaths case
forecast.deaths_forecast(deaths,next_periods,dir_name,csv_name,country)
# to get forecasting for country recoverd case
forecast.recoverd_forecast(recoverd,next_periods,dir_name,csv_name,country)

Checking

To verify the retrieved data within this library go to web site to get download new covid19 dataset

https://www.kaggle.com/sudalairajkumar/novel-corona-virus-2019-dataset

Tutorial

u can see tutorial in colab

https://colab.research.google.com/drive/12TnzM0E-oZgsrwlaQ5vYCdhsym6UDNUa

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

covid19forecast-1.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

covid19forecast-1.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file covid19forecast-1.1.0.tar.gz.

File metadata

  • Download URL: covid19forecast-1.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.0

File hashes

Hashes for covid19forecast-1.1.0.tar.gz
Algorithm Hash digest
SHA256 998f4066c47802aa616b8fbab32ebfd63c615b28f2db7aaa73f5d93733c8c221
MD5 62af4318429014fd71590fb118e0ca6e
BLAKE2b-256 8f4023bb364016e667fce83a9167b6370afa790b32212c555541fabbe6d64144

See more details on using hashes here.

File details

Details for the file covid19forecast-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: covid19forecast-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.0

File hashes

Hashes for covid19forecast-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4e533bd3078cf88ddabaa5e763cd068ab8046cb4a929e430ee45c9916bc825d
MD5 c266515ccee1239b94e5af59231298ca
BLAKE2b-256 91f0c648b554783e6f226f9a5ab375a4b773b2d0e02d81dccf6bc7fc1c25e4a2

See more details on using hashes here.

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