Skip to main content

Missim Config

Configuration management for MISSIM, backed by fluxconf.

Config is stored in ~/.config/greenroom/missim.yml.

Install

pip install -e ./packages/missim_config

Usage

Reading config

from missim_config import config_io

config = config_io.read()

Writing config

from missim_config import config_io, MissimConfig

config = MissimConfig()
config_io.write(config)

Getting the config path

from missim_config import config_io

path = config_io.get_path()

Generating schemas

After changing the dataclasses, you can generate the schemas with:

python3 -m missim_config.generate_schemas

Migrations

Schema migrations live in missim_config/migrations/. To add a migration:

  1. Create a file named N_description.py (e.g. 1_add_new_field.py)
  2. Define a migrate(data: dict) -> dict function that transforms the raw config dict
  3. The version field is managed automatically by fluxconf

Metadata

Release files for missim-config 4.3.0

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

Source distribution (sdist)

Source distribution for missim-config 4.3.0
File Size Uploaded Provenance Actions
missim_config-4.3.0.tar.gz 11.1 kB Without provenance Details for missim_config-4.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for missim-config 4.3.0
File Interpreter ABI Platform Actions
missim_config-4.3.0-py3-none-any.whl Python 3 none any Details for missim_config-4.3.0-py3-none-any.whl

Total release size: 24.2 kB

Release files / missim_config-4.3.0.tar.gz

Download URL missim_config-4.3.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cd7d5c13ad57bf5918ce277ac0ae276a4a026f980664fe4b30b63ce5ed84e859
BLAKE2b-256 checksum
How to use checksums
d696cf3085f0d5217f82d26aa85a559408b1bc089f99d1e413e6b9460e5c6e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / missim_config-4.3.0-py3-none-any.whl

Download URL missim_config-4.3.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14514d9dff33db2e219ab9e02cc3b2f510984de2548234b8b3fb978a22a96b74
BLAKE2b-256 checksum
How to use checksums
288ebbcf4d4f2fafda50b07840a8162d3ca056bc45174125233dcfc624773adb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Security for missim-config 4.3.0

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.

Release history Release notifications | RSS feed

This release

4.3.0 This release

2 release files No provenance

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