https://github.com/finbourne/lusid-client-python
https://github.com/finbourne/lusid-client-python
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/finbourne/lusid-client-python
- Owner: finbourne
- Created: 2019-09-05T11:43:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T13:35:33.000Z (about 1 year ago)
- Last Synced: 2025-03-22T15:49:56.352Z (4 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

This repository contains examples showing how to make calls to LUSID using the LUSID SDK via a python script or running as tests. These can be found in the `src` folder.
# API set up
First set up your [API credentials](https://support.finbourne.com/getting-started-with-apis-sdks) (if using a `secrets.json` file place this in the `src` folder) and install the required dependencies via `pip`:
```
$ pip install -r requirements.txt
```# Script
Run the script using the following command from the `src` folder:
```
$ python scripts/lusid_api.py
```# Tests
Run the tests with the following command from the `src` folder:
Windows:
```
$ set PYTHONPATH=%PYTHONPATH%;%cd%;%cd%\tests
$ pytest tests\test_connectivity.py -v -rP
```macOS/linux:
```
$ PYTHONPATH=$(pwd):$(pwd)/tests pytest tests/test_connectivity.py -v -rP
```