$npx skillfedfor your agent

jsonstreams

A JSON streaming writer

With conditionsPyPI UtilitiesReleased Mar 2021169.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jsonstreams-0.6.0-py2.py3-none-any.whl
v0.6.0 · released 2021-03-16 · Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.* · 2 runtime deps: six, enum34

Yes, if you need to write large JSON files or stream JSON output incrementally and want to avoid building the full data structure in memory. The low install friction and permissive license make it a safe choice. However, the dormant maintenance status (last release 2021-03-16) means no active support; use it only for stable, straightforward JSON streaming tasks where you don't expect ongoing development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with only two runtime dependencies (six and enum34).
  • Maintenance is dormant—last release was 2021-03-16 and no commits since 2024-05-15—so expect no active bug fixes or feature work, though the package remains stable for its stated use case.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in commercial or private projects.

last release 2021-03-16 (1977 days) · last repo commit 2024-05-15 · 17 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 169,603 downloads/mo, #10,414 on PyPI

Verify before relying

import jsonstreams

with jsonstreams.Stream(jsonstreams.Type.OBJECT, filename='foo') as s:
    s.write('foo', 'bar')
    with s.subobject('a') as a:
        a.write('foo', 1)
        a.write('bar', 2)
  • Performance characteristics compared to standard json module for typical workloads
  • Compatibility with Python 3.10+ (classifiers only list up to 3.9)
  • Whether enum34 dependency is still required on Python 3.4+
Same gist for agents: .md · .json

What it is and what it does

jsonstreams is a JSON writer that lets you build and output JSON documents incrementally without loading the entire structure into memory first. Instead of constructing nested dicts and lists and then serializing them with the standard json module, you write key-value pairs and nested structures directly to a file or stream using a context-manager interface. This is useful when generating large JSON files or when data arrives incrementally.

The package treats JSON arrays and objects as first-class streaming containers, mirroring Python's list and dict semantics. It supports any type that the standard json.JSONEncoder can handle, or you can subclass the encoder for custom types. The context-manager design ensures containers are properly closed; writing to a closed container raises an exception to catch programming errors early.

Use it for

  • Generate large JSON files without loading all data into memory at once
  • Stream JSON output from a database query or API response incrementally
  • Build JSON documents where data arrives in chunks or from multiple sources
  • Write JSON logs or metrics where each entry is added one at a time
  • Reduce peak memory usage in data processing pipelines that produce JSON

Worth the install?

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

With conditions

Yes, if you need to write large JSON files or stream JSON output incrementally and want to avoid building the full data structure in memory.

The low install friction and permissive license make it a safe choice. However, the dormant maintenance status (last release 2021-03-16) means no active support; use it only for stable, straightforward JSON streaming tasks where you don't expect ongoing development.

Install

jsonstreams on PyPI

Before you install

Low install friction with only two runtime dependencies (six and enum34). Maintenance is dormant—last release was 2021-03-16 and no commits since 2024-05-15—so expect no active bug fixes or feature work, though the package remains stable for its stated use case.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

import jsonstreams

with jsonstreams.Stream(jsonstreams.Type.OBJECT, filename='foo') as s:
    s.write('foo', 'bar')
    with s.subobject('a') as a:
        a.write('foo', 1)
        a.write('bar', 2)

Verify before relying

  • Performance characteristics compared to standard json module for typical workloads
  • Compatibility with Python 3.10+ (classifiers only list up to 3.9)
  • Whether enum34 dependency is still required on Python 3.4+

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
sixenum34
MaintenanceDormant 1,977 days since the last release
Last repo commit
First released
Downloads169,603 / month, #10,414 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: jsonstreams-0.6.0-py2.py3-none-any.whl

Tags

Capabilities
streaming json writerjson output without building treememory-efficient json generationincremental json writingcontext manager jsonlarge json file streaming
Topics
jsonstreamingmemory-efficient
PyPI keywords
JSONstream

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 › “json output without building tree”

  • jsonstreamsWrites JSON documents in a streaming format without building the…
  • pipdeptreepipdeptree displays installed Python packages as a hierarchical…
  • mo-sql-parsingParses SQL queries into JSON-serializable parse trees, and can…

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 ndjson · jsonlines · json-stream · numpyencoder · standardjson · compact-json · stream-zip · json-numpy · writer-sdk · json-tricks