{"id":27803,"library":"gh-templates-linux-x64-musl","title":"GH Templates CLI","description":"A CLI tool that wraps GitHub templates into executable scripts. Version 0.1.39, requires Python >=3.7. Note: The package name is platform-specific (linux-x64-musl); it is designed for static linking on musl-based systems.","status":"active","version":"0.1.39","language":"python","source_language":"en","source_url":"https://github.com/example/gh-templates","tags":["cli","github","templates"],"install":[{"cmd":"pip install gh-templates-linux-x64-musl","lang":"bash","label":"Install package"}],"dependencies":[],"imports":[{"note":"Direct import of the CLI class.","symbol":"GhTemplatesCli","correct":"from gh_templates_linux_x64_musl import GhTemplatesCli"}],"quickstart":{"code":"from gh_templates_linux_x64_musl import GhTemplatesCli\ncli = GhTemplatesCli(token=\"<your-github-token>\")\nresult = cli.run(\"list\")","lang":"python","description":"Initialize with GitHub token and list templates."},"warnings":[{"fix":"Check if a more general package exists on PyPI (e.g., gh-templates). If not, use Docker or a compatible environment.","message":"Package name includes platform and architecture (linux-x64-musl). If you are on a different OS or arch (e.g., macOS, Windows, ARM), this package will not install. Use the generic 'gh-templates' package instead if available, or install via a different wheel.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace `cli.run('list')` with `cli.execute('list')`.","message":"The method `run()` is deprecated in favor of `execute()` since version 0.1.30. Old code using `cli.run()` will work but emits a deprecation warning.","severity":"deprecated","affected_versions":">=0.1.30, <0.1.40"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Ensure you installed the correct package: pip install gh-templates-linux-x64-musl. Then import using the underscored name: from gh_templates_linux_x64_musl import GhTemplatesCli","cause":"The package is not installed or the import path is wrong.","error":"ImportError: No module named 'gh_templates_linux_x64_musl'"},{"fix":"Use a Docker container with musl-based Linux (e.g., Alpine) or install from source if available.","cause":"Attempting to import on a non-musl Linux or non-x86_64 architecture. The package ships only a musl-based wheel for x86_64.","error":"ModuleNotFoundError: No module named 'gh_templates_linux_x64_musl'"},{"fix":"Update your code to use `cli.execute('list')` instead of `cli.run('list')`.","cause":"The method `run` was removed in version 0.1.40. You are using a newer version that only supports `execute`.","error":"AttributeError: 'GhTemplatesCli' object has no attribute 'run'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}