Skip to main content

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 report any comments, concerns, and issues.

https://github.com/nikhilxsunder/econo-objects/actions/workflows/main.yml/badge.svg https://img.shields.io/pypi/v/econo-objects.svg https://img.shields.io/pypi/dm/econo-objects.svg

Latest Update

  • First prerelease version published

Installation

You can install the package using pip:

pip install econo-objects

Package Usage

I recommend consulting the official Binance US API documentation at: econo-objects ReadTheDocs

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 them directly.

  • Do not hardcode your API keys and secrets in your scripts.

Features

  • Easy plotting through predefined 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.

Metadata

Release files for econo-objects 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for econo-objects 0.0.3
File Size Uploaded Provenance
econo_objects-0.0.3.tar.gz 41.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for econo-objects 0.0.3
File Interpreter ABI Platform
econo_objects-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 71.1 kB

Release files / econo_objects-0.0.3.tar.gz

Download URL econo_objects-0.0.3.tar.gz
Size 41.5 kB
Tags Source
SHA-256 checksum
How to use checksums
86ed2874a3a69a9858124059b44fd8102c6b44d13382075d253cbf41d60952d3
BLAKE2b-256 checksum
How to use checksums
0160ab240b79f0d79b6ead67368d2effb51f9df74fce6e22c73c97660280167e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.

Transparency log

Release files / econo_objects-0.0.3-py3-none-any.whl

Download URL econo_objects-0.0.3-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
303693abf0075ae4e4fa632a83daf970823a3ac8b7fb77e3e111208a721fb4a6
BLAKE2b-256 checksum
How to use checksums
e3ed6766aac5558e446df9514ab7b26f0c8830f059a490afc7d0e8af9c0a2775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.

Transparency log

Security for econo-objects 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for econo_objects-0.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page