Skip to content

Latest commit

 

History

History
 
 

README.md

Splight Python SDK

snyk_code snyk_dependencies


Installation

A release version can be installed using pip with

pip install --upgrade splight-lib

or if you want one particular version you can use

pip install splight-lib==x.y.z

For Development

This library uses uv as package manager. In order to install uv you can use the command

curl -LsSf https://astral.sh/uv/install.sh | sh

Then to insall the library you can use the command in development mode you can use

uv sync

and for running a python interpreter within the environment you can use

uv run python

Managing versions

The package is managed using poetry so we should use this tool for handling versioning. In particular, the repository contains a Makefile that contains the commands for updating the splight-lib versions. So, if you need to update the version you should use the command

make update-version scope=<scope>

where scope can be major, minor or patch.

Tests

make test