skillfed

CoffeeScript

A bridge to the JS CoffeeScript compiler

coffeescript v2.0.3 86.9K downloads/30d#13,829 on PyPI82
Permissive license MIT License Abandoned released

What it is and what it does

CoffeeScript is a Python wrapper around the JavaScript CoffeeScript compiler, allowing you to compile CoffeeScript syntax to JavaScript from within Python code. It bundles the CoffeeScript.js compiler as a library artifact, so you can call a simple compile() function to transform CoffeeScript strings or files into JavaScript output.

The package is designed for developers who want to generate or transpile CoffeeScript as part of a Python application—for example, in a build pipeline, a web framework, or a code generation tool. It has no runtime dependencies beyond Python itself, but the repository has been archived and unmaintained since the last commit on 2018-03-19. The classifiers indicate support only for Python 2.7 and 3.2–3.4, all of which are end-of-life.

Use it for:

  • Transpile CoffeeScript source files to JavaScript as part of a Python-based build or asset pipeline.
  • Generate JavaScript code dynamically from a Python web application or template engine.
  • Integrate CoffeeScript compilation into a Python project that mixes both languages.
  • Batch-process CoffeeScript files to JavaScript in a Python automation script.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Compiles CoffeeScript code to JavaScript from within Python, wrapping the JS CoffeeScript compiler for use as a Python library.

No. The package is unmaintained (archived, last commit 2018-03-19, latest release 2018-01-18) and its stated Python support (2.7, 3.2–3.4) is obsolete. High install friction from bundled artifacts and lack of active maintenance make it risky for new projects. If you need CoffeeScript compilation, use the standalone CoffeeScript CLI or a modern, maintained Node.js toolchain instead.

Install

coffeescript on PyPI

pip

pip install coffeescript

uv

uv add coffeescript

poetry

poetry add coffeescript

Installing CoffeeScript

Before you install

High install friction: the package bundles a compiled CoffeeScript.js artifact rather than relying on a system compiler, which may require additional setup. Maintenance is a serious concern—the repository was archived, with the last commit on 2018-03-19 and no active development since.

License in practice

MIT License (permissive) means you can use, modify, and redistribute this package freely in commercial and private projects, with minimal restrictions beyond attribution.

Quickstart

import coffeescript
result = coffeescript.compile('add = (a, b) -> a + b')
print(result)

The package bundles CoffeeScript.js as a compiled artifact; ensure your Python environment can execute the embedded compiler and that any required system dependencies for JavaScript execution are present.

Verify before relying

  • Whether the bundled CoffeeScript.js v2.0.3 is compatible with modern Python versions given classifiers list only Python 2.7 and 3.2–3.4.
  • Whether the package works reliably on current Python versions given its age and lack of maintenance.
  • What system-level dependencies, if any, are required to execute the embedded JavaScript compiler.

Package facts

License MIT License (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 3,130 days since the last release
Last repo commit (repository archived)
First released
Downloads 86,878/month — #13,829 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: CoffeeScript-2.0.3.tar.gz

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: JavaScriptProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4

Tags

coffeescript compiler pythoncompile coffeescript to javascriptpython coffeescript bridgecoffeescript transpilerjavascript code generation from python
transpilerabandoned

More Build Tools packages