Skip to main content

Library for making use of Whale Wisdom API

Project description

Introduction

Library for integrating Whale Wisdom and NPD data.

Installation for Running Locally

  1. Installation Python packages
pip install npd-whale-wisdom=0.1.9
  1. Add WW Keys to Envionment For running locally, you must add the Whale Wisdom shared and secret keys to Windows environemnt variables. These can be found in control pannel under properties. You can also search environment variables in the search bar. The shared key must be named "WW_SHARED_KEY" and the secret key must be named "WW_SECRET_KEY".

Usage

  1. Running Full Report Builder Simply navigate to the project directory and run
python main.py

You'll need to input the path to some input files. The web app hosting this code will pull these from Azure Storage.

  1. Calling Whale Wisdom API If you want to make a custom Whale Wisdom API call do the following:
from WhaleWisdom.Common.py_whale_wisdom import call_api

#the input is string representation of a python dictionary
api_input = '{"command":"stock_lookup","symbol":"GOOGL"}'
api_res = call_api(api_input)

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

npd-whale-wisdom-0.2.4.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

npd_whale_wisdom-0.2.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file npd-whale-wisdom-0.2.4.tar.gz.

File metadata

  • Download URL: npd-whale-wisdom-0.2.4.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for npd-whale-wisdom-0.2.4.tar.gz
Algorithm Hash digest
SHA256 0c73e17897d1aee4bcb8c4b2a22a641ee2669bd6164e122e50db181963f09dfb
MD5 6bc0cdcebe03b79e5f8e264b735dad31
BLAKE2b-256 4613187974a3d46716ce985c7bd9a8b8f0eca5ec1c2e6a9d7c730fd6ef4cd08f

See more details on using hashes here.

File details

Details for the file npd_whale_wisdom-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: npd_whale_wisdom-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for npd_whale_wisdom-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5a62279cd8230eb823690963989fc5249e34bbf5756b3cdb720bd71c5c8a535d
MD5 95fab5d90e0866dbf5788afedfb4c16d
BLAKE2b-256 af894467d26807dee0f77a75ead61ffac557fc91dfb1071818c0cc9bb0791778

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