A simple python package for creating economic models and data objects using FRED API data.
Project description
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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file econo_objects-0.0.3.tar.gz.
File metadata
- Download URL: econo_objects-0.0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86ed2874a3a69a9858124059b44fd8102c6b44d13382075d253cbf41d60952d3
|
|
| MD5 |
9300e72b9e456c1b2d1502e597aa3227
|
|
| BLAKE2b-256 |
0160ab240b79f0d79b6ead67368d2effb51f9df74fce6e22c73c97660280167e
|
Provenance
The following attestation bundles were made for econo_objects-0.0.3.tar.gz:
Publisher:
main.yml on nikhilxsunder/econo-objects
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
econo_objects-0.0.3.tar.gz -
Subject digest:
86ed2874a3a69a9858124059b44fd8102c6b44d13382075d253cbf41d60952d3 - Sigstore transparency entry: 175310626
- Sigstore integration time:
-
Permalink:
nikhilxsunder/econo-objects@5c188eb3f84c3f48df07592e8dd8d4553a845453 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/nikhilxsunder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@5c188eb3f84c3f48df07592e8dd8d4553a845453 -
Trigger Event:
push
-
Statement type:
File details
Details for the file econo_objects-0.0.3-py3-none-any.whl.
File metadata
- Download URL: econo_objects-0.0.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
303693abf0075ae4e4fa632a83daf970823a3ac8b7fb77e3e111208a721fb4a6
|
|
| MD5 |
c36573f130c3b450d865efe980ae38d2
|
|
| BLAKE2b-256 |
e3ed6766aac5558e446df9514ab7b26f0c8830f059a490afc7d0e8af9c0a2775
|
Provenance
The following attestation bundles were made for econo_objects-0.0.3-py3-none-any.whl:
Publisher:
main.yml on nikhilxsunder/econo-objects
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
econo_objects-0.0.3-py3-none-any.whl -
Subject digest:
303693abf0075ae4e4fa632a83daf970823a3ac8b7fb77e3e111208a721fb4a6 - Sigstore transparency entry: 175310628
- Sigstore integration time:
-
Permalink:
nikhilxsunder/econo-objects@5c188eb3f84c3f48df07592e8dd8d4553a845453 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/nikhilxsunder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@5c188eb3f84c3f48df07592e8dd8d4553a845453 -
Trigger Event:
push
-
Statement type: