{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/10"}],"enrichment":{"capability":"Transforms Python source code into compact, functionally equivalent minified code by removing whitespace, renaming variables, and optimizing syntax.","skillfed_tags":["code-compression","deployment-optimization","aws-lambda"],"use_cases":["Embed Python Lambda functions in AWS CloudFormation templates under the 4 KiB inline code limit","Reduce deployment package size for serverless functions or edge computing environments","Obfuscate source code for distribution when combined with other techniques","Minimize Python code for resource-constrained environments or IoT devices","Compress utility scripts or one-off tools before transmission or storage"],"what_it_does":"python-minifier rewrites Python source code into a functionally identical but much smaller form by collapsing whitespace, shortening variable names, and simplifying syntax. It was originally built to embed AWS Lambda functions in CloudFormation templates, which have a 4 KiB size limit for inline code.\n\nThe tool works as both a command-line utility (pyminify) and a Python API. It supports Python 2.7 and Python 3.3 through 3.14, and the minified output is compatible with the same Python version that ran the minifier. There are no runtime dependencies, making installation straightforward.","worth_installing":"Yes, if you need to shrink Python source code for deployment or embedding. The package is stable (Production/Stable status), has no dependencies, and carries no security vulnerabilities. The main caveat is that minified code runs only on the Python version that performed the minification, so test carefully if you minify on a different version than your target runtime."},"id":"python-minifier","links":{"html":"https://skillfed.io/packages/python-minifier","md":"https://skillfed.io/packages/python-minifier.md","pypi":"https://pypi.org/project/python-minifier/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-31","license_spdx":null,"license_treatment":"permissive","name":"python-minifier","python_support":"supports_current","summary":"Transform Python source code into it's most compact representation"},"popularity":{"monthly_downloads":271756,"position":8219,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.2.0"}
