Skip to main content

InEx is a lightweight highly configurable Python launcher based on microkernel architecture

Project description

GitHub License PyPI - Version PyPI - Python Version

Stars Badge Forks Badge Pull Requests Badge Issues Badge GitHub contributors

InEx Launcher

Lightweight highly configurable Python launcher based on microkernel architecture

Installation

pip install -U inex-launcher

Single-file configuration

inex-launcher lets you describe an entire experiment in a single YAML file. The plugins list defines the initialization order of handlers. For each handler you only need to provide the module path and its options. The execute section describes the final method that will be called.

plugins:
  - loader
  - model
  - trainer

loader:
  module: myproject.data/Loader
  options:
    path: data/train.csv

model:
  module: myproject.nn/Model
  options:
    hidden: 128

trainer:
  module: myproject.training/Trainer
  imports:
    model: plugins.model
    data: plugins.loader
  options:
    epochs: 10

execute:
  method: myproject.training/run
  imports:
    trainer: plugins.trainer

Run this configuration with:

inex config.yaml

You can fine-tune the experiment by merging it with another file using --merge and overriding specific values with --update:

inex config.yaml -m experiment.yaml -u trainer.epochs=20 model.hidden=64

This approach lets you modify parameters or even replace handlers with just a few lines of YAML—no need to edit high‑level Python files.

Key benefits of this approach:

  • High modularity – modules can be swapped directly in the configuration thanks to the plugin-based structure.
  • Clean structure – a clear sequence of plugins followed by a single execute block keeps the file readable.
  • Flexibility – YAML allows complex nested structures, so even advanced scenarios fit in one file.

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

inex-launcher-3.1.3.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

inex_launcher-3.1.3-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file inex-launcher-3.1.3.tar.gz.

File metadata

  • Download URL: inex-launcher-3.1.3.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for inex-launcher-3.1.3.tar.gz
Algorithm Hash digest
SHA256 844fcd8e9ba9b36b8b4a8503a51ee33c81fc5983127b6441e20a16b86783ec33
MD5 46ebc4f739ac82b9eceaf40ad7e38841
BLAKE2b-256 4cdad62ed60c2e7e2205c6623a908962cabb175cd26d69279e473f0c73aaaffa

See more details on using hashes here.

File details

Details for the file inex_launcher-3.1.3-py3-none-any.whl.

File metadata

  • Download URL: inex_launcher-3.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for inex_launcher-3.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 16150b610d04a2d4fbd73bec37d5fcb95c13c036ea90702ae18910523ba65a26
MD5 17ff55ed523e4add8a86c784c0b2dc1d
BLAKE2b-256 352748e4233bab24fb550083925f426d78b65b76fe7dfc7f8c679b26410be1ba

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