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.1.tar.gz (14.7 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.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sensecraft_solutionctl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1a08206bec196b34bf5b42e2f83292ea70d7f17d51f83097919605020859cd28
MD5 4c5ea8560576ed667b8de8a30de2d07d
BLAKE2b-256 9122ac830cb6524fbc8b49b843f1d092e04eb2154cdf2e910717c64863a39c95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sensecraft_solutionctl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dbbbfc25381f23d390ce54b7cf0aee6e7a33b5696c76d46954186c630090692
MD5 dc59c079c001503fec76630d29b62547
BLAKE2b-256 c530317d7107ee33f0a30b6f55a8dd8018f2d3a27efd239196ed5a0b42358543

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