diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e0fc4..8f9cbd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [2.0.0] - 2025-02-06 +## [2.0.1] + +### Changed + +- **Redesigned Interactive Playground** with improved UI/UX: + - New top/bottom layout replacing the previous section-based design + - Tab-based navigation for all 7 API functions (`get_at`, `set_at`, `exists_at`, `delete_at`, `get_depth`, `count_leaves`, `get_all_paths`) + - Live stats bar showing data metrics (Depth, Leaves, Paths) in real-time + - Live Python code preview with copy-to-clipboard functionality + - Improved example selector with quick-switch buttons + - Dark-themed JSON editor with syntax validation + - Better responsive design for mobile devices + + +## [2.0.0] ### Breaking Changes @@ -163,6 +177,7 @@ For detailed migration instructions, see the [Migration Guide](https://ysskrishn - Immutable container protection (tuples cannot be modified) - Safe list deletion (requires explicit `allow_list_mutation=True` flag) +[2.0.1]: https://github.com/ysskrishna/nestedutils/compare/v2.0.0...v2.0.1 [2.0.0]: https://github.com/ysskrishna/nestedutils/compare/v1.1.7...v2.0.0 [1.1.7]: https://github.com/ysskrishna/nestedutils/compare/v1.1.6...v1.1.7 [1.1.6]: https://github.com/ysskrishna/nestedutils/compare/v1.1.5...v1.1.6 diff --git a/README.md b/README.md index 56f0bae..1c7fdb8 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ [![PyPI](https://img.shields.io/pypi/v/nestedutils)](https://pypi.org/project/nestedutils/) [![PyPI Downloads](https://static.pepy.tech/personalized-badge/nestedutils?period=total&units=INTERNATIONAL_SYSTEM&left_color=GREY&right_color=BLUE&left_text=downloads)](https://pepy.tech/projects/nestedutils) [![Documentation](https://img.shields.io/badge/docs-ysskrishna.github.io%2Fnestedutils-blue.svg)](https://ysskrishna.github.io/nestedutils/) -[![Interactive Demo](https://img.shields.io/badge/demo-Try%20it%20now!-green.svg)](https://ysskrishna.github.io/nestedutils/demo/) +[![Interactive Playground](https://img.shields.io/badge/demo-Try%20it%20now!-green.svg)](https://ysskrishna.github.io/nestedutils/playground/) The lightweight Python library for safe, simple, dot-notation access to nested dicts and lists. Effortlessly get, set, and delete values deep in your complex JSON, API responses, and config files without verbose error-checking or handling KeyError exceptions. -> 🚀 **Try it interactively in your browser!** Test the library with our [Interactive Demo](https://ysskrishna.github.io/nestedutils/demo/) - no installation required. +> 🚀 **Try it interactively in your browser!** Test the library with our [Interactive Playground](https://ysskrishna.github.io/nestedutils/playground/) - no installation required. ![OG Image](https://raw.githubusercontent.com/ysskrishna/nestedutils/main/media/og.png) @@ -405,5 +405,5 @@ MIT © [Y. Siva Sai Krishna](https://github.com/ysskrishna) - see [LICENSE](http Report Issues • Package on PyPI • Package Documentation • - Package Demo + Package Playground

diff --git a/docs/demo.md b/docs/demo.md deleted file mode 100644 index 2180681..0000000 --- a/docs/demo.md +++ /dev/null @@ -1,853 +0,0 @@ ---- -title: Interactive Demo -description: "Try nestedutils Python library in your browser. No installation required. Test dot-notation access to nested dictionaries and lists. Safely get, set, delete, and check existence of values in complex nested data structures." -keywords: - - interactive demo - - test nested data access - - online nested utils - - try nestedutils - - browser demo - - test dot notation - - validate nested paths - - test get_at set_at - - nested dictionary demo - - nested list demo ---- - -# Interactive Demo - -Try the `nestedutils` library directly in your browser! This page uses [Pyodide](https://pyodide.org/) to run Python in the browser. - - - -
-

Loading Pyodide...

-
-
- - - - - - - - diff --git a/docs/playground.md b/docs/playground.md new file mode 100644 index 0000000..bf9c079 --- /dev/null +++ b/docs/playground.md @@ -0,0 +1,1537 @@ +--- +title: Interactive Demo +description: "Try nestedutils Python library in your browser. No installation required. Test dot-notation access to nested dictionaries and lists. Safely get, set, delete, and check existence of values in complex nested data structures." +keywords: + - interactive demo + - test nested data access + - online nested utils + - try nestedutils + - browser demo + - test dot notation + - validate nested paths + - test get_at set_at + - nested dictionary demo + - nested list demo +--- + +# Interactive Playground + +Try the `nestedutils` library directly in your browser! This page uses [Pyodide](https://pyodide.org/) to run Python in the browser. + +
+
+

Loading Pyodide...

+
+ + + + + + + + diff --git a/mkdocs.yml b/mkdocs.yml index 7de55d2..ef3a316 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -11,7 +11,7 @@ docs_dir: docs nav: - Home: index.md - - Interactive Demo: demo.md + - Interactive Playground: playground.md - API Reference: api-reference.md - Migration Guide (v1 → v2): migration-v1-to-v2.md - Contributing: CONTRIBUTING.md