$npx skillfedfor your agent

srsly

Modern high-performance serialization utilities for Python

Worth itPyPI Scientific/EngineeringReleased Mar 202621.6M downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — srsly-2.5.3-cp310-cp310-macosx_10_9_x86_64.whl · srsly-2.5.3-cp310-cp310-macosx_11_0_arm64.whl · srsly-2.5.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
v2.5.3 · released 2026-03-23 · Python <3.15,>=3.9 · 1 runtime deps: catalogue

Yes. srsly is actively maintained, has no known vulnerabilities, and offers genuine value if you need multiple serialization formats in one place. The MIT license is permissive. Install friction is moderate due to compiled components, but pre-built wheels are widely available. Worth installing if you're building on spaCy, Prodigy, or similar data-heavy tools, or if you want to consolidate serialization dependencies.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Medium install friction due to compiled components (Cython), but pre-built wheels are available for common platforms and Python versions.
  • Actively maintained with recent releases; no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute srsly freely provided you include the license notice.

last release 2026-03-23 (144 days) · last repo commit 2026-03-27 · 484 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 21,618,409 downloads/mo, #994 on PyPI

Verify before relying

import srsly

data = {"foo": "bar", "baz": 123}
json_string = srsly.json_dumps(data)
obj = srsly.json_loads(json_string)

srsly.write_json("/path/to/file.json", data)
loaded = srsly.read_json("/path/to/file.json")
  • Whether the included forks of ujson, msgpack, msgpack-numpy, cloudpickle, and ruamel.yaml are kept in sync with upstream security patches.
  • Performance characteristics compared to using the underlying libraries directly.
Same gist for agents: .md · .json

What it is and what it does

srsly is a serialization utility package that bundles JSON, JSONL, MessagePack, Pickle, and YAML support into a single binary wheel. It wraps multiple well-known serialization libraries (ujson, msgpack, cloudpickle, ruamel.yaml) as internal forks, eliminating the need to manage them as separate dependencies while providing a consistent high-level API across all formats.

The package solves the problem of serialization inconsistencies across Python versions and platforms by centralizing encoding, locale, and file-handling logic. It's typically used in data processing pipelines, machine learning workflows, and applications that need to persist or transmit structured data reliably. The single-wheel distribution model reduces installation complexity and maintenance overhead compared to managing multiple small dependencies.

Use it for

  • Serialize and deserialize structured data in machine learning pipelines where multiple formats (JSON, MessagePack, Pickle) are needed.
  • Write and read gzip-compressed JSON or JSONL files for efficient storage of large datasets.
  • Provide a consistent serialization interface across spaCy, Prodigy, and other NLP/data tools that need platform-independent data handling.
  • Handle cross-Python-version compatibility issues by abstracting away encoding and locale quirks in serialization.
  • Replace multiple small serialization dependencies with a single pre-compiled wheel to speed up installation.

Worth the install?

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

Worth it

Yes.

srsly is actively maintained, has no known vulnerabilities, and offers genuine value if you need multiple serialization formats in one place. The MIT license is permissive. Install friction is moderate due to compiled components, but pre-built wheels are widely available. Worth installing if you're building on spaCy, Prodigy, or similar data-heavy tools, or if you want to consolidate serialization dependencies.

Install

srsly on PyPI

Before you install

Medium install friction due to compiled components (Cython), but pre-built wheels are available for common platforms and Python versions. Actively maintained with recent releases; no known vulnerabilities.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute srsly freely provided you include the license notice.

Quickstart

import srsly

data = {"foo": "bar", "baz": 123}
json_string = srsly.json_dumps(data)
obj = srsly.json_loads(json_string)

srsly.write_json("/path/to/file.json", data)
loaded = srsly.read_json("/path/to/file.json")

Verify before relying

  • Whether the included forks of ujson, msgpack, msgpack-numpy, cloudpickle, and ruamel.yaml are kept in sync with upstream security patches.
  • Performance characteristics compared to using the underlying libraries directly.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.15,>=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
catalogue
MaintenanceActively maintained 144 days since the last release
Last repo commit
First released
Downloads21,618,409 / month, #994 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: CythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Scientific/Engineering

Evidence: srsly-2.5.3-cp310-cp310-macosx_10_9_x86_64.whl; srsly-2.5.3-cp310-cp310-macosx_11_0_arm64.whl; srsly-2.5.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; srsly-2.5.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; srsly-2.5.3-cp310-cp310-musllinux_1_2_aarch64.whl; srsly-2.5.3-cp310-cp310-musllinux_1_2_x86_64.whl; srsly-2.5.3-cp310-cp310-win_amd64.whl; srsly-2.5.3-cp310-cp310-win_arm64.whl; srsly-2.5.3-cp311-cp311-macosx_10_9_x86_64.whl; srsly-2.5.3-cp311-cp311-macosx_11_0_arm64.whl; srsly-2.5.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; srsly-2.5.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; srsly-2.5.3-cp311-cp311-musllinux_1_2_aarch64.whl; srsly-2.5.3-cp311-cp311-musllinux_1_2_x86_64.whl; srsly-2.5.3-cp311-cp311-win_amd64.whl; srsly-2.5.3-cp311-cp311-win_arm64.whl; srsly-2.5.3-cp312-cp312-macosx_10_13_x86_64.whl; srsly-2.5.3-cp312-cp312-macosx_11_0_arm64.whl; srsly-2.5.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; srsly-2.5.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Tags

Capabilities
json serialization librarymessagepack pickle yamlcross-platform data serializationunified serialization apibinary wheel serializationjsonl file handlinggzip compressed json
Topics
serializationdata-formatscross-platform

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 › “messagepack pickle yaml”

  • srslysrsly provides a unified API for serializing and deserializing data…
  • ormsgpackormsgpack is a fast MessagePack serialization library for Python that…
  • msgspec-mmsgspec-m is a fast serialization and validation library supporting…

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

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also u-msgpack-python · serpyco-rs · msgpack-python · ormsgpack · msgpack · msgspec-m · oslo.serialization · msgpack-numpy-opentensor · msgpack-numpy · jsonpickle