{"library":"dockerfile","type":"library","category":null,"description":"The 'dockerfile' Python library (version 3.4.0) provides a high-level representation parser for Dockerfiles, leveraging the official Go parser. It allows programmatic inspection and manipulation of Dockerfile instructions, making it useful for static analysis, linting, or generating Dockerfile content. The library is actively maintained with regular updates.","language":"python","status":"active","version":"3.4.0","tags":["docker","parsing","devops","containerization","build","go"],"install":[{"cmd":"pip install dockerfile","imports":["import dockerfile\ncommands = dockerfile.parse_string(\"FROM alpine\\nRUN echo hello\")","import dockerfile\ncommands = dockerfile.parse_file(\"path/to/Dockerfile\")","from dockerfile import Command\n# Used within results of parse_string/parse_file","import dockerfile\nknown_cmds = dockerfile.all_cmds()"]}],"homepage":null,"github":"https://github.com/asottile/dockerfile","docs":null,"changelog":null,"pypi":"https://pypi.org/project/dockerfile/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/dockerfile/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}