niet
A command-line tool to work with YAML, JSON, and TOML files.
Decision gist · record as of 2026-08-14
No. While niet is low-friction to install and has no known vulnerabilities, it is abandoned with no maintenance or security updates forthcoming. For active projects, consider maintained alternatives; for existing scripts already using niet, it remains functional but carries the risk of unpatched issues.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or higher.
- Low install friction with a pure Python wheel and three lightweight dependencies (jmespath, pytoml, pyyaml).
- However, the package is abandoned—last release was 2023-04-21, so no maintenance or security updates are forthcoming.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions; you must include a copy of the license and copyright notice.
last release 2023-04-21 (1211 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 294,806 downloads/mo, #7,940 on PyPI
Alternatives
Verify before relying
pip install niet
echo '{"project": {"name": "my-app"}}' | niet project.name
# Output: my-app
niet project.name /path/to/file.json- Whether jmespath expression support is complete or has known limitations beyond what the description states.
- Whether web resource reading (mentioned in description) is fully functional or has known issues.
- Current status of any open issues or pull requests in the repository.
What it is and what it does
Niet is a shell-friendly command-line tool for reading and querying YAML, JSON, and TOML files. It uses jmespath-style path expressions to extract nested values and supports multiple output formats (JSON, YAML, TOML, eval-safe strings, quoted variants, and delimited lists). You can pipe data from stdin, read from local files, or fetch from web URLs, making it useful for CI pipelines and shell scripts that need to parse configuration or data files without writing custom parsing code.
The tool is designed as a shell equivalent to jq or xmllint but for structured data formats. It can extract single values, filter lists, convert between formats, and output results in formats suitable for shell eval or environment variable assignment. Dependencies are minimal (jmespath, pytoml, pyyaml) and it installs as a pure Python wheel with low friction.
Use it for
- Extract configuration values from YAML or JSON files in CI/CD pipelines and assign them to shell variables.
- Convert YAML configuration to JSON or TOML for use by tools that expect a different format.
- Query nested data structures from stdin in shell one-liners without writing custom parsing scripts.
- Filter and extract list elements from config files with output formatted for shell eval or IFS-based processing.
- Read and parse remote configuration files from web URLs directly in shell scripts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
While niet is low-friction to install and has no known vulnerabilities, it is abandoned with no maintenance or security updates forthcoming. For active projects, consider maintained alternatives; for existing scripts already using niet, it remains functional but carries the risk of unpatched issues.
Install
niet on PyPI
Before you install
Low install friction with a pure Python wheel and three lightweight dependencies (jmespath, pytoml, pyyaml). However, the package is abandoned—last release was 2023-04-21, so no maintenance or security updates are forthcoming.
Requires Python 3.9 or higher.
License in practice
MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions; you must include a copy of the license and copyright notice.
Quickstart
pip install niet
echo '{"project": {"name": "my-app"}}' | niet project.name
# Output: my-app
niet project.name /path/to/file.json
Verify before relying
- Whether jmespath expression support is complete or has known limitations beyond what the description states.
- Whether web resource reading (mentioned in description) is fully functional or has known issues.
- Current status of any open issues or pull requests in the repository.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesjmespathpytomlpyyaml |
| Maintenance | Abandoned 1,211 days since the last release |
| First released | |
| Downloads | 294,806 / month, #7,940 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Utilities |
Evidence: niet-3.2.0-py3-none-any.whl
Tags
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 › “extract data from config files”
- nietA command-line tool that extracts and transforms data from YAML,…
- crossplaneParses NGINX configuration files into JSON and rebuilds them from…
- iniconfiginiconfig parses INI configuration files while preserving section and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also jmespath · parse-errors · shyaml · toml-cli · yq · yamllint · pytest-variables · objectpath · parsel · yamlpath