Skip to main content

kloch

documentation badge Made with Python

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

quick-start

pip install kloch
kloch --help
# or:
python -m kloch --help 

documentation

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

Metadata

Release files for kloch 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kloch 0.13.1
File Size Uploaded Provenance Actions
kloch-0.13.1.tar.gz 27.8 kB Without provenance Details for kloch-0.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kloch 0.13.1
File Interpreter ABI Platform Actions
kloch-0.13.1-py3-none-any.whl Python 3 none any Details for kloch-0.13.1-py3-none-any.whl

Total release size: 64.8 kB

Release files / kloch-0.13.1.tar.gz

Download URL kloch-0.13.1.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0bd4df2aab26a21f9aa09851686bbbc3be19f83e17c3c32874daf6c459160394
BLAKE2b-256 checksum
How to use checksums
2c1280cd80e1d08cf80f50cd9091a0a9b0c21abcf9c7b7db063cde292e812a41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.9

Release files / kloch-0.13.1-py3-none-any.whl

Download URL kloch-0.13.1-py3-none-any.whl
Size 37.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2bfbe342aa19de6e045593955fabed72456db641962e8f5afa69fee30c0895f
BLAKE2b-256 checksum
How to use checksums
d43625106ec9afce5194be7b11a5f1bba48637c4568d689e4b11fa20112bfe6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.9

Security for kloch 0.13.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page