{"categories":[{"label":"Bio-Informatics","url":"https://skillfed.io/packages/category/scientific-engineering-bio-informatics"}],"enrichment":{"capability":"Converts nested JSON/YAML objects into flat tabular rows suitable for dataframes, spreadsheets, or databases, with the ability to round-trip back to the original structure.","skillfed_tags":["data-transformation","json-processing","tabular-conversion"],"use_cases":["Export nested API responses or document databases to CSV/TSV for analysis in spreadsheets or Pandas.","Prepare hierarchical YAML configuration or data files for indexing in Solr or Lucene.","Convert complex Python objects to flat rows for import into SQL databases without manual schema design.","Denormalize LinkML or other schema-driven data for downstream data science workflows.","Round-trip nested data through tabular formats while preserving the ability to reconstruct the original structure."],"what_it_does":"json-flattener transforms nested JSON, YAML, or JSON-Lines data into flat tabular rows where each top-level key becomes a column. Nested objects are flattened by concatenating keys with underscores (e.g., creator.name becomes creator_name), and lists of objects are converted into parallel lists within cells. The library also supports serializing complex fields as embedded JSON or YAML strings, and can reverse the process to reconstruct the original nested structure from flattened data.\n\nThe primary use case is preparing normalized data models for tools that expect tabular input: Pandas dataframes, Excel, SQL databases, Solr/Lucene indexes, or Unix text processing. It ships with a command-line tool (jfl) for batch operations and can be used programmatically from Python. The package depends only on click and pyyaml, making it lightweight to install.","worth_installing":"Yes, if you need to flatten nested JSON/YAML to tabular format and can tolerate dormant maintenance. The package is stable, has no known vulnerabilities, installs with minimal friction, and solves a specific problem well. However, do not expect active development or bug fixes\u2014evaluate whether the current feature set meets your needs before committing to a dependency."},"id":"json-flattener","links":{"html":"https://skillfed.io/packages/json-flattener","md":"https://skillfed.io/packages/json-flattener.md","pypi":"https://pypi.org/project/json-flattener/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-02-26","license_spdx":null,"license_treatment":"permissive","name":"json-flattener","python_support":"supports_current","summary":"Python library for denormalizing nested dicts or json objects to tables and back"},"popularity":{"monthly_downloads":301821,"position":7831,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.9"}
