- 
                Notifications
    You must be signed in to change notification settings 
- Fork 11
lusidtools CLI
lusidtools (lusid-python-tools) is a toolbox of basic commands for interacting with LUSID.
The lusidtools CLI is installed during the setup of the lusidtools python package. This can be installed with the following command.
pip install lusidtoolsAfter the installation is complete and one of the three authentication methods below has been setup, run the following command to display tools available from the lusidtools CLI.
lusidtools --helpLusidtools commands can be authenticate using 3 methods:
- a secrets.json file containing credentials
- Credentials set as environment variables
- Authenticated token
for more details on how to create a secrets.json file, setting environment variables or aquiring an authenticated token, see our support page on Authentication.
Firstly, the lusditools CLI will look for a secrets.json file containing credentials in the current folder from which the lusidtools call was made. Alternatively the path to a secrets.json file can be explicitly stated using the --secrets-file argument on any lusidtools call.
If no secrets.json file can be found, then the lusditools CLI checks for credentials set as environment variables. See the Using Environment Variables section of Getting started with the LUSID API and SDKs for details on setting these.
If no credentials are found either in a secrets.json or set as environment variables, then the user will be prompted to provide the client name and an authenticated token. See the Authenticating & Generating an Access Token section of Getting started with the LUSID API and SDKs for details on how to get an Authenticated token. Note that these tokens are reset after a limited amount of time.
The lusidtools CLI has a txn_cfg feature which you can use view and edit transaction type configurations.
some blue text