This package bundles some of the best Python serialization libraries into one standalone package, with a high-level API that makes it easy to write code that's correct across platforms and Pythons. This allows us to provide all the serialization utilities we need in a single binary wheel. Currently supports JSON, JSONL, MessagePack, Pickle, and YAML. Serialization is hard, especially across Python versions and multiple platforms. After dealing with many subtle bugs over the years (encodings, locales, large files) our libraries like spaCy and Prodigy have steadily grown a number of utility functions to wrap the multiple serialization formats we need to support (especially json, msgpack and pickle). These wrapping functions ended up duplicated across our codebases, so we wanted to put them in one place.

Features

  • Serialization is hard, especially across Python versions and multiple platforms
  • Create a gzipped JSON file and dump contents
  • Load YAML from a file or standard input
  • Check if a Python object is YAML-serializable
  • Currently supports JSON, JSONL, MessagePack, Pickle and YAML
  • High-level API that makes it easy to write code that's correct across platforms and Pythons

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow srsly

srsly Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of srsly!

Additional Project Details

Programming Language

Python

Related Categories

Python JSON Software

Registered

2023-11-01