skillfed

pyion2json

Convert an Amazon Ion document(s) to JSON

pyion2json v0.0.2 178.4K downloads/30d#10,193 on PyPI3
Permissive license MIT Abandoned released

What it is and what it does

pyion2json is a lightweight converter that transforms Amazon Ion format documents into JSON. It provides two main functions: one to convert individual Ion values, and another to convert result cursors from AWS QLDB queries directly into JSON arrays. The package has no declared runtime dependencies, making it minimal to install.

The package is abandoned, with its last release on 2020-03-13 and no commits since then. It was designed as a simple bridge between Ion and JSON formats, particularly useful for QLDB workflows. The description notes incomplete work on BLOB and CLOB conversion, so those features may not be fully reliable.

Use it for:

  • Convert Ion query results from AWS QLDB into JSON arrays for downstream processing or API responses.
  • Transform individual Ion documents into JSON for storage in systems that expect JSON format.
  • Bridge Ion-based data sources to JSON-consuming applications without writing custom parsing logic.

Worth the install?

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

Converts Amazon Ion documents and QLDB query results to JSON format for easier consumption in Python applications.

No, unless you have a specific, narrow need to convert Ion to JSON and are prepared to fork and maintain the code yourself. The package is abandoned with no recent updates, incomplete feature coverage (BLOB/CLOB conversion marked TODO), and unclear dependency requirements. For active QLDB workflows, consider writing a custom converter or checking for more recently maintained alternatives.

Install

pyion2json on PyPI

pip

pip install pyion2json

uv

uv add pyion2json

poetry

poetry add pyion2json

Installing pyion2json

Before you install

High install friction with no runtime dependencies. The package is abandoned—last updated 2020-03-13, with no recent maintenance or commits. Use only if you need this specific conversion and are willing to maintain a fork if issues arise.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.

Quickstart

pip install pyion2json

from pyion2json import ion_to_json
from pyion2json import ion_cursor_to_json

# Convert individual Ion values
json_doc = ion_to_json(ion_doc)

# Convert QLDB cursor results
json_rows = ion_cursor_to_json(qldb_cursor)

Requires Ion parsing capability available in your environment; the package itself declares no runtime dependencies.

Verify before relying

  • Whether amazon.ion is an undeclared runtime dependency or optional peer dependency.
  • Current status of BLOB and CLOB conversion (marked TODO in the description).
  • Whether the package works with current versions of Python and Ion libraries.

Package facts

License MIT (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 2,345 days since the last release
Last repo commit
First released
Downloads 178,409/month — #10,193 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyion2json-0.0.2.tar.gz

Keywords: Amazon, Ion, JSON

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Topic :: Software Development :: Build Tools

Tags

amazon ion to json conversionion document parserqldb result to jsonion format converteramazon ion json adapterconvert ion documentsqldb cursor json
ion-formatqldbdata-conversion

More Build Tools packages