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.1.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.1-py3-none-any.whl (123.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: littlehorse_client-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 47f2fa5f78dfc3757c72c2871a6e6fbdafe34677c56ce0ede3cadd703f120222
MD5 bdf043a27cb2e7431ec4679f850f8300
BLAKE2b-256 330683a37599c048d14e6ce318f595adff302ee4bfd6cee36c61e963f964fd24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for littlehorse_client-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3f8a4c865f479fa4a522604d93a16e8efb2ab9f09fd2a5eab4550c82ad952e3
MD5 135d1f1c9dcc96a6a42ca73d99c07adc
BLAKE2b-256 ae7158ca7f6a3128c5d4f31333ece37c634f01e2a13c3e32a5745c2117b630c5

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