{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"}],"enrichment":{"capability":"Transpiles Python functions to JavaScript, converting Python code to client-side JavaScript equivalents with clear error reporting for unsupported syntax.","skillfed_tags":["transpiler","gradio","client-side-execution"],"use_cases":["Convert Python utility functions to run in Gradio web interfaces without duplicating logic in JavaScript.","Transpile simple Python data-processing functions for client-side execution in web applications.","Quickly identify which Python functions can be safely moved to the browser by attempting transpilation and reading error messages.","Prototype client-side computation workflows where Python developers want to avoid learning JavaScript syntax.","Build web applications where Python business logic needs to execute in the browser for performance or offline capability."],"what_it_does":"Groovy is a Python-to-JavaScript transpiler designed to convert Python functions into equivalent JavaScript code that runs client-side. It was built for use in Gradio, enabling developers to write Python functions that execute in the browser as fast JavaScript without rewriting in a different language. The transpiler takes a conservative approach: it supports a subset of Python syntax (basic arithmetic, control flow, list comprehensions, and some standard library functions) and requires type hints on function parameters to avoid ambiguity. When it encounters unsupported syntax or cannot resolve types, it raises a TranspilationError with line numbers and the problematic code, making it straightforward to identify what needs to be rewritten.\n\nThe package has no runtime dependencies and installs cleanly. It prioritizes clear error messages over attempting to transpile everything, so you'll know immediately if a function can't be converted rather than getting silent failures or incorrect JavaScript. The transpiled output is not optimized or minimized, but it aims to produce JavaScript that returns identical values to the original Python when given the same inputs, even if the internal implementation differs slightly (for example, Python tuples become JavaScript arrays).","worth_installing":"Yes, if you are building Gradio applications or need to run simple Python functions client-side in JavaScript. The low install friction, no dependencies, and clear error reporting make it straightforward to evaluate whether your code is transpilable. However, the aging maintenance status (532 days since release, last commit 2026-01-19) means you should verify that it still works with your target Python version and that any bugs you encounter will be addressed. Not suitable for complex Python code or projects requiring active maintenance."},"id":"groovy","links":{"html":"https://skillfed.io/packages/groovy","md":"https://skillfed.io/packages/groovy.md","pypi":"https://pypi.org/project/groovy/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-28","license_spdx":null,"license_treatment":"permissive","name":"groovy","python_support":"supports_current","summary":"A small Python library created to help developers protect their applications from Server Side Request Forgery (SSRF) attacks."},"popularity":{"monthly_downloads":5567233,"position":2070,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.2"}
