Skip to main content

A CLI tool for exploring Python modules and Robot Framework libraries

Project description

RF Explorer

Python Version License Status

PyPI: https://pypi.org/project/lib-explorer/
GitHub: https://github.com/khaledlim/rf-explorer

RF Explorer is an interactive command-line tool to explore Python modules and Robot Framework libraries. It renders readable, syntax-highlighted documentation directly in the terminal using Rich.

Audit Report Preview

RF Explorer Audit Report Preview

Highlights

  • Interactive terminal mode (menu-driven UI with InquirerPy)
  • Direct CLI mode for quick commands
  • Python module exploration: functions, classes, methods, and docstrings
  • Robot Framework library exploration: keywords, arguments, documentation, and examples
  • Installed package listing with filtering
  • Environment scan (Python, Robot Framework, or full)
  • Global Robot keyword search

Installation

pip install lib-explorer

Quick Start

# Interactive mode
rf-explorer

# Help and version
rf-explorer --help
rf-explorer --version

CLI Usage

rf-explorer
rf-explorer --help
rf-explorer --version

rf-explorer python <module> [regex|--all]
rf-explorer robot <library> [regex|--all]

rf-explorer --list
rf-explorer --list --filter <text>

rf-explorer --scan robot
rf-explorer --scan python
rf-explorer --scan --all

rf-explorer --search <keyword-or-regex>

rf-explorer audit --path <folder-path> --all
rf-explorer audit --path <folder-path> --all --export-html report.html
rf-explorer audit --path <folder-path>  --tests --keywords --variables

Examples

Explore a Python module

rf-explorer python requests
rf-explorer python requests get
rf-explorer python requests --all

Explore a Robot Framework library

rf-explorer robot JSONLibrary
rf-explorer robot JSONLibrary Convert
rf-explorer robot JSONLibrary --all

List installed packages

rf-explorer --list
rf-explorer --list --filter py

Scan environment

rf-explorer --scan robot
rf-explorer --scan python
rf-explorer --scan --all

Search Robot keywords globally

rf-explorer --search browser

Audit Robot project content

rf-explorer audit --path <folder-path> --all --export-html report.html
rf-explorer audit --path <folder-path> --all --export-json audit.json
rf-explorer audit --path <folder-path> --all --export-excell export.xlsx

Notes

  • Requires Python 3.9+
  • Works best in a terminal that supports colors

License

MIT (see LICENSE)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lib_explorer-1.1.2.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lib_explorer-1.1.2-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file lib_explorer-1.1.2.tar.gz.

File metadata

  • Download URL: lib_explorer-1.1.2.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for lib_explorer-1.1.2.tar.gz
Algorithm Hash digest
SHA256 9d01d33f411c56bc2aba59b36605397016ba832afb525086348cd84f4af97a19
MD5 558d8e49bb5cd720cfebefda439cceae
BLAKE2b-256 f9f0ffc57d38862b2b0214c2dc5f448b5ab7ddb8c0389baee73a74c2690d28f9

See more details on using hashes here.

File details

Details for the file lib_explorer-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: lib_explorer-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for lib_explorer-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a99de8f7c716d319c3031d43395b240d858266862976948db79305e985a22e0
MD5 8a3c25d04ca05e62e32b27207eea57ec
BLAKE2b-256 e6a0b2d632f9fb9a0249dfcfaef7ecfad31bc1479a00725ab6ae02e1e363fb6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page