Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/finbourne/lusid-client-python
https://github.com/finbourne/lusid-client-python
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/finbourne/lusid-client-python
- Owner: finbourne
- Created: 2019-09-05T11:43:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T13:35:33.000Z (7 months ago)
- Last Synced: 2024-06-24T15:13:29.749Z (7 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![LUSID_by_Finbourne](./resources/Finbourne_Logo_Teal.svg)
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
```