Skip to main content

Suite of tools for macroeconomics analysis

Project description

Macroecon-Tools

A open-source set of tools to assist with macroeconomic work. The package includes two classes, Timeseries and TimeseriesTable, for working with time series data and collections of time series. The package is built on pandas and numpy to offer additional metadata and advanced operations tailored for macroeconomic analysis of time series.


Modules

  • timeseries: Contains the datastructures extended from pd.Series and pd.DataFrame.
    • Timeseries: A class that extends pd.Series to include metadata and additional methods.
    • TimeseriesTable: A class that extends a dictionary and includes functionality from pd.DataFrame.
  • fetch_data: Contains functions to fetch data from the internet.
    • get_fred: Fetches data from the Federal Reserve Economic Data (FRED) API.
    • get_barnichon: Fetches and parses data from the Barnichon dataset.
    • get_ludvigson: Fetches and parses data from the Ludvigson dataset.
  • visualizer: Contains functions to visualize time series data.
    • vis_multi_series: Visualizes multiple time series on the same plot.

Installation

To install the package, run the following command in the terminal:

pip install macroecon-tools

Timeseries Module

Timeseries Class

The Timeseries class extends the pd.Series class to include metadata and additional methods. The class is initialized with a pd.Series object and additional metadata. The metadata includes the following:

  • name: The name of the time series.

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

macroecon_tools-1.0.6.tar.gz (52.1 kB view details)

Uploaded Source

Built Distribution

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

macroecon_tools-1.0.6-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

Details for the file macroecon_tools-1.0.6.tar.gz.

File metadata

  • Download URL: macroecon_tools-1.0.6.tar.gz
  • Upload date:
  • Size: 52.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/8.5.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.67.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for macroecon_tools-1.0.6.tar.gz
Algorithm Hash digest
SHA256 e10701d06c25c5007f5b5460cee9e66323a80e28470764a63e70b8c405d8e8d7
MD5 1671f0e55b89e6278a2bd87c9e76a234
BLAKE2b-256 9924c0568d77ea4a68a8509db292235d40bb7c9359072e6994ebffe8dbc3fc8e

See more details on using hashes here.

File details

Details for the file macroecon_tools-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: macroecon_tools-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 38.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/8.5.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.67.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for macroecon_tools-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 38320d8b8e6d854b05d970a4bd3c9ac3689395dc76d19e43aff1f1fb071a1523
MD5 e6e1216ca33c496085176c17edd83982
BLAKE2b-256 8cc108b4af4a91ea8b06b83c4b1167d47a01a974c8801a35efaf43a03e4e3373

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