Skip to main content

Get financial data easily.

Project description

Fidap Python Client

This Fidap client interacts with our big data servers and gives you access to Financial data analytics.

NOTE: You can get api_key from the dashboard. Please contact ashishsingal1@gmail.com for the invite code.

Installation

pip install fidap

Getting Started

from fidap import fidap_client
client = fidap_client(api_key="Paste API_KEY here from fidap dashboard")

you can also provide the database during initializing the client

from fidap import fidap_client
client = fidap_client(db='pg', api_key="Paste API_KEY here from fidap dashboard")

API

.sql

You can run your queries by using this method, it will return a Pandas dataframe containing the results of the query. Result would be None if something goes wrong i.e. incorrect query / not a valid API key.

from fidap import fidap_client
client = fidap_client(api_key="Paste API_KEY here from fidap dashboard")
df = client.sql(sql="paste your QUERY")

NOTE: You can also change the database at this level!

df = client.sql(sql="paste your QUERY", db="sf")

.send_email

You can send yourself or someone you know the Pandas dataframe as a csv attachment by using this method.

from fidap import fidap_client
client = fidap_client(api_key="Paste API_KEY here from fidap dashboard")
df = client.sql(sql="paste your QUERY")
success = client.send_email(df=df, emails=[]) #'List of Emails')

NOTE: By default, it will share the file containing 1000 rows and 30 columns only

Contributing

git clone https://github.com/fidapco/fidap-python-client.git
cd fidap-python-client
pip install --editable .

Change log

[0.0.1] - 2021-01-04

Initial version.

Added

  • fidap.sql() runs a query on the Fidap DB.

Changed

Removed

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

fidap-0.0.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

fidap-0.0.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file fidap-0.0.5.tar.gz.

File metadata

  • Download URL: fidap-0.0.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for fidap-0.0.5.tar.gz
Algorithm Hash digest
SHA256 66e42d1c6c28f96b298463f845007ad8bd1bf4cbc19ffcf63d60b1fe27c4fbc7
MD5 20faae433e60ab31ce596d3b9e2ed0f7
BLAKE2b-256 1f6d211d04a45f8f44b504cd0a12c9afb119f3fc282adfad5fe4f218aa6d6ea5

See more details on using hashes here.

File details

Details for the file fidap-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: fidap-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for fidap-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f38191b8b4bc283a2f4e048cad34c5b0844fe64f2cd1ae350608717b5562ad24
MD5 17571b203c89d95310bb0bb69dfdabf4
BLAKE2b-256 dd0c8495f40e82c3cb3b374cd7003291a18f5b788f720365980bc8e0929f3cab

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