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

littlehorse.dev github

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 poetry: 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

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-0.7.0a2.tar.gz (58.9 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-0.7.0a2-py3-none-any.whl (77.1 kB view details)

Uploaded Python 3

File details

Details for the file littlehorse_client-0.7.0a2.tar.gz.

File metadata

  • Download URL: littlehorse_client-0.7.0a2.tar.gz
  • Upload date:
  • Size: 58.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for littlehorse_client-0.7.0a2.tar.gz
Algorithm Hash digest
SHA256 4292d3fb8f187d1bf00784db8c3dfd1ace8528f4bb6491999efab673a6ee3d60
MD5 61da86ff1ed9d5454a038c6271a6437e
BLAKE2b-256 9f9a9ca369fb991aad64dd9cdfad7e6eedc7fc95954a81a4e4a8db93589f8b55

See more details on using hashes here.

File details

Details for the file littlehorse_client-0.7.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for littlehorse_client-0.7.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b65c84cb29fe13a89c7f6a7385edad10b2c44b4b5a37db0fa3073089625730b
MD5 a74fae775921482e51b1ecedae99d3d3
BLAKE2b-256 16bf4a501fae7516e48c3e39b2d48cd7f1cdc7de56c64ce9273c11c0094f34da

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