Skip to main content

Environment Manager CLI wrapping package managers calls as serialized config file

Project description

kloch

documentation badge Made with Python

[!WARNING] Despite being public, this repository is still in development stage and have not been tested extensively yet.

banner with logo and logotype

kloch /klˈoʃ/ is a configuration system for launching software. Configurations are yaml files referred as "environment profile" which specify the parameters for one or multiple pre-defined launchers.

Launchers are internally defined python objects that specify how to execute a combinations of options and (optional) command.

In a very abstract way, kloch is a system that:

  • serialize the arguments passed to a pre-defined function as yaml files.
  • execute that function by unserializing the parameters provided at runtime.

kloch was initially designed as the environment manager layer when used with the rez package manager.

features

  • offer a CLI and a public python API
  • custom config format for environment profiles:
    • inheritance
    • inheritance merging rules with token system
  • arbitrary profile locations with flexible configuration
  • plugin system for launchers

programming distinctions

  • robust logging.
  • good amount of unittesting
  • good documentation with a lot of doc created at code level
  • python 3.7+ support (EOL was in June 2023).
  • PyYAML as only mandatory external python dependency.
  • flexible "meta" configuration from environment variable or config file.
  • clear public and private API

documentation

Check the detailed documentation at https://knotsanimation.github.io/kloch/

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

kloch-0.11.1.tar.gz (24.4 kB view hashes)

Uploaded Source

Built Distribution

kloch-0.11.1-py3-none-any.whl (32.6 kB view hashes)

Uploaded Python 3

Supported by

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