Skip to main content

EasyDataPy through EasyData API key of State Bank of Pakistan helps to obtain information on and download a series of interest in Python for further analysis

Project description

EasyDataPy

EasyDataPy aKa EDpy for short, is a unofficial Python library/package to read in data from EasyData platform of the State Bank of Pakistan

Details about EasyData Database of the State Bank of Pakistan

EasyData platform of the State Bank of Pakistan is the largest repository of Macroeconomic time-series. It has more than 2 million observations covering more than 11,000 time-series related to economy of Pakistan.

About the Library/Package

This package is intended to identify a session with EasyData API key, obtain information about a particular series of interest, and download a series of interest to Python for further analysis. Although, I could have performed basic time-series in Python such as:

1.Plotting the time-series 2. Unit-Root tests 3. Seasonality tests 4. Cointegration tests and Cointegrated vector autoregressive model 5. Autoregressive and Vector Autoregressive models 6. Forecasting using Machine Learning and Dynamic Factor models (Rolling and Fixed Window Forecast) 7. In and Out-of-Sample Forecasts

But this package is not intended to conduct these analysis but I am programming another one, which will be able to perform all of these operations. Stay Tuned!

How to install and use

Inside the Python you just need to type "pip install EasyDataPy"

How to use the functions inside this library/package

Verifying EasyData API Key

EasyData_key_setup("C10D3D29160CE5693F56AA9846ABB2C423D8B123") <- type in/paste your EasyData API Key!

Finding if the EasyData API Key has been verified

session_has_key()

Getting the entered key for further use

get_Easydata_key()

Downloads Weighted-average Overnight Repo Rate series as a Pandas dataframe

data_frame = download_series("TS_GP_IR_REPOMR_D.ORR", "2015-05-25" ,"2023-12-20", "csv")

Tranforming output of download_series function, that is object called data_frame into a usable time-series

build_time_series(data_frame)

Plot Time-Series Graph for the downloaded time-series

plot_time_series(data_frame)

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

EasyDataPy-1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

EasyDataPy-1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file EasyDataPy-1.tar.gz.

File metadata

  • Download URL: EasyDataPy-1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for EasyDataPy-1.tar.gz
Algorithm Hash digest
SHA256 e6c121aa1abd4f3d1010e77302fb189ffc78ba357451d112471b287da99b05a5
MD5 5208e95e8b881ad35224b8bb27530e34
BLAKE2b-256 dd393900280e9899d327b6b8ffbeced494bca64d17cce623d4e831bb2aa1cb2d

See more details on using hashes here.

File details

Details for the file EasyDataPy-1-py3-none-any.whl.

File metadata

  • Download URL: EasyDataPy-1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for EasyDataPy-1-py3-none-any.whl
Algorithm Hash digest
SHA256 26b8781427d7336e8c281bb654652fe3f400b93ef5098228c4d5eb36b1be8491
MD5 de588ed6a64f728ff162a27510a0f1d3
BLAKE2b-256 6cd7bff4ad1bffa76dcd3cc73ce25f8ab1fc6da59bebe07d8fe31ff1538e222a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page