Metadata-Version: 2.1
Name: littlehorse-client
Version: 0.9.3
Summary: LittleHorse is a high-performance microservice orchestration engine that allows developers to build scalable, maintainable, and observable applications
Home-page: https://littlehorse.dev
License: SSPL-1.0
Keywords: littlehorse
Author: LittleHorse Engineering
Author-email: engineering@littlehorse.io
Requires-Python: >=3.9,<3.13
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: authlib (>=1.2,<2.0)
Requires-Dist: grpcio (>=1.57,<2.0)
Requires-Dist: jproperties (>=2.1,<3.0)
Requires-Dist: protobuf (>=4.23.4,<5.0.0)
Requires-Dist: requests (>=2.31,<3.0)
Project-URL: Documentation, https://littlehorse.dev/docs/Overview
Project-URL: Repository, https://github.com/littlehorse-enterprises/littlehorse
Description-Content-Type: text/markdown

# LittleHorse Python SDK

For documentation on how to use this library, please go to [the LittleHorse website](https://littlehorse.dev).

For examples go to the [examples](./examples/) folder.

## Dependencies

- Install python.
- Install [poetry](https://python-poetry.org/): `brew install poetry`
- Install grpc tools: `pip3 install grpcio-tools`

## Initialize

```
poetry install
```

## Protobuf Compilation

```
../local-dev/compile-proto.sh
```

## Run tests

```
poetry shell
python -m unittest discover -v
```

## Useful Commands

Set python version:

```
poetry env use python3.9
```

## Types Map

Task arguments type reference:

```
VariableType.JSON_OBJ: dict[str, Any]
VariableType.JSON_ARR: list[Any]
VariableType.DOUBLE:   float
VariableType.BOOL:     bool
VariableType.STR:      str
VariableType.INT:      int
VariableType.BYTES:    bytes
```

