Skip to main content

Python package for DecisionForest API access

Project description

DecisionForest Python CI status CI status

Python package for DecisionForest API access

Installation

The installation process varies depending on your python version and system used. However in most cases the following should work:

pip install decisionforest

Configuration

Sign up at DecisionForest and get the API key

import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'

Getting Data

The most basic call needed to retrieve a dataset (returns all the data available for a dataset):

python
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
df = decisionforest.get('DFIV')

Another example that returns data by date and symbol:

python
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
df = decisionforest.get('DFIV', date='2018-12-28', symbol='AAPL')

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

DecisionForest-1.9.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

DecisionForest-1.9.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file DecisionForest-1.9.0.tar.gz.

File metadata

  • Download URL: DecisionForest-1.9.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for DecisionForest-1.9.0.tar.gz
Algorithm Hash digest
SHA256 94922fcffabff3b847aa024c84c45b0bfd44ebcaae5d9a6414d7c98f1cfa848d
MD5 e4e1cf9d61f24e5277fda4dbb45a7fb7
BLAKE2b-256 c5f63954524021631e82f380f47e5196a8760cd35f00d3ac9f59abb372d90a28

See more details on using hashes here.

File details

Details for the file DecisionForest-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: DecisionForest-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for DecisionForest-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 436e7b6cc990e0a3c6bb0bdb3ede8d382639246e85baeb7fb5a862b005289334
MD5 03929d97e9baef942564adfdee8e79b7
BLAKE2b-256 8e64e11c95b97b968a2b2ef779ea1a71761988d657507076f648d6bb79fe412d

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