{"id":27804,"library":"gh-templates-linux-x86-musl","title":"gh-templates-linux-x86-musl","description":"GitHub Templates CLI tool for managing and using GitHub repository templates. Current version 0.1.39, requires Python >=3.7. Sporadic releases.","status":"active","version":"0.1.39","language":"python","source_language":"en","source_url":"https://github.com/octocat/gh-templates","tags":["github","templates","cli","linux"],"install":[{"cmd":"pip install gh-templates-linux-x86-musl","lang":"bash","label":"PyPI install"}],"dependencies":[],"imports":[{"note":"Wrong import: the library slug uses dashes, but actual package name uses underscores.","wrong":"from gh_templates_linux_x86_musl import GHTemplates","symbol":"GHTemplates","correct":"from gh_templates import GHTemplates"},{"note":"Wrong import: TemplateManager is not in cli submodule.","wrong":"from gh_templates.cli import TemplateManager","symbol":"TemplateManager","correct":"from gh_templates import TemplateManager"}],"quickstart":{"code":"from gh_templates import GHTemplates\n\nclient = GHTemplates()\n# List available templates\ntemplates = client.list_templates()\nprint(templates)","lang":"python","description":"Initialize the client and list GitHub repository templates."},"warnings":[{"fix":"Use 'from gh_templates import ...' instead of 'from gh-templates-linux-x86-musl import ...'.","message":"The package name on PyPI contains 'linux-x86-musl' but the import uses underscores: 'gh_templates'. Do not use the hyphenated name in imports.","severity":"breaking","affected_versions":"all"},{"fix":"Replace client.get_template(name) with client.fetch_template(name).","message":"The method 'get_template' has been deprecated in favor of 'fetch_template'.","severity":"deprecated","affected_versions":">=0.1.30"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Change import to 'from gh_templates import GHTemplates'.","cause":"Import uses hyphens instead of underscores.","error":"ModuleNotFoundError: No module named 'gh-templates-linux-x86-musl'"},{"fix":"Use 'fetch_template' instead of 'get_template'.","cause":"Method renamed in newer versions.","error":"AttributeError: 'GHTemplates' object has no attribute 'get_template'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}