$npx skillfedfor your agent

jsonslicer

Stream JSON parser with iterator interface

With conditionsPyPI Text ProcessingReleased Oct 2022315.4K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — jsonslicer-0.1.8.tar.gz · builds from source
v0.1.8 · released 2022-10-25

Yes, if you need to parse large JSON files or streams and your system has YAJL development headers available. The memory efficiency and speed justify the compilation overhead for that use case. No if you work with small JSON documents, prefer pure-Python solutions, or cannot manage C extension builds—the project is abandoned and may have compatibility issues on newer systems.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires YAJL development library and a C compiler to build the extension module during installation.
  • High install friction: the package is written in C and depends on the YAJL library, requiring compilation.
  • The project is abandoned (last commit 2022-10-25, 1389 days ago), so build issues on newer systems may not be addressed.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2022-10-25 (1389 days) · last repo commit 2022-10-25 · 49 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 315,445 downloads/mo, #7,685 on PyPI

Verify before relying

from jsonslicer import JsonSlicer

with open('data.json') as f:
    for item in JsonSlicer(f, ('key', None)):
        print(item)
  • Whether YAJL development headers are available on target systems without manual installation
  • Compatibility with Python versions beyond 3.11 (classifiers list 3.6–3.11 only)
  • Current build status on modern compilers and operating systems given the project's abandonment
Same gist for agents: .md · .json

What it is and what it does

JsonSlicer is a streaming JSON parser that reads JSON incrementally from a file or stream without loading the entire document into memory. It uses the YAJL C library for performance and provides a Python iterator interface. You specify a path pattern (using tuples of keys, array indices, or None as wildcards) and the parser yields matching objects as complete Python objects.

The package is designed for processing very large JSON files or continuous streams where memory efficiency matters. It supports multiple path modes to return just the objects, map keys alongside objects, or full path information. It has no runtime dependencies beyond the compiled C extension, making it lightweight once installed.

Use it for

  • Extract specific fields from multi-gigabyte JSON files without loading them into RAM
  • Process streaming JSON APIs or log files line-by-line or chunk-by-chunk
  • Iterate over all items in a deeply nested array or map using wildcard paths
  • Parse JSON with optional features like comments or trailing garbage via YAJL flags
  • Recover map keys alongside values when iterating dictionaries in 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 parse large JSON files or streams and your system has YAJL development headers available.

The memory efficiency and speed justify the compilation overhead for that use case. No if you work with small JSON documents, prefer pure-Python solutions, or cannot manage C extension builds—the project is abandoned and may have compatibility issues on newer systems.

Install

jsonslicer on PyPI

Before you install

High install friction: the package is written in C and depends on the YAJL library, requiring compilation. The project is abandoned (last commit 2022-10-25, 1389 days ago), so build issues on newer systems may not be addressed.

Requires YAJL development library and a C compiler to build the extension module during installation.

License in practice

MIT license is permissive and poses no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

from jsonslicer import JsonSlicer

with open('data.json') as f:
    for item in JsonSlicer(f, ('key', None)):
        print(item)

Verify before relying

  • Whether YAJL development headers are available on target systems without manual installation
  • Compatibility with Python versions beyond 3.11 (classifiers list 3.6–3.11 only)
  • Current build status on modern compilers and operating systems given the project's abandonment

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 1,389 days since the last release
Last repo commit
First released
Downloads315,445 / month, #7,685 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 :: C++Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: jsonslicer-0.1.8.tar.gz

Tags

Capabilities
stream json parserlarge json file parsingmemory-efficient jsonjson iteratorpull-based json parsingjson path extractionincremental json reader
Topics
streaming-parserc-extensionmemory-efficient
PyPI keywords
jsonparserpullstream

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 › “stream json parser”

  • jsonslicerParses JSON streams and large files without loading them entirely…
  • partial-json-parserParses incomplete JSON strings generated by LLM streaming, extracting…
  • streamingjsonCompletes partial JSON strings into syntactically valid JSON by…

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

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also ijson · jiter · iterable-io · magicattr · jsonquerylang · json-tools-rs · streamingjson · partialjson · json-numpy · json-source-map