$npx skillfedfor your agent

lzstring

lz-string for python

SkipPyPI UtilitiesReleased Jun 2018353.8K downloads / mopermissive licenseSource build

Decision gist · record as of 2026-08-14

sdist only — lzstring-1.0.4.tar.gz · builds from source
v1.0.4 · released 2018-06-01

No. The package is dormant (last release June 2018), classifiers claim only Python 2.6–3.3 support, and actual compatibility with modern Python is unverified. High install friction from source distribution adds friction. While MIT-licensed and free of known vulnerabilities, the lack of maintenance and uncertain modern-Python support make it a poor choice for new projects. Consider only if you must interoperate with legacy systems already using this library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction from source distribution.
  • Dormant maintenance: last release June 2018, last commit October 2023, with only 12 repository stars.
  • Classifiers indicate Alpha status and support for Python 2.6–3.3.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2018-06-01 (2996 days) · last repo commit 2023-10-12 · 12 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 353,830 downloads/mo, #7,299 on PyPI

Verify before relying

pip install lzstring

import lzstring
x = lzstring.LZString()
compressed = x.compressToBase64(u'你好')
x.decompressFromBase64(compressed)
  • Whether the package actually works on Python versions beyond 3.3 despite modern Python support being unspecified
  • Whether the source distribution requires compilation or has undocumented system dependencies
  • Current maintenance status and willingness to accept pull requests or address issues
Same gist for agents: .md · .json

What it is and what it does

lzstring is a Python port of the LZ-String JavaScript compression library. It provides methods to compress and decompress text into various formats, including Base64, making it useful for reducing payload size when transmitting or storing text data. The package has no runtime dependencies and works with both Python 2 and 3, though its classifiers reflect only legacy Python versions (2.6–3.3).

The library is dormant: the latest release was June 2018, and while the repository shows a commit from October 2023, there has been no active development or maintenance for years. It remains available and functional for basic compression tasks, but the lack of recent updates means compatibility with modern Python versions is uncertain.

Use it for

  • Compress Unicode text including non-ASCII characters for storage or transmission over bandwidth-constrained channels
  • Interoperate with JavaScript applications using the original LZ-String library by compressing and decompressing shared data
  • Reduce payload size in web APIs or data serialization where standard compression formats are not suitable
  • Archive or deduplicate text-heavy datasets where LZ-String's algorithm offers acceptable compression ratios

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is dormant (last release June 2018), classifiers claim only Python 2.6–3.3 support, and actual compatibility with modern Python is unverified. High install friction from source distribution adds friction. While MIT-licensed and free of known vulnerabilities, the lack of maintenance and uncertain modern-Python support make it a poor choice for new projects. Consider only if you must interoperate with legacy systems already using this library.

Install

lzstring on PyPI

Before you install

High install friction from source distribution. Dormant maintenance: last release June 2018, last commit October 2023, with only 12 repository stars. Classifiers indicate Alpha status and support for Python 2.6–3.3.

License in practice

MIT license (permissive) imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install lzstring

import lzstring
x = lzstring.LZString()
compressed = x.compressToBase64(u'你好')
x.decompressFromBase64(compressed)

Verify before relying

  • Whether the package actually works on Python versions beyond 3.3 despite modern Python support being unspecified
  • Whether the source distribution requires compilation or has undocumented system dependencies
  • Current maintenance status and willingness to accept pull requests or address issues

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 2,996 days since the last release
Last repo commit
First released
Downloads353,830 / month, #7,299 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.1Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3

Evidence: lzstring-1.0.4.tar.gz

Tags

Capabilities
lz-string compression pythontext compression base64lzstring compress decompressjavascript lz-string portstring compression librarydata compression utility
Topics
compressionlegacy-maintenance
PyPI keywords
lz-string

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “lz-string compression python”

  • lzstringCompresses and decompresses text using the LZ-String algorithm,…
  • xpress9Xpress9 is a Python wrapper for Microsoft's Xpress9 compression…
  • python-snappyPython binding for Google's Snappy compression library, providing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also python-neo-lzf · compressed-rtf · ncompress · python-lzf · unlzw3 · listcrunch · pyzstd · Flask-Compress · inflate64 · xpress9