Skip to content

kjaym/python-citrination-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Citrination Client

About

This package is an implementation of the Citrination API.

Installation

Requirements

  • Python >= 2.7 or >= 3.4

Setup

$ pip install citrination-client

There are known issues installing libraries that depend on six on OSX. If you have issues installing this library, run the following command:

$ pip install --ignore-installed six citrination-client

Legacy information

In order to interact with older versions of Citrination, please clone the legacy branch on this repo.

Troubleshooting

It is possible that you will run into problems if you are using an older version of OpenSSL and running MacOSX. If the following error happens when using the requests library to retrieve information from citrination:

requests.exceptions.SSLError: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert handshake failure')],)",)

Check to see that you are using a current version of OpenSSL. This error was first encountered using OpenSSL 0.9.8zh 14 Jan 2016, and was resolved by upgrading to 'OpenSSL 1.0.2j 26 Sep 2016'.

After upgrading OpenSSL, make sure that your python installation is using the correct version:

python -c "import ssl; print ssl.OPENSSL_VERSION"

About

Reference implementation in python for Citrination api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%