Skip to main content

LittleHorse is a high-performance microservice orchestration engine that allows developers to build scalable, maintainable, and observable applications

Project description

LittleHorse Python SDK

For documentation on how to use this library, please go to the LittleHorse website.

For examples go to the examples folder.

Dependencies

  • Install python.
  • Install pipx: brew install pipx
  • Install poetry: pipx install poetry
  • Install poetry shell plugin: poetry self add poetry-plugin-shell

Initialize

poetry install

Protobuf Compilation

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

Run tests

poetry shell
python -m unittest discover -v

Validate Indentations

poetry run ruff check .

Validate types

poetry run mypy .

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

Python Code Formatter

poetry shell
black . 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

littlehorse_client-1.0.2.tar.gz (95.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

littlehorse_client-1.0.2-py3-none-any.whl (123.3 kB view details)

Uploaded Python 3

File details

Details for the file littlehorse_client-1.0.2.tar.gz.

File metadata

  • Download URL: littlehorse_client-1.0.2.tar.gz
  • Upload date:
  • Size: 95.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for littlehorse_client-1.0.2.tar.gz
Algorithm Hash digest
SHA256 393f6e034aa7367a90daf1236ee1ba68615fe52b602f8b7884cc213312f0c158
MD5 37996fe66d5ad2da0a747dee3571906b
BLAKE2b-256 c0689269d250fe57ee9f3a64941f6bf904b72d341b0d39c9296f301b8ac9c755

See more details on using hashes here.

File details

Details for the file littlehorse_client-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for littlehorse_client-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd2e3fdf0ac1fc18bc9a4aab3b0f46a3f659561f5c6e480a91d7cf37554ddaf8
MD5 265337c691717d01e29831c4ff768a0f
BLAKE2b-256 26e7ea8f7df6e9d42dc47a9c9552f15912ab449d564fe41ef8b1978e89d9d1a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page