Skip to main content

A simple python package for creating economic models and data objects using FRED API data.

Project description

econo-objects

A simple python package for creating economic models and data objects using FRED API data.

This package is still in beta please try it out and please report any comments, concerns, and issues.

Build and test GitHub PyPI version Downloads

Latest Update

  • First prerelease version published

Installation

You can install the package using pip:

pip install econo-objects

Package Usage

I recommend consulting the offical Binance US API documentation at: https://econo-objects.readthedocs.io/en/latest/

Here is a simple example of how to use the package:

# Imports
from econo_objects import FredObject

# Set API Key
Keys.set_fred_api_key("your_api_key_here")

# Initialize Fred Object
fred_obj = FredObject("GDP", "2020-01-01", "2023-01-01")

# Plot GDP
plot = fred_obj.plot_df

Important Notes

  • Store your API keys and secrets in environment variables or set directly.
  • Do not hardcode your API keys and secrets in your scripts.

Features

  • Easy plotting through predefinned methods
  • Data output is already in pandas DataFrame format

Next Update

  • More Calculations and Models

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

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

econo_objects-0.0.2.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

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

econo_objects-0.0.2-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file econo_objects-0.0.2.tar.gz.

File metadata

  • Download URL: econo_objects-0.0.2.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for econo_objects-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f51e9dd746f10cc5711cf353d015bc50178653f90a6d1fc2de5b68fffa8d1949
MD5 030804823c5b07fce8e1b77f5d5a7aad
BLAKE2b-256 1441d9157961cb73ea8c0ab099382054c3768123d82143d6fde80edbf01cd6fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for econo_objects-0.0.2.tar.gz:

Publisher: main.yml on nikhilxsunder/econo-objects

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file econo_objects-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: econo_objects-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for econo_objects-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3966b0a2983c503445a3771a5bfae9897875309517e46dfd8f7305a27b928d0
MD5 171297cc9fe9778ce0f79bae1dcee0b5
BLAKE2b-256 2baa7ac5ac89d9b7c6bc51bd0e392d2ef6661b6a0e8178f4e0103bfb1f8a456d

See more details on using hashes here.

Provenance

The following attestation bundles were made for econo_objects-0.0.2-py3-none-any.whl:

Publisher: main.yml on nikhilxsunder/econo-objects

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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