Skip to main content

Thin public-side client for the SenseCraft Solution engine binary

Project description

solutionctl

Thin public-side client for the (closed-source) SenseCraft Solution engine binary. solutionctl contains zero engine code — it only locates the installed engine binary and drives it via subprocess / local REST.

How it finds the engine

Three-level resolution (solutionctl.engine_locator):

  1. $SENSECRAFT_ENGINE_BIN environment variable
  2. ~/.sensecraft/engine.json handshake file (written by the desktop App on startup)
  3. Platform-native discovery:
    • macOS: mdfind by bundle identifier, with /Applications fallback
    • Windows: Uninstall registry keys (InstallLocation)
    • Linux: dpkg -L sensecraft-solution

Each candidate is validated (is_file + executable + PyInstaller onedir _internal sibling) before being accepted.

Commands

  • solutionctl deploy <id> [...] — drive <engine> deploy <id> --json, render the NDJSON event stream.
  • solutionctl manage list-apps — start <engine> serve --headless, poll health, query the REST API, then shut the server down.
  • solutionctl meta — print engine metadata (<engine> meta --json).

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

sensecraft_solutionctl-0.1.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

sensecraft_solutionctl-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file sensecraft_solutionctl-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sensecraft_solutionctl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eeac3f18412aa93a988a201d9618355bb10fd5378a2b12ddb1bca0f8494e0337
MD5 72fb3d6333f4d8f524b2aa19711180d3
BLAKE2b-256 1e31e3351743dc3b8b43cd1e2d03e4af1b1954387f1114837364fe9804afc2ad

See more details on using hashes here.

File details

Details for the file sensecraft_solutionctl-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sensecraft_solutionctl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1bb3c41714f11cb391906a2ac0ac5d7f989c338b5b19265f42c4000fff9b8e3
MD5 387d392063c8d208d90b8b32b01dec3b
BLAKE2b-256 41e0e89a241aeba054b7035c360d0fd5afa114d647c99ab7c0bd41650ae30c2a

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