Skip to main content

ip_object_browser

Using IPython? Did a REST endpoint return 5 MB of JSON data? Can't bother to save the response to a file? Browse it with your keyboard straight from the console!

Usage

In IPython, press <C-T> to browse the last output object (_).

Use vi-like hjkl or arrow keys to navigate.

Press / to begin a textual search. Confirm with enter. Jump to next occurrence with n.

Press <C-C> or q to exit.

Usage from code

from ip_object_browser import view
view({})

Installation

pip install ip-object-browser
cat <<EOF >>~/.ipython/profile_default/ipython_config.py
c = get_config()
c.InteractiveShellApp.exec_lines.append(
    "try:\n    %load_ext ip_object_browser\nexcept ImportError: pass"
)
EOF

Implementation

Based on the urwid library, adapted from the treesample example.

TODO

  • textual search functionality
    • fix jump to previous (N)
  • status line with current path in object
  • path-based navigation
  • output current path on exit

Metadata

Release files for ip-object-browser 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ip-object-browser 0.3.0
File Size Uploaded Provenance Actions
ip_object_browser-0.3.0.tar.gz 7.2 kB Without provenance Details for ip_object_browser-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ip-object-browser 0.3.0
File Interpreter ABI Platform Actions
ip_object_browser-0.3.0-py3-none-any.whl Python 3 none any Details for ip_object_browser-0.3.0-py3-none-any.whl

Total release size: 16.3 kB

Release files / ip_object_browser-0.3.0.tar.gz

Download URL ip_object_browser-0.3.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d510455187ec0f16b1fe0854cc8f6f4aae1f0678f2ad3f9a860fa50829e0708f
BLAKE2b-256 checksum
How to use checksums
dd61335fbde2ee74a9e2da8e7ac6d86858573dd65359b80018b3428cc15a2270
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.7.9 Linux/4.19.72-microsoft-standard+

Release files / ip_object_browser-0.3.0-py3-none-any.whl

Download URL ip_object_browser-0.3.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
131d11355f4288d4ffc76ff121339cb7765c0c4bb9d67d1cb61fed0c1cd6259a
BLAKE2b-256 checksum
How to use checksums
f1b45f195b7390f8413471cff10130acdfdfd3a8bb31426ad46a886c2455f37c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.7.9 Linux/4.19.72-microsoft-standard+

Security for ip-object-browser 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page