{"id":23529,"library":"decomp-settings","title":"decomp-settings","description":"A library for reading the decomp.yaml configuration file used in decompilation projects. Current version 0.0.10, requires Python >=3.7. Release cadence is irregular.","status":"active","version":"0.0.10","language":"python","source_language":"en","source_url":"https://github.com/ethteck/decomp_settings","tags":["decompilation","yaml","config","n64"],"install":[{"cmd":"pip install decomp-settings","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Version is exposed at top-level package.","wrong":"from decomp_settings.version import Version","symbol":"Version","correct":"from decomp_settings import Version"},{"note":"Config is exposed at top-level package.","wrong":"from decomp_settings.config import Config","symbol":"Config","correct":"from decomp_settings import Config"}],"quickstart":{"code":"from decomp_settings import Config, Version\n\nconfig = Config.from_yaml('decomp.yaml')\nprint(config.version)\nprint(config.tools)","lang":"python","description":"Load a decomp.yaml file and print its version and tools."},"warnings":[{"fix":"Update your decomp.yaml: replace 'github:' with 'repo:'.","message":"The 'github' field in decomp.yaml was renamed to 'repo' in version 0.0.9.","severity":"deprecated","affected_versions":">=0.0.9"},{"fix":"Ensure version paths are typed correctly (see docs).","message":"Version paths are now type-checked; previously strings were accepted, now they must be an appropriate type.","severity":"breaking","affected_versions":">=0.0.9"},{"fix":"If pip fails, install Rust via rustup or use pre-built wheels.","message":"The library is built with PyO3 (Rust), so installation may require a Rust compiler on some systems.","severity":"gotcha","affected_versions":"all"},{"fix":"Use the new arbitrary tool definition format.","message":"Old-style tool definitions (plain strings) were deprecated in 0.0.4 and may be removed.","severity":"deprecated","affected_versions":">=0.0.4"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install decomp-settings' in the correct Python environment.","cause":"Library not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'decomp_settings'"},{"fix":"Use 'from decomp_settings import Config'.","cause":"Old import pattern (e.g., 'from decomp_settings.config import Config') was used.","error":"AttributeError: module 'decomp_settings' has no attribute 'Config'"},{"fix":"Check the YAML syntax; use consistent indentation (spaces).","cause":"The decomp.yaml file has indentation errors or mixed tabs/spaces.","error":"yaml.YAMLError: while scanning a simple key"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}