{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"}],"enrichment":{"capability":"DukPy is a JavaScript interpreter for Python that runs JavaScript code and transpiles TypeScript, JSX, and LESS without requiring an external runtime.","skillfed_tags":["javascript-interpreter","transpiler","asset-pipeline"],"use_cases":["Transpile TypeScript or JSX on the server during build or request time without invoking external tools.","Evaluate dynamic JavaScript expressions passed as configuration or user input and return results to Python.","Compile LESS stylesheets as part of a Python-based asset pipeline or web framework.","Run JavaScript unit tests or validation logic from within a Python test suite or CI workflow.","Load and execute npm modules in a Python application without a separate Node.js process."],"what_it_does":"DukPy embeds a JavaScript interpreter in Python, allowing you to execute JavaScript code directly from Python and get results back as JSON-serializable objects. It also includes built-in transpilers for TypeScript, JSX, and LESS, making it useful for asset pipelines and build workflows that need to run on the server side without spawning external processes.\n\nThe package supports both one-off code evaluation via `evaljs()` and persistent interpreter instances via `JSInterpreter` for scenarios where bootstrap cost matters. It can load JavaScript modules via `require()` and run ES modules or CommonJS files. Since version 0.6.0, it has no external runtime dependencies\u2014the interpreter is bundled\u2014and supports Python 3.9 through 3.14 across multiple platforms.","worth_installing":"Yes, if you need to run JavaScript or transpile TypeScript/JSX/LESS from Python without external dependencies. The package is actively maintained, has no known vulnerabilities, and supports current Python versions. Install friction is moderate but manageable. Not recommended if you need high-performance JavaScript execution or have complex npm ecosystem dependencies beyond what DukPy's loader can resolve."},"id":"dukpy","links":{"html":"https://skillfed.io/packages/dukpy","md":"https://skillfed.io/packages/dukpy.md","pypi":"https://pypi.org/project/dukpy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-23","license_spdx":"MIT","license_treatment":"permissive","name":"dukpy","python_support":"supports_current","summary":"Simple JavaScript interpreter for Python"},"popularity":{"monthly_downloads":610562,"position":5765,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
