skillfed

ssf

Spreadsheet Number Format processor - a Python port of SheetJS/ssf.js

ssf v0.2.2 936.3K downloads/30d#4,692 on PyPI7
Permissive license Apache Software License 2.0 Abandoned released

What it is and what it does

ssf is a Python port of the SheetJS/ssf.js JavaScript library for formatting numbers and dates using spreadsheet format codes. It applies ECMA-376 format strings—the standard format specifications used in Excel and other spreadsheet software—to Python data types, producing formatted output strings. The package includes support for colors, widths, and localization via alternative calendars and Babel for internationalization.

The library is a pure Python implementation with no compiled dependencies, making it straightforward to install. However, the package has been abandoned since 2020-10-29 and receives no maintenance; while it remains functional for the format codes it supports, it will not be updated for newer Python versions or new format specifications.

Use it for:

  • Format numeric and date values for export to spreadsheet formats using standard format codes.
  • Apply locale-aware date and number formatting to data before writing to spreadsheet files.
  • Convert spreadsheet format strings to formatted output in Python without requiring a spreadsheet application.
  • Support alternative calendar systems in date formatting for international spreadsheet applications.
  • Parse and apply cell format codes extracted from existing spreadsheet files to new data.

Worth the install?

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

Formats numbers and dates using ECMA-376 spreadsheet format codes, the standard format strings used in Excel and other spreadsheet software.

Yes, if you need to format numbers and dates using spreadsheet format codes and can accept an abandoned package. The library is stable, has no known vulnerabilities, and low install friction. However, do not use it if you require ongoing maintenance, support for Python versions beyond 3.8, or fixes for edge cases—the last release was 2020-10-29 with no subsequent updates.

Install

ssf on PyPI

pip

pip install ssf

uv

uv add ssf

poetry

poetry add ssf

Installing ssf

Before you install

Low friction: pure Python wheel with no compiled dependencies. Maintenance is abandoned (last release 2020-10-29, no commits since); the package is stable but will not receive updates for new Python versions or bug fixes.

License in practice

Apache Software License 2.0 is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install ssf

import ssf
formatted = ssf.format('0.00')
print(formatted)

Requires Python 3.6 or later; depends on Babel, python-dateutil, pytz, PyYAML, six, ummalqura, and convertdate.

Verify before relying

  • Whether the package handles all ECMA-376 format codes or only a subset of them.
  • Whether localization and alternative calendar support are production-ready or experimental.
  • Current compatibility with Python 3.9+ given the package is abandoned and last tested on Python 3.8.
  • Concrete usage patterns and API surface beyond format code application.

Package facts

License Apache Software License 2.0 (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 7 — Babel, python-dateutil, pytz, PyYAML, six, ummalqura, convertdate
Maintenance abandoned — 2,075 days since the last release
Last repo commit
First released
Downloads 936,304/month — #4,692 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ssf-0.2.2-py2.py3-none-any.whl

Keywords: ssf

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Tags

spreadsheet number formattingECMA-376 format codesExcel format stringsdate formatting spreadsheetnumber format processorspreadsheet cell formattingformat code parser
spreadsheet-formattingdata-export

More Utilities packages