Skip to main content

A Python wrapper to bring together various financial APIs.

Project description

FinMesh


PyPI - Downloads Read the Docs

FinMesh is a Python wrapper for several financial APIs and data sources. This package simplifies the gathering and use of financial and economic data, and provides abstraction that allows for plug-and-play use in your own projects.

This project is built and maintained in my free time, and so feature requests and fixes may take some time to complete. For any such requests, just open an issue (or submit a pull request if you want to contribute) and it will be added to my todo list.

The APIs and sources currently supported are the (1) IEX REST API, (2) US Federal Reserve Economic Data database API, (3) scraped yield curve data from the US treasury, and (4) filings from the SECs EDGAR database.

You can donate HERE if you want to show your support. If you have a feature request that you would like built, donating is a great way to get that request prioritized.

Read The Docs!

Documentation for installation, first use, and msot of the basic functionality is complete and available on Read The Docs. Further work on the documentation is needed to cover more detailed use cases, and some tutorials are in the works. This documentation will take over for the extremely basic function lists on my personal website.

Purpose

FinMesh exists to streamline data gathering of financial data, and provide built-in solutions to working with that data. Under the hood it is essentially an abstraction layer that makes it easier to use data for those that are just starting out, or don't want to build their own.

At the core of the package are simple functions that match the endpoints you would find in the supported API. At this level you are just given raw JSON data, and you can work with that however you wish. Through the use of stock classes and data serialization one can gather, organize, and store data. At this level you have access things like saving to and loading from a Pickle file, and Pandas so you can perform analysis on dataframes, or export to formats like CSV.

In the future, this package will be updated with new financial and economic APIs. If you know of a low or no cost API that could be incorporated please raise it as an issue and we will work to have it done ASAP.

Installation

The documentation provides a thorough guide to getting set up, but in general you will need these things to get started.

The following non-Python-standard dependencies are used in FinMesh:

  • xmltodict
  • xml.etree.ElementTree

Some APIs require authentication through the use of tokens. These tokens should be set up as environment variables in the bash profile. A great article on how to do this on Mac is available here:

My Mac OSX Bash Profile

Click HERE for your free IEX token. This token must be stored as IEX_TOKEN in your environment variables.

Click HERE for your free FRED token. This token must be stored as FRED_TOKEN in your environment variables.

Contact

If you would like to reach out, feel free to connect with me one of three ways:

  1. On GitHub

  2. On LinkedIn

  3. Via Email

If there are issues, be it major or semantic, please open an issue on GitHub.

Project details


Release history Release notifications | RSS feed

This version

2.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FinMesh-2.3.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

FinMesh-2.3-py3-none-any.whl (64.6 kB view details)

Uploaded Python 3

File details

Details for the file FinMesh-2.3.tar.gz.

File metadata

  • Download URL: FinMesh-2.3.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.7

File hashes

Hashes for FinMesh-2.3.tar.gz
Algorithm Hash digest
SHA256 40f70c4ad838af84de8f7d82ca05f2fd3f2b42e387a5bca38170e3b0b0cff35b
MD5 c8aba5545d81d7d2c9960192d0448dd4
BLAKE2b-256 360274d5bc6c51607d7e097cadd0b5b52f97d3afefe5773d39720b2471943f79

See more details on using hashes here.

File details

Details for the file FinMesh-2.3-py3-none-any.whl.

File metadata

  • Download URL: FinMesh-2.3-py3-none-any.whl
  • Upload date:
  • Size: 64.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.7

File hashes

Hashes for FinMesh-2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6ce3425418b855aa1ceaa2a8899c68ddc8b4199a83b3c8d8fbc2c761e26307e2
MD5 5f396a7c272428bbbd00e264a5d5b2d7
BLAKE2b-256 5ba20ed5696200b83ca00cb0334806f05cb555fc485dd09b68a79effe1ea30ce

See more details on using hashes here.

Supported by

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