$npx skillfedfor your agent

rison

Rison encoder/decoder

Worth itPyPI InternetReleased Apr 2026431.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — rison-2.0.1-py3-none-any.whl
v2.0.1 · released 2026-04-26 · Python >=3.10

Yes. Rison solves a real problem—passing nested data through URIs compactly and readably—that JSON handles poorly. The package is lightweight, actively maintained, has no dependencies, supports current Python versions, carries no known vulnerabilities, and uses a permissive license. Install it if you need to encode complex structures into query strings or URLs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Active maintenance with recent releases; repository shows steady activity.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-04-26 (110 days) · last repo commit 2026-05-02 · 24 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 431,377 downloads/mo, #6,716 on PyPI

Verify before relying

pip install rison

import rison
rison.dumps({'foo': 'bar'})  # returns '(foo:bar)'
rison.loads('(foo:bar)')  # returns {'foo': 'bar'}
  • Performance characteristics compared to JSON encoding for large nested structures.
  • Compatibility with existing Rison implementations in other languages beyond basic round-trip encoding.
Same gist for agents: .md · .json

What it is and what it does

Rison is a data serialization format designed specifically for embedding nested structures in URIs and query strings. This Python package provides encode and decode functions that convert between Python dictionaries/lists and Rison's compact syntax, which uses parentheses and exclamation marks instead of JSON's braces and brackets. The format avoids most URI-encoding overhead by using only URI-safe characters for its syntax.

The package supports three output formats: full Rison (with outer delimiters), O-RISON (omitting outer parentheses for objects), and A-RISON (omitting outer array markers). It has no runtime dependencies and installs as a pure Python wheel. An optional Pygments extra registers lexers for syntax highlighting of Rison code in three variants.

Use it for

  • Compress complex filter or state parameters in HTTP GET requests to stay within URI length limits.
  • Store application state in browser URLs while keeping them human-readable and cacheable.
  • Pass nested configuration or query structures through command-line tools without shell escaping overhead.
  • Encode form data with nested dictionaries and lists in a more compact format than form-encoded alternatives.
  • Generate shareable links with complex parameters that remain legible when displayed or emailed.

Worth the install?

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

Worth it

Yes.

Rison solves a real problem—passing nested data through URIs compactly and readably—that JSON handles poorly. The package is lightweight, actively maintained, has no dependencies, supports current Python versions, carries no known vulnerabilities, and uses a permissive license. Install it if you need to encode complex structures into query strings or URLs.

Install

rison on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Active maintenance with recent releases; repository shows steady activity.

Requires Python 3.10 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install rison

import rison
rison.dumps({'foo': 'bar'})  # returns '(foo:bar)'
rison.loads('(foo:bar)')  # returns {'foo': 'bar'}

Verify before relying

  • Performance characteristics compared to JSON encoding for large nested structures.
  • Compatibility with existing Rison implementations in other languages beyond basic round-trip encoding.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 110 days since the last release
Last repo commit
First released
Downloads431,377 / month, #6,716 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: rison-2.0.1-py3-none-any.whl

Tags

Capabilities
rison encoder decodercompact uri serializationjson alternative for urlsnested data in query stringsuri-safe data formatrison python librarycompact query parameters
Topics
serializationuri-encodingdata-format

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 › “rison encoder decoder”

  • risonEncodes and decodes data to and from Rison, a URI-optimized…
  • x-transformersx-transformers provides modular transformer building blocks—encoder,…
  • pylsqpackpylsqpack provides Python Decoder and Encoder objects for reading and…

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

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also nestedtext · prison · py-ubjson · python-datauri · curies · prefixcommons · yarl · cbor · canonicaljson · python-toon